I would like to ask for your help regarding CSS (remember you helped me wayback about my questions?). Here's my problem, please have a look at this code:
Now, I wanted the
[*]'s to align horizontally and on each id in it i have an image (so people will click on the image instead of just the words). Here's the CSS:
#navbar {
height: 65px;
width: 819px;
display: block;
}
#navbar ul li {
list-style-type: none;
display: inline;
}
#join {
left: 0;
top: 0;
position: relative;
display: block;
height: 65px;
width: 289px;
background-repeat: no-repeat;
background-image: url(../images/join.jpg);
}
#bookmark {
bottom: 65px;
position: relative;
display: block;
left: 289px;
background-repeat: no-repeat;
height: 65px;
width: 240px;
background-image: url(../images/bookmark.jpg);
}
#members {
bottom: 130px;
display: block;
position: relative;
right: -529px;
height: 65px;
width: 290px;
background-image: url(../images/members.jpg);
background-repeat: no-repeat;
}
So, giving my navbar ul li a display:inline attribute aligns the texts horizontally, but when I apply a background image on each li (text links), it aligns the images vertically. So what I did on each background image is i positioned them. this works on safari and firefox, but when I look at IE6, it still shows the total height the images occupied when they were aligned vertically, thus giving it an invisible margin below.
Please help me.
Thanks!
Aqua-Soft Forums
