Sent by Eric A. Meyer on 19 December 2002 22:10
At 17:00 -0500 12/19/02, Jim McIntyre wrote:
>(ducking the barrage of rotten tomatoes for use of tables...)
Don't worry. A calendar typically IS a table, to putting it into
a table element makes a whole lot of sense. Yes, there are CSS ways
to do the same thing, but we're about practical uses of CSS here, and
this qualifies. (I like your calendar styles, too.)
>http://ws100.jdgcommunications.com/validate/iac/calendar.html
>
> .calWeek > TD:first-child
> {
> border-left: 1px black solid;
> }
>
>It shows up OK on my Mac browsers (IE 5.1, Netscape 6/7) but on
>Windows IE 6.x that particular border is missing. Can anyone suggest
>why?
Because IE/Win doesn't support the :first-child pseudo-class. See
<http://www.westciv.com/style_master/academy/browser_support/selectors
.html> for more information. Meantime, you could drop the above rule
and add a black left border to the 'table' element itself, thus
filling in the missing border. It would extend up to the top of the
tab, but that might not be a bad effect.
>Also, can anyone explain why the table cells are showing up
>different sizes across browsers/platforms? Could the voice-family
>hack help with that?
I suspect so, but I'm never quite sure how browsers are going to
handle table cells when it comes to layout.
--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff (http://www.mako4css.com/)