|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#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? |
|
#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. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||
|
|||
|
RE: RE: XHTML and
Quote:
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. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > XHTML and |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|