Hello and welcome to our community! Is this your first visit?
Register
Results 1 to 4 of 4

Thread: CSS help

  1. #1
    Veteran Enthusiast LeadingManNigel's Avatar


    Join Date
    May 2005
    Location
    New York City
    Posts
    6,213

    CSS help

    Code:
    #nav li:after{
    	background : url(../images/bone-end.png) no-repeat;
    	content : "DERP";
    }
    Basically I want this image to appear after every list item but it only appears if I add text and thats a problem. Anyone know of a fix?

  2. #2
    Japanologist Wilio's Avatar

    Join Date
    Dec 2005
    Location
    Somewhere in time
    Posts
    5,561

    Re: CSS help

    What's your syntax in your html file?

  3. #3
    Veteran Enthusiast LeadingManNigel's Avatar


    Join Date
    May 2005
    Location
    New York City
    Posts
    6,213

    Re: CSS help

    div #nav
    ul
    li
    Standard navigation format.

  4. #4
    Veteran Enthusiast Bolt's Avatar


    Join Date
    Mar 2006
    Location
    ctf_Ash, but beating Joel.
    Posts
    9,772

    Re: CSS help

    Try setting a width and height to define what goes in there?


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •