Stupid CSS question

Discussion in 'CSS' started by phelixx, Dec 11, 2007.

  1. #1
    Sorry guys im old school and used to making everything with tables. Im working on trying to learn how to make everything with div and css.

    http://www.mindimage.net/projects/dantooker/

    this is the site im working on and i can't for the life of me figure out where those spaces between those images in the top nav are coming from. Could anyone please help me? thanks
     
    phelixx, Dec 11, 2007 IP
  2. EIx

    EIx Peon

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    this is a HTML mistake.

    try
    <div id="top_nav">
    <img id="navleft" alt="Dan Tooker Left Nav" src="images/dtnavleft.gif"/><img id="home" alt="Dan Tooker Home" src="images/home-on.gif"/><img id="bio" alt="Dan Tooker Bio" src="images/bio-on.gif"/><img id="contests" alt="Dan Tooker Contests" src="images/contests-on.gif"/><img id="contact" alt="Dan Tooker Contact" src="images/contact-on.gif"/><img id="gallery" alt="Dan Tooker Gallery" src="images/gallery-on.gif"/><img id="show" alt="Dan Tooker Show Guests" src="images/show-on.gif"/><img id="navright" alt="Dan Tooker Right Nav" src="images/dt_24.gif"/>
    </div>


    if you want css design, please use <li>
    dont slice image and put text as link


    TRY TO SEARCH "CSS Menu Tutorial" and learn how to do.:)
     
    EIx, Dec 11, 2007 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i dont even see any spaces ??? did you fix it?
     
    Stomme poes, Dec 12, 2007 IP
  4. linkstraffic

    linkstraffic Well-Known Member

    Messages:
    388
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    133
    #4
    img{display:block}
     
    linkstraffic, Dec 12, 2007 IP