Re: Table Spacing Issue -
11-21-2007
, 05:38 PM
Hello,
To make all the text in your page Verdana, you can just add that to the body
CSS style.
Then you won't need to include it in all the classes.
body {background-color: #666666;
margin-left: 0px;
margin-top: 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
The spaces between the fields in FF are caused by the defualt margin of the
<p> tag that your Text Fields are in.
The default is different in FF than in IE.
You can remove the <p> tags now to fix it, and the font will stay Verdana as
you defined that in the body style.
This is the better choice.
You could also just set a margin for the <p> tags so the margin is the same in
different browsers.
p {margin:2px;}
You might want to do this just to see how it makes the design in FF look the
same as in IE, but there's really no need to have the <p> tags around the Text
Fields in each table cell.
If you have other <p> tags in your site, it's a good idea to set the margin
with CSS so the line spacing is the same cross browser.
Take care,
Tim |