|
Remove margins in HTML.
Page Margin settings. Something that on the surface seems very simple, yet
unless you know how to correct it, it can be a bit of a mystery. This can also be set for other elements, such as tables or paragraphs, using the following code: <table border="1" style="margin: 0px;"> <p style="margin: 0px;">Text</p> Individual margins can also be manipulated, e.g. <p style="margin-left: 0px; margin-top: 0px;">Text</p> The second way to do this is to set margin: 0px;in your stylesheet or inline style declarations for the BODY selector Example of setting 0px margins for the body element: So, now you have control of your page margins! Go to: Home | Client-side tutorial links Remember, if you get stuck or need to ask any questions, register with the forums and tell us about it! |
|