Jump to content

Recommended Posts

Posted

OK i stripped it back went to a fresh css and added the code i needed and figured it out :)

I had made a copy of the topnav css and called it topnav2 then told the new menu to use that, but 2 elements of the code....

#topNav ul
{
margin: 0;
padding: 0;
list-style: none;
margin: 0 auto;
}

#topNav ul li
{
height: 27px;
float: left;
padding: 0px;
background: url(images/navbg.jpg) repeat-x 0 0 #292929;
font: bold 12px/27px Arial, Helvetica, sans-serif;
}

Weren't needed and thats what was throwing the whole layout off :)

Thanks again for the help Nabeel

  • Administrators
Posted

Ahh gotcha. If you're doing the skin from ground up, alot of the CSS can be done away with, or just start from scratch. Some of the essential styles are in the /lib/css/phpvms.css file.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...