SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 25th, 2004, 08:48 AM
Ashkhan Ashkhan is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 372 Ashkhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 57 sec
Reputation Power: 2
XHTML and

Hi everybody,

I moved from HTML 4.01 to XHTML 1.1 and everything looks fine. I tried to validate my pages using http://www.w3schools.com/site/site_validate.asp and I got one error:

Line 13, column 113: there is no attribute "name"

Here is the code:

<map name="home" id="home">
<area shape="rect" coords="38,4,433,58" href="index.php" alt="Go home" />
</map>

The mentioned attribute is bolded. If I remove the name the link becomes inactive. Why?
Is there a different definition in XHTML for map tag?


Reply With Quote
  #2  
Old March 31st, 2004, 03:36 PM
Ashkhan Ashkhan is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 372 Ashkhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 57 sec
Reputation Power: 2
RE: XHTML and

Can anybody post here working and valid code for dividing an image to maps in XHTML 1.1?
I still didn't find answer. Perhaps it is too early to use XHTML 1.1?

Reply With Quote
  #3  
Old March 31st, 2004, 03:59 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
RE: XHTML and

XHTML 1.0 deprecated the "name" attribute: http://www.w3.org/TR/xhtml1/#h-4.10

For an interesting way to do image maps through CSS, look at this ALA article.

Reply With Quote
  #4  
Old April 1st, 2004, 07:03 AM
Ashkhan Ashkhan is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 372 Ashkhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 57 sec
Reputation Power: 2
RE: XHTML and

Thanks for the links.

Discussion following the article suggest not to use areas and maps at all. And I see that CSS offers nice work-arounds for this. OTOH the maps should be working in XHTML 1.1 in current browsers because the standard supports them. However, it doesn't work... Not a big problem for me but it is ridiculous.

Reply With Quote
  #5  
Old April 1st, 2004, 11:58 AM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
RE: XHTML and

All of our lives would be a lot easier if browsers accurately supported standards. Unfortunately, the effective standard is dictated by whatever browser your users use - and that's about a 90% chance of being IE.

Reply With Quote
  #6  
Old April 1st, 2004, 06:05 PM
Ashkhan Ashkhan is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 372 Ashkhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 57 sec
Reputation Power: 2
RE: RE: XHTML and

Quote:
- and that's about a 90% chance of being IE.


And everyone wonders why

I agree with you. Standards differ among browsers but this didn't work in Mozilla 1.4, Firefox, Firebird, IE and both on win and linux platform so that it is common problem.
At last I left the image map out.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > XHTML and


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway