SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,811
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Dissapearing quote marks

    I have the following code:

    Code:
    <div class="container">
    
    <div class="header"><img src="header.gif" alt="Matters of Fact - Expert research &amp; evaluation solutions /></div>
    
    <div class="main">
    <h1>Heading One</h1>
    <h2>Heading Two</h2>
    <p>Paragraph, the quick brown blah blah ..</p>
    
    <a href="http://www.test.com">Visited link</a> &nbsp;
    <a href="http://www.bol.com">Unvisited link</a>
    <p>&nbsp;</p>
    </div>
    
    <div class="poll">
    <img src="poll.gif" alt="poll" />
    </div>
    
    </div>
    But when viewing source in Mozilla, the following is produced:

    Code:
    <div class="container">
    
    <div class="header"><img src="header.gif" alt="Matters of Fact - Expert research &amp; evaluation solutions /></div>
    
    <div class="main>
    <h1>Heading One</h1>
    <h2>Heading Two</h2>
    <p>Paragraph, the quick brown blah blah ..</p>
    
    <a href="http://www.test.com">Visited link</a> &nbsp;
    <a href="http://www.bol.com">Unvisited link</a>
    <p>&nbsp;</p>
    </div>
    
    <div class="poll">
    <img src="poll.gif" alt="poll" />
    </div>
    
    </div>
    Any idea where me quotes got to???
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  2. #2
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try closing the alt tag form the image on the second line (you should really be using a title tag for that, anyway). I did that & it worked perrrdy well. ;-)

    ~~Ian

  3. #3
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,811
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Doh!!!!

    Ian, I whenever ya need babies....

    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS


Bookmarks

Posting Permissions

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