www.webdeveloper.com
Results 1 to 5 of 5

Thread: Row of Images wont...

  1. #1
    Join Date
    Mar 2006
    Posts
    17

    Row of Images wont...

    (THIS IS HOW IT SHOULD LOOK - CLICKY) - this is not coded by me, it was Photoshop sliced so I could code it myself in XHTML/CSS

    Why do the images that make up the nav bar screwed up? It should be two lines of images

    http://www.inmotionmedia.co.uk/templ...aming/1/final/

    Page Code:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>GamingSite.com - Your No.1 Gaming Source</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <META NAME="DESCRIPTION" CONTENT="Gaming">
    <link rel="stylesheet" type="text/css" href="style/standard.css" />
    </head>
    
    <body>
    <div id="logorow" align="center"><img src="images/logo.gif" /></div>
    <div id="navrow"><img src="images/nav_left.gif" /><img src="images/navsep.gif" /><img src="images/nav_home.gif" /><img src="images/navsep.gif" /><img src="images/nav_forums.gif" /><img src="images/navsep.gif" /><img src="images/nav_contact.gif" /><img src="images/navsep.gif" /><img src="images/nav_about.gif" /><img src="images/navsep.gif" /><img src="images/nav_downloads.gif" /><img src="images/navsep.gif"><img src="images/nav_right.gif" /><br />
    <img src="images/nav_grad_left.gif" /><img src="images/nav_grad_home.gif" /><img src="images/nav_grad_forums.gif" /><img src="images/nav_grad_contact.gif" /><img src="images/nav_grad_about.gif" /><img src="images/nav_grad_downloads.gif" /></div>
    </body>
    
    </html>
    CSS:
    Code:
    body { background-color:#D1D1D1; margin-top: 2px; margin-left: 0px; margin-right: 2px }
    
    #logorow { width: 800px; height: 76px; margin-left: auto; margin-right: auto; }
    #navrow { margin-left: auto; margin-right: auto; width: 800px;  }

  2. #2
    Join Date
    Mar 2006
    Posts
    17
    since I posted i've fixed the meta tag and added all the alt tags to images. It is not valid XHTML

  3. #3
    Join Date
    Jun 2006
    Posts
    22
    I would suggest (since this is only text) that you use a li and css to make this horizontal nav. All the seperators can be done with borders. It will be more readable and load faster.

    Heres a straight forward tutorial on how to do it.
    http://phoenity.com/newtedge/horizontal_nav/

  4. #4
    Join Date
    Mar 2006
    Posts
    17
    The text is part of the image though

  5. #5
    Join Date
    Mar 2006
    Posts
    17
    topic no longer needed, was due to poor photoshop slicing

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles