Green

Markup Niggles

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»

Reader Comments

Russell said on Mon 9 Jun at 16:43:

Why not just use a table? Tableless design doesn’t mean tableless content…

Stephen said on Mon 9 Jun at 17:31:

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.

clscott said on Wed 11 Jun at 14:00:

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

Steve said on Thu 12 Jun at 10:26:

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 :)

Stephen said on Thu 12 Jun at 10:58:

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.

Stephen said on Thu 12 Jun at 11:39:

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


Name:

Email:

URL (optional):

What colour is an orange?:

Comment (comments use Textile formatting):

About This

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.

My hCard

Stephen Stewart
Donaghadee , County Down Northern Ireland

Recent Comments


Recommended Viewing

  • 300rating
    Does exactly what it says on the (comic book) tin. Loved it.
  • Little Miss Sunshinerating
    Very funny, disturbing (the beauty pageant) and completely messed up -- but in a good way.
  • Laputa: Castle in the Skyrating
    Story great, characterization a little on the weak side -- though the big robots are cool.
  • Porco Rossorating
    Stylish, funny, exciting.
  • Grave of the Firefliesrating
    Very sad, which was a little unexpected since I didn't know much about it before watching it. Can be a little too slow in places though, otherwise it's very good.
  • Nausicaä of the Valley of the Windrating
    The story can get a little dense at times what with the various factions, but still really enjoyable, inventive and engaging.
  • X-Men: The Last Standrating
    Opportunity, talent, money - all blown. Over 3 films X-Men has hinted of something great that could have been, this last one says "No, sorry - not going to happen". Bah.

flickr.com


Main Atom Feed, Photoblog Atom Feed, Linkblog Atom Feed, Technorati Profile
Powered by Movable Type 3.34. Design © Stephen Stewart. Happily hosted by Dreamhost.