Miscellaneous > Programming & Networking
quick html query
jasonlane:
--- Code: ---
--- End code ---
Sorry guys but that wont be valid, left and right margin & marginwidth have to be expressed as CSS not as Markup attributes, try validating on W3C
--- Code: ---
--- End code ---
(will produc a 20px top margin) OR
--- Code: ---
--- End code ---
OR Even!
--- Code: ---
--- End code ---
All in the interests of standards and rightness, not trying to flame
Refalm:
I've put my beta page through W3C's validator, and I must say it's HTML 4.01 compliant. I'd never do it in XHTML though, it's just... ehm... kinda strange to me. CSS and PHP (HTML 4.01 compliant) is what I use on my beta homepage, and it works great.
xyle_one:
i didn't valiadate mine. Margin tags were the first thing to come to mind
Next time though.. you can be sure i will run it through the validator.
jasonlane:
quote:Originally posted by Refalm:
I've put my beta page through W3C's validator, and I must say it's HTML 4.01 compliant. I'd never do it in XHTML though, it's just... ehm... kinda strange to me. CSS and PHP (HTML 4.01 compliant) is what I use on my beta homepage, and it works great.
--- End quote ---
But XHMTL is so much better Refalm, divisions of concerns and all that. At then end of the day it's what ever you feel comfortable with ;)
Navigation
[0] Message Index
[*] Previous page
Go to full version