E-mail List Archives
Re: TD, TH, SCOPE
From: Jared Smith
Date: Aug 21, 2012 4:06PM
- Next message: Paul J. Adam: "Re: Using aria-selected=true on any HTML element?"
- Previous message: J. B-Vincent: "Re: Google calendar"
- Next message in Thread: None
- Previous message in Thread: Bourne, Sarah (ITD): "Re: TD, TH, SCOPE"
- View all messages in this Thread
If the developer is using scope to create an "index" for styling
reasons, there are several suitable alternatives. Modern browsers will
support the <col> element (see
http://www.quirksmode.org/css/columns.html) for basic styling.
Additionally, you could use
tr td:first-child {}
styles to style just the first column. Or alternatively just give each
first cell in a row a class name (which is no more complex than adding
the scope attribute).
Jared
- Next message: Paul J. Adam: "Re: Using aria-selected=true on any HTML element?"
- Previous message: J. B-Vincent: "Re: Google calendar"
- Next message in Thread: None
- Previous message in Thread: Bourne, Sarah (ITD): "Re: TD, TH, SCOPE"
- View all messages in this Thread