nitpicking marginheight=0

For technical support for all editions of CSE HTML Validator. Includes bug reports.

nitpicking marginheight=0

Postby roedygr » Tue Jan 05, 2010 2:18 pm

Dreamweaver complains that marginheight=0 and marginwidth=0 is oddly illegal. HTMLValidator says it is ok.
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 242
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Re: nitpicking marginheight=0

Postby Albert Wiersch » Tue Jan 05, 2010 3:48 pm

Interesting. According to HTML 4.01, it must be greater than zero:
http://www.w3.org/TR/html401/present/fr ... edef-FRAME

However, is there a problem with real-world browsers and a zero value? Should CSE HTML Validator "complain" about marginwidth or marginheight being 0 as a "real-world" issue? I am not aware of this being a real-world issue, but if it is, then please let me know and I can address it.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE Tech Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron