PDA

View Full Version : CSS Help


tommyxv
16 Jun 2006, 01:01
How do I get this CSS navbar to be centered on the page. Here is the current code...



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



http://www.photopost.com/photopost/data/500/testcss.gif

Freesteyelz
16 Jun 2006, 01:39
I didn't do much to the code but replace this block:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

tommyxv
16 Jun 2006, 02:07
That got it centered, but i lost the padding for txt. The text is sitting on the bottom now. :(

Thanks for the help.

Freesteyelz
16 Jun 2006, 02:45
For the text you can always do:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And add back the following:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That should fix it. :)