[Pro] XHTML Strict and Tables?

Which style is being overwritten?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Okay, the table page is now encoded with XHTML 1.0 Strict and everything works fine, save the blue bar at the bottom of the table. Not sure what to do here.

I could add another style to the HTML page markup, but is it possible to have two Extended Attributes named class in the same table row/cell?

BTW, I deleted the test page. Here’s the updated page:
http://www.williamsburgmemorialpark.com/properties/propertyoptions.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No, but you can have two values, separated by a space.

<div class="foo bar">whatever</div>

The two styles will be merged if they are separate rules, and you can also create a double-class selector (or as many classnames as you like, up to some limit that causes IE to cry for its mommy) like this:

.foo.bar { color: red; }

That rule will only apply to elements that have BOTH classes applied to them.

Walter

On Oct 1, 2012, at 11:02 PM, RavenManiac wrote:

I could add another style to the HTML page markup, but is it possible to have two Extended Attributes named class in the same table row/cell?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Forgot to mention – to get this in Freeway, you would use the Extend(ed) button and enter this:

  • Name: class
  • Value: foo bar

Walter

On Oct 1, 2012, at 11:08 PM, Walter Lee Davis wrote:

No, but you can have two values, separated by a space.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

save the blue bar at the bottom of the table. Not sure what to do here.

What is your problem with it

is it possible to have two Extended Attributes named class in the same table row/cell?

You can have 2 classes but they should have different names and as many attributes as you like.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hey David,

I don’t have any problem with the blue bar at the bottom (the way it is), but I was told I’m not supposed to use empty table cells for decoration (i.e rules, etc.). Just trying to be a better website designer. :slight_smile:

Two classes makes it easier, so perhaps I’ll try that.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options