vijay Posted February 2, 2008 Share Posted February 2, 2008 Hi.. In html page am writing the code for spacer as following.. w3c validator indicate me err.. for all 3 things.. there is no attribute "TYPE". there is no attribute "HEIGHT". element "SPACER" undefined. So may I know where I have to spcify this tag so I wont get any err. have also try via creating table and putup in to between <td> still not get any luck w/o that tag.. m not getting any err. guide me... Regards,Vijay <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></head><body><spacer type="vertical" height="4"></spacer></body></html> Link to comment Share on other sites More sharing options...
Synook Posted February 2, 2008 Share Posted February 2, 2008 Never heard of the spacer element - use <div style="height:4px; "></div> Link to comment Share on other sites More sharing options...
vijay Posted February 7, 2008 Author Share Posted February 7, 2008 Hi .. there is tag named '<spacer>' for that refer the following link: http://www.abiglime.com/webmaster/referenc...tags/spacer.htmRegards,Vijay Link to comment Share on other sites More sharing options...
Synook Posted February 7, 2008 Share Posted February 7, 2008 That may be so, but the <spacer> element was only ever supported by Netscape, does not appear in any HTML DTD, and is completely deprecated now. What is wrong with divs and CSS? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.