hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : xhtml validation help
Reply

Forum Jump

xhtml validation help

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-25-2005, 07:40 PM
xcoredotnet xcoredotnet is offline
Newbie
 
Join Date: Dec 2002
Location: east coast, usa
Posts: 5

xhtml validation help


Quick html question too...

All my pages are valid xhtml except my portfolio page because of the amount of repeated divs. I get these warnings.

Quote:
Line 34, character 11:
<div id="leftport"><img src="assets/2006/thumbs/nc001.gif" ...
^Error: ID leftport already defined

Line 25, character 12:
<div id="leftport"><img src="assets/2006/thumbs/jn001.gif" ...
^ID leftport first defined here

Line 35, character 12:
<div id="rightport">Nelsco Mockups (Nov. 2005)<br />
^Error: ID rightport already defined

Line 26, character 12:
<div id="rightport">Jettison Never (Nov. 2005)<br />
^ID rightport first defined here

Line 42, character 12:
<div id="leftport"><img src="assets/2006/thumbs/bs001.gif" ...
^Error: ID leftport already defined

Line 25, character 12:
<div id="leftport"><img src="assets/2006/thumbs/jn001.gif" ...
^ID leftport first defined here

Line 43, character 12:
<div id="rightport">Browsingsafely (Nov. 2005)<br />
^Error: ID rightport already defined

Line 26, character 12:
<div id="rightport">Jettison Never (Nov. 2005)<br />
^ID rightport first defined here

Line 50, character 12:
<div id="leftport"><img src="assets/2006/thumbs/as001.gif" ...
^Error: ID leftport already defined

Line 25, character 12:
<div id="leftport"><img src="assets/2006/thumbs/jn001.gif" ...
^ID leftport first defined here

Line 51, character 12:
<div id="rightport">Astereo Promo (Nov. 2005)<br />
^Error: ID rightport already defined

Line 26, character 12:
<div id="rightport">Jettison Never (Nov. 2005)<br />
^ID rightport first defined here
Part of page html causing problem...

Quote:
<div id="leftport"><img src="assets/2006/thumbs/jn001.gif" alt="JN 1" width="116" height="85" /> <img src="assets/2006/thumbs/jn002.gif" alt="JN 2" width="116" height="85" /> <img src="assets/2006/thumbs/jn003.gif" alt="JN 3" width="116" height="85" /></div>
<div id="rightport">Jettison Never (Nov. 2005)<br />
<span class="style1">Completed in a week, a mostly css design for an indie band.
<span class="style2">Valid CSS</span> / <span class="style2">Full Site Design</span><br />
<a href="#" class="style9" onclick="MyWindow=window.open('review.html','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=32 5,height=400'); return false;">Read Review</a> / <a href="http://www.jettisonnever.com" target="_blank">Launch
Site</a> / <a href="javascript:popup('assets/2006/full/fs001.gif',505,405);">View Screenshot</a> </span> </div>

<div style="clear:both;" ></div>

<div id="leftport"><img src="assets/2006/thumbs/nc001.gif" alt="NC Mockup" width="116" height="85" /> <img src="assets/2006/thumbs/nc002.gif" alt="Nc Mockup 2" width="116" height="85" /> <img src="assets/2006/thumbs/nc003.gif" alt="N/A" width="116" height="85" /></div>
<div id="rightport">Nelsco Mockups (Nov. 2005)<br />
<span class="style1">Logo and Design mockups. Not used.<br />
</span><span class="style2 style1">Logo</span><span class="style1"> / </span><span class="style2 style1">Design</span><br />
<span class="style1"><a href="javascript:popup('assets/2006/full/nc001.gif',505,405);">View Screenshot</a></span></div>

<div style="clear:both;" ></div>

<div id="leftport"><img src="assets/2006/thumbs/bs001.gif" alt="BS 001" width="116" height="85" /> <img src="assets/2006/thumbs/bs002.gif" alt="BS 002" width="116" height="85" /> <img src="assets/2006/thumbs/nc003.gif" alt="N/A" width="116" height="85" /></div>
<div id="rightport">Browsingsafely (Nov. 2005)<br />
<span class="style1">Completed in under a week. Requested it had the same setup as astereo.
<span class="style2">Valid XHTML &amp; CSS</span> / <span class="style2">Index &amp; Sub Pg</span><br />
<a href="http://www.browsingsafely.com" target="_blank">Launch Site</a> / <a href="javascript:popup('assets/2006/full/bs001.gif',505,405);">View Screenshot</a></span> </div>

<div style="clear:both;" ></div>

<div id="leftport"><img src="assets/2006/thumbs/as001.gif" alt="ASP 1" width="116" height="85" /> <img src="assets/2006/thumbs/as002.gif" alt="ASP 2" width="116" height="85" /> <img src="assets/2006/thumbs/as003.gif" alt="ASP 3" width="116" height="85" /></div>
<div id="rightport">Astereo Promo (Nov. 2005)<br />
<span class="style1">Promo image for astereo first birthday this January.
<span class="style2">Graphic</span> / <a href="javascript:popup('assets/2006/full/as001.gif',505,405);">View Image</a></span> </div>

<div style="clear:both;" ></div>
Any ideas?
regards



Sponsored Links
  #2  
Old 11-25-2005, 07:42 PM
the_pm the_pm is offline
Retired Moderator
 
Join Date: May 2004
Location: Pflugerville, TX
Posts: 11,222
IDs can only be used once per page. An ID is always unique on a page. You'll need to change those IDs to classes.

__________________
Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design

  #3  
Old 11-25-2005, 07:49 PM
xcoredotnet xcoredotnet is offline
Newbie
 
Join Date: Dec 2002
Location: east coast, usa
Posts: 5
bah, stupid mistake. All cleared up now . Thanks for the help the_pm!

Sponsored Links
  #4  
Old 11-25-2005, 08:26 PM
the_pm the_pm is offline
Retired Moderator
 
Join Date: May 2004
Location: Pflugerville, TX
Posts: 11,222
No problem

__________________
Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design

Reply

Related posts from TheWhir.com
Title Type Date Posted
As STARTTLS Adoption Grows, Facebook Reports Huge Jump in Encrypted Notification Emails Web Hosting News 2014-08-20 14:01:32
Microsoft Validates Parallels Hypervisor Under its Server Virtualization Validation Program Web Hosting News 2013-12-20 11:44:13
SSLGURU Listing 2014-09-20 20:42:31
The Host Group Launches Updated Line of SSL Certificate Options Web Hosting News 2013-06-24 10:14:16
10gen Launches Partner Program to Accelerate Demand for MongoDB Web Hosting News 2013-03-12 14:28:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?