Click to See Complete Forum and Search --> : Replacing attribute with CSS


Mr Initial Man
10-29-2005, 05:50 AM
The start tag is <ht id="tag" colspan="2"> What CSS rule could I use to replace colspan="2"?

Charles
10-29-2005, 05:59 AM
There is none. Just use the attribute. Not only is it permissible, but all TH elements alread have one set. All you're doing is overriding its value.<!ATTLIST (TH|TD) -- header or data cell --
%attrs; -- %coreattrs, %i18n, %events --
abbr %Text; #IMPLIED -- abbreviation for header cell --
axis CDATA #IMPLIED -- comma-separated list of related headers--
headers IDREFS #IMPLIED -- list of id's for header cells --
scope %Scope; #IMPLIED -- scope covered by header cells --
rowspan NUMBER 1 -- number of rows spanned by cell --
colspan NUMBER 1 -- number of cols spanned by cell --
%cellhalign; -- horizontal alignment in cells --
%cellvalign; -- vertical alignment in cells --
>

Mr Initial Man
10-29-2005, 10:05 PM
Thank you. :)