metawidget (
metawidget) wrote in
dw_dev_training2011-05-04 11:17 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
CSS and markup conventions?
I'm tweaking some CSS for a site widget, and found myself wondering if we have any conventions dealing with the burning questions of CSS, like absolute versus relative lengths and when it's appropriate to use a table for layout purposes. Is there a guide somewhere, or should we just try to blend with nearby code and make things work any way we can?
no subject
Tables-for-layout: don't. Tables-for-tabular-data: okay, but be sure to use <th> and labels.
(Most of these are less CSS guidelines and more accessibility guidelines, actually. We don't have an official style guide for it, but we should.)