Stop Microsoft
Miscellaneous => Programming & Networking => Topic started by: Calum on 12 June 2003, 22:20
-
in the following, i want the table to line up against the left edge of the page, in the same way as the heading does, but it won't no matter what tags i put around it.
anybody know how to do this?
thanks in advance etc
-
If you set border to 1 you'll see that the table is actually lining up against the side. It's just that the column headers are centered.
-
flap's right Calum. Just set the border value to "1" and you'll see that the table is actually aligned against the left edge of the page.
-
was this more or less what you had in mind?
Or is there a reason you would not want the title as part of the table?
-
to get the table to sit on the edge, i added margin tags-
[ June 14, 2003: Message edited by: ecsyle ]
[ June 14, 2003: Message edited by: ecsyle ]
-
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
(will produc a 20px top margin) OR
OR Even!
All in the interests of standards and rightness, not trying to flame (http://tongue.gif)
-
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.
-
i didn't valiadate mine. Margin tags were the first thing to come to mind (http://tongue.gif)
Next time though.. you can be sure i will run it through the validator.
-
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.
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 ;)