Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted on Dev.Opera.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By cheshrkat anchor Friday, 26. September 2008, 06:37:02

33: Styling tables

Styling tables is the subject of this article, covering aligning text, sensible usage of borders and padding, Internet Explorer fixes, Zebra striping, uneven columns, and more.

( Read the article )

By AndBre anchor Friday, 30. January 2009, 18:03:52

avatar"Firefox and and Safari"

By chrismills O anchor Friday, 30. January 2009, 19:39:31

avatar

Originally posted by AndBre:

Firefox and and Safari



Fixed - cheers!

By AndBre anchor Saturday, 31. January 2009, 11:26:16

avatarAccording to CSS 2.1 Specification:
1. "border-spacing" property applies to 'table' and 'inline-table' elements
2. "border-collapse" property applies to 'table' and 'inline-table' elements
3. "caption-side" property applies to 'table-caption' elements and the possible values are top | bottom | inherit
So, the examples in the downloadable file are fine (well, the caption-side property applied to table elements does not comply with the spec but it works for my browsers); the examples in the articles are not fine (border-spacing and border-collapse properties applied to th, td elements don't comply with the spec and don't work for my browsers).

"The options are top, bottom, left and right": "left" and "right" are not allowed for "caption-side" property (see above).

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom