PDA

View Full Version : CSS Nav Help


wyclef
07-13-2005, 05:03 PM
Hello,

Can someone take a look at this CSS Nav i'm working on and see if i've overcomplicated things? It seems alright in Firefox although it's a mess in other browsers and the hit area is always off centered for certain buttons. The whole thing is kind of a mess. I'd really appreciate suggestions on how I can tighten this up into something much more stable.

acolyte
07-22-2005, 01:24 PM
Hello Wyclef seems that you need to fix you Bkgr-position with

background-position:absolute;

in each entry

also some browser dont like the space between the collon and the value.
So it sould everytime be :


#menu {
width:162px;
height:215px;
margin:0;
padding:0;
background:url(nav.gif)no-repeat 0 35px;
}


for example my codeblocks look like :

body
{
background-image:url('../media/bg_seite.gif');
background-position:bottom left;
background-repeat:no-repeat;
background-attachment:fixed;
line-spacing:18px;
text-align: center;
padding-bottom:30px;
padding-top:30px;
z-index:0;

}

wyclef
07-22-2005, 06:14 PM
which browsers don't like space after the colon?