Home News Blog



MSN Random Online

A blog of all sections with no images
CSS th (Table Header) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:21

CSS th

Defines the properties for a table header cell.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.1+ 1.0+ 4.0+ 1.0+

Example

 

This example specifies that all table header cells should have top and bottom borders, but no left or right borders. It also sets the font-size to one size smaller than the parent element text:


th {
border-bottom: navy solid thin;
border-top: navy solid thin;
border-left: none;
border-right: none;
font-size: smaller;
}

Remarks

Because table header cells are children of "table" and "tr" elements, they will inherit some of their styles from those elements.

 
CSS textarea (Text Area) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:20

CSS textarea

Defines the properties for a textarea input field on a form.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example adds a border and padding around all textarea elements:


textarea {
border-color: black;
border-style: solid;
border-width: thin;
padding: 3px;
}

Remarks

You will usually use classes and id's to style individual textarea elements, rather than styling all textarea elements at once.

 
CSS td (Table Data) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:19

CSS td

Defines the properties for an individual table cell.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.1+ 1.0+ 4.0+ 1.0+

Example

 

This example specifies that all table cells should have top and bottom borders, but no left or right borders. It also sets the font-size to one size smaller than the parent element text:


td {
border-bottom: navy solid thin;
border-top: navy solid thin;
border-left: none;
border-right: none;
font-size: smaller;
}

Remarks

Because table cells are children of "table" and "tr" elements, they will inherit some of their styles from those elements.

Last Updated on Monday, 17 September 2007 03:19
 
CSS table (Table) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:18

CSS table

Defines the properties for a table.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.1+ 1.0+ 4.0+ 1.0+

Example

 

This example specifies that all tables should have top and bottom borders, but no left or right borders. It also sets the font-size to one size smaller than the parent element text:


table {
border-bottom: navy solid thin;
border-top: navy solid thin;
border-left: none;
border-right: none;
font-size: smaller;
}

Remarks

When you style table elements, you will usually be setting things like border styles and padding.

 
CSS strong (Strong) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:17

CSS strong

Defines the properties for a block of text formatted as "strong."

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

 

This example sets the font-weight for all "strong" elements to "bolder", which is darker than the standard "bold":


strong {
font-weight: bolder;
}

Remarks

You will usually style individual span elements by assigning classes and id's to them and styling those. Assigning the same styles to all span elements usually is not very useful.

 
CSS span (Text Span) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:16

CSS span

Defines the properties for a pre-defined text span element.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
3.0+ 3.0+ 1.0+ 4.0+ 1.0+

Example

 

This example sets the background color for all span elements to red:


span {
background-color: red;
}

Remarks

You will usually style individual span elements by assigning classes and id's to them and styling those. Assigning the same styles to all span elements usually is not very useful.

 
«StartPrev12345678910NextEnd»

Page 4 of 24
 

Top Members

No top members yet.