css help please
- Started
- Last post
- 6 Responses
- pylon0
Try putting your anchors inside your <li> tags.
- harmsie0
this is of no use at all, but I like it more without the background images
- harmsie0
looking again I suspect pylon has the answer there
- matt310
I think the anchors might be the answer, if not, your...
#subNavList li
has a padding top of 5px which might be adding to that top space. also, you are using display as block for that li - it's always good to define a height and width when you use display: block - then set you line-height to the same as your height and the text will auto center vertically. like this:
#subNavList li {
display: block:
width: 100px;
height: 30px;
line-height: 30px;
}
- bartosz0
thank you for pointing that out. i totally overlooked that.
and i agree, i like it without the background images as well, but i've got no say on the design for this one :S
- harmsie0
convince them for the betterment of society that it looks nicer without.