Forum Moderators: open
However what you might not know is that unlike Gecko and Presto based browsers Trident will not style the abbr element by default. That means we have to set the style in our CSS to ensure that our visitors who use Internet Explorer 7 will receive that visual cue.
John
DrDoc: Margin and padding on all elements ... underline on abbr ... fonts on form elements ... line-height on paragraphs ...
JAB Creations: Input styles: I give text type inputs a 1px margin to vertically align them with labels in Firefox and Opera (they both have the same properties).
XHTML
<form action="" method="post">
<fieldset>
<label class="text" for="name">Name:</label> <input class="text" id="name" name="name" type="text" />
</fieldset>
</form>
CSS
label.text {
float: left;
margin: 0px 2px 2px 0px;
padding: 0px 4px 0px 0px;
width: 90px;
}
input.text {
background-color: #a7a68f;
border: #ebef92 solid 1px;
color: #000;
margin: 0px 0px 1px 0px;
width: 144px;
}
John