Support » Themes and Templates » Getting rid of an ugly white line

Getting rid of an ugly white line

Viewing 11 replies - 1 through 11 (of 11 total)
  • Anybody?

    The lines are specified in the style sheet. The line under the date is from the “border-bottom” in the .time style. Not sure where the lines for then menu items are specified. Poke around.

    Okay, thanks. Got rid of that one line. And I think I’ve found the code that impacts the lines under the menu items, but when I change it to “hidden” or “0px 0px 0px 0px” the spacing between each item goes haywire. Here’s the code:

    .navi li {
    border: solid;
    border-width: 0px 0px 1px 0px;
    margin-bottom: 0px;

    That 1px is the line, but if I do anything to that border it really makes the menu items spacing look terrible. Any ideas?

    Try setting the border-color to the same as the background.

    Thanks. Tried it and it does the same thing to the spacing that making it hidden or 0px does. Any other ideas I can try?

    The layout problem does not occur in Firefox, only IE, which suggests it’s an IE bug (big surprise). Notice the spacing between “Register” and “Login” is tighter than the others? Those two li tags are on a single line. A browser is supposed to ignore whitespace (which includes line breaks), but I know of a line-break bug in IE than can screw things up.

    This probably won’t fix it, but see what happens when you remove “line-height: 12px;” from the style for div.navi.

    BTW, don’t forget to hold the shift key and click the page reload button to force IE to redraw the page from scratch, otherwise your changes won’t get updated.

    Actually, looking at the code, Register doesn’t have an Li tag, but I’m a newb and might be way off on this. So register doesn’t have li around it and the spacing is fine.

    What does this mean? How can I correct this?

    I looked at it, Register does have the li tag.

    I think one of the problems is the theme you started with looks like an “old-style” one designed for wordpress 1.x. You might be better off starting over with a more modern theme.

    A good place to look is http://themes.wordpress.net/

    I think “register” is part of the meta stuff, which gets li tags thrown from core….

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Getting rid of an ugly white line’ is closed to new replies.