Prev | Current Page 427 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


Example
This style rule ensures that the table
element with the ID "results" is laid out
using the fixed layout algorithm:
#results {
width: 24em;
table-layout: fixed;
}
Value
auto selects the automatic table layout algorithm
fixed selects the fixed table layout algorithm, if applicable
Compatibility
SPEC
version initial inherited
CSS2 auto NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL FULL
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full Full Full Full Full
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
Other Relevant Stuff
display (p. 264)
293 Table Properties
controls the type of box generated by an element
width (p. 194)
sets the content width of a block or a replaced element
border-collapse
border-collapse: { collapse | separate | inherit } ;
This property specifies the border
model that??™s to be used for a table or an
inline table??”that is, an element whose
display property has one of the values
table or inline-table.


Pages:
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439