WordPress.org

Ready to get started?Download WordPress

Forums

CSS Borders & BG not showing (4 posts)

  1. michelek
    Member
    Posted 7 years ago #

    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?
    Thanks
    michelek

    li a border-bottom:solid 1px #fff

  2. michelek
    Member
    Posted 7 years ago #

    Sorry - also should clarify that this is only happening on PC IE.
    Thanks,
    M

  3. skulled
    Member
    Posted 7 years ago #

    What's the URL to the site?

  4. drobbins
    Member
    Posted 7 years ago #

    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 ...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.