Creating valid markup is one thing, maintaining it as valid is quite another. I'm constantly posting dodgey URLs and image tags in MT, not thinking of it as part of the HTML of this site, which foobars any validation that an interested observer might investigate.
I'm about to try and figure out how to draw a table in CSS, because tableless design doesn't mean you won't need a table...
Aslo trying to come up with a winning argument against JT's 'build it any old how - just make it work' theory, but I think I'll have to leave that to the smart people.
And I hope Steve finds the right book on Irish history.
«6 CommentsJune 9, MMIII»
You've arrived at the homepage of Stephen Stewart. The archive is available here for those who want it. This site is happily hosted by Dreamhost. Click for more?
More!? OK then, but I can't help feeling that this will be a disappointment to you.
I work as a web designer in Belfast, and I live by the sea in a shoe. You can see me here, doing my livejournal pose as idoru called it. If you need to you can email me at carisenda -at- gmail -dot- com.
Why not just use a table? Tableless design doesn’t mean tableless content…
Because the table wouldn’t be valid for the type of markup I want to use, XHTML. I want the page to be readable as XML as well as HTML.
I think that’s what I want anyway.
use xhtml table markup
http://www.vbxml.com/xhtml/articles/xhtml_tables/
The middle of the page has a valid xhtml table complete with thead,tfoot and tbody sectionds
I’m a tad puzzled. Tables are perfectly valid in xhtml. It’s just that they should be used for tabular data. According the W3C “XHTML documents are XML conforming. As such, they are readily viewed, edited, and validated with standard XML tools”. So your job is done.
I’m sure it’s not this easy but if you want help we need more information :)
Cool, there’s a piece of missinformation disspelled. I thought tables were invalid in XHTML strict. Silly me.
What I’m trying to learn though is how to do tables in CSS:
FOO { display : table }
BAR { display : table-cell }
So that they can be used in XML applications that don’t know about HTML tables.
Apparently it’s as simple as that…
FOO { display : table }
BAR { display : table-cell }
Note to self: Don’t post until you’ve at least done a little research.
http://www.w3.org/TR/REC-CSS2/tables.html#q2