Results 1 to 13 of 13
  1. #1
    Join Date
    Jan 2005
    Location
    North-East, Indiana
    Posts
    417

    XHTML Check failed!

    Line 71, Column 67: required attribute "alt" not specified.

    /recent.jpg" width="50" height="50" /> <img src="images/recent.jpg" width="50



    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.




    this is my code!

    HTML Code:
    <ul>	
              <li><img src="images/recent.jpg" width="50" height="50" /> <img src="images/recent.jpg" width="50" height="50" /> <img src="images/recent.jpg" width="50" height="50" /></li>
              <li><img src="images/recent.jpg" width="50" height="50" /> <img src="images/recent.jpg" width="50" height="50" /> <img src="images/recent.jpg" width="50" height="50" /></li>
              </ul>

  2. #2
    Join Date
    Dec 2007
    Location
    Michigan
    Posts
    286
    So add


    alt=""
    to each image tag that doesn't have one...
    Nexcess - Magento and Wordpress Hosting Specialists!

  3. #3
    Join Date
    Jan 2005
    Location
    North-East, Indiana
    Posts
    417
    Wow, I think I just earned my noob rank back lol I learned that mistake a long long time ago lol!

  4. #4
    Join Date
    Dec 2007
    Location
    Michigan
    Posts
    286
    Be glad it's an easy fix!
    Nexcess - Magento and Wordpress Hosting Specialists!

  5. #5
    Join Date
    Dec 2007
    Location
    Aberdeen, Scotland.
    Posts
    178
    All HTML and css are easy fixes.

  6. #6
    Join Date
    Jan 2005
    Location
    North-East, Indiana
    Posts
    417
    speaking of easy stuff in CSS

    how do I get something like this...

    http://www.brettnyquist.com/images/website.png

    to float on the complete top left, like above all other layers?

  7. #7
    Join Date
    Aug 2005
    Location
    Barcelona, Spain
    Posts
    3,397
    in your CSS, add

    .that_image {position: absolute; top: 0; left; 0; z-index: 999;}


    and then in your HTML, just below your <body> tag add


    <img src="/link/to/image.jpg" alt="" class="that_image" />
    hi there!

  8. #8
    Join Date
    Jan 2005
    Location
    North-East, Indiana
    Posts
    417
    What's the z-index do btw? Just out of curiosity...

  9. #9
    Join Date
    Mar 2008
    Location
    Poland
    Posts
    15
    z-index is something like Layer order in Photoshop ... higher number, the higher the layer is and everything with lower number will be under it

  10. #10
    Join Date
    Jan 2005
    Location
    North-East, Indiana
    Posts
    417
    HTML Code:
    <body>
    <img src="images/topleft.gif" alt="" class="top_left_image" />
    my css is

    .top_left_image {position: absolute; top: 0; left: 0; z-index: 999;}

    my outcome is

    http://icandydesigns.net/

    ...............................................

    I thought it could be bc of the body... so then I put it at the full top and all the way at the bottom, both dot he same thing.

  11. #11
    Join Date
    Mar 2008
    Location
    Poland
    Posts
    15
    But when I make view->source, I see tkat You have this image bellow everything in code ... even under html ...

    http://img132.imageshack.us/img132/1891/psdtytswn8.png

    Place it under body like on example in quotes ...

  12. #12
    Join Date
    Jan 2005
    Location
    North-East, Indiana
    Posts
    417
    I originally put it under the body, as seen in the quotes, then I told you I tried at the top and at the bottom... and nothing was solved.

  13. #13
    Join Date
    Aug 2005
    Location
    Barcelona, Spain
    Posts
    3,397
    your body seems to have a fixed width. That's bad. Remove the width of the body.
    hi 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
  •