Thread: annoying margins
Results 1 to 4 of 4
Related
-
The most annoying this about the Internet Forum: General Discussion
Replies: 6 -
new to phpBB... have an annoying problem Forum: PHP Forum
Replies: 0
-
05-14-2003, 05:20 AM #1New User
Status- Offline
Join Date- Mar 2003
Location- a redneck infested backwater town in northern Fl
Posts- 5
annoying margins
I've just re-done my site with iframes. I formatted it to fit perfectly with any resolution. It sounds nice enough, but that also means that every pixel counts.
Anyways, the bottom margin keeps getting in the way. I thought that "topmargin=0" in the body tag would get rid of it, but it doesnt appear so. Is there a way to dispose of the bottom margin? If not it's no big deal. It would just make life a whole lot easier.
-
05-14-2003, 10:34 AM #2
-
05-15-2003, 01:28 PM #3
Try this:
<style type="text/css">
body {
margin-bottom: 0px;
}
</style>
-
06-03-2003, 11:02 PM #4
You could place this between your head tags to get rid of all margins:
<style type="text/css">
/* <![CDATA[ */
body {margin:-10px 0 0 -10px}
html body {margin:0;padding:0}
/* ]]> */
</style>
or possibly check ending tags for your tables... eg
</td>
</tr>
</table>
to make sure your tables are closed at the right places.