On 10/10/11 2:28 PM, Angela French wrote:
I tried colgroup, but that didn't work.  I suspect that my css is
overriding the html, right?  So I added this to my style sheet, but
it didn't work.

table.RunningStart colgroup.center {
text-align:center;
}

Here is a link where I tried to apply this to the first table on the
page: http://sbctc.edu/college/_g-barmentor.aspx  .  I am trying to
center the 1st and 4th columns.

Sure.  You can define<colgroup>  for formatting.  You can try this
link for a quick over-view:

<http://www.w3schools.com/tags/tag_colgroup.asp>



As Jukka ("Yukka") said, <col> and <colgroup> do not work well across
browser-land, and only supposed to support a few CSS properties anyway.
There is an HTML attribute "align" as Jukka says - but according to the
SitePoint Reference even this is only supported by IE.

My suggestion: listen to Jukka and never rely on w3schools.com!
--
Cordially,
David


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to