Support » Fixing WordPress » CSS Borders & BG not showing

  • Hi all –

    To sum up, my sidebar isn’t listening to the CSS when it comes to backgrounds & borders. I can control font size and padding for all elements but not, as I said, background colors or borders.

    Strangely, these same items can be controlled in the main cotent area.

    Anyone have suggestions?

    li a border-bottom:solid 1px #fff

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry – also should clarify that this is only happening on PC IE.

    What’s the URL to the site?

    Try a few things; first, even though it is redundant, try making the CSS for the link like this – li a:link { border-bottom:solid 1px #fff; }

    I’m assuming you had the brackets and semi-colon in your code, just didn’t put it in your post; if not, well, try those first, if that doesn’t work, add the :link after the a, and see what happens.

    Now, something else that might be happening is that somewhere else in your CSS you have the link (a) not using borders, and it is overriding the code you have above; try putting your sidebar in a div with a specific id, or the li a in a specific class – like so: #sidebar li a {border-bottom:solid 1px #fff; } that’s naming the code for a specific id of sidebar … see what happens … if you have a link it would help …

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS Borders & BG not showing’ is closed to new replies.