N
neilmcguigan
you can apply a style to an element type, class or id like this:
input
{
font-family:Tahoma;
}
this would apply the Tahoma font to all "<input..." elements
..MyClass
{
font-size:70%;
}
this would apply a font-size of 70% to all html elements with
class="MyClass" attribute
#MyId
{
margin:0px;
}
this would apply a margin of 0px to all elements with id="MyId"
attribute
you can also nest styles, like this:
#MyTable th
{
font-weight:bold;
}
this would apply a bold font to all "<th>" elements for the item with
id="MyTable"
HTH
Neil
input
{
font-family:Tahoma;
}
this would apply the Tahoma font to all "<input..." elements
..MyClass
{
font-size:70%;
}
this would apply a font-size of 70% to all html elements with
class="MyClass" attribute
#MyId
{
margin:0px;
}
this would apply a margin of 0px to all elements with id="MyId"
attribute
you can also nest styles, like this:
#MyTable th
{
font-weight:bold;
}
this would apply a bold font to all "<th>" elements for the item with
id="MyTable"
HTH
Neil