Hi,
I have been using the following to "control" my tags:
The problem is that when I use p / h1 inside a div or table cell it displays a ludicrously large (1000+px) top margin (maybe padding but don't think so).Code:body {margin:-10px 0px 0px -10px} /* Netscape margin fix */ html,body{font:100%/120% Verdana,Helvetica,sans-serif; color:black; background:white;} html,body,div,p,form,ul,li,h1,img,label{padding:0px; margin:0px; border:0px}
So far my only solution is to state margin:1% in the p / h1 tags that follow
Has anyone else come across this?Code:h1{font:bold 100%/120% Verdana,Helvetica,sans-serif; color:#669999; margin:1%; margin-top:3%} p {font:80%/120% Verdana,Helvetica,sans-serif; color:black; margin:1%; margin-top:3%}
Could it be due to mixing pixels and percentages (margin:0px with margin-top:3%)?
Is there a more elegant method of correction?
Would it be best to remove h1 and p from the global definition?
This problem may be browser specific, I'm using IE6.
Any help appreciated.





Bookmarks