Click to See Complete Forum and Search --> : valid method of removing margins (HTML 4.01 Transitional)


havik
04-29-2003, 10:36 AM
I was validating my page and found that the attributes, topmargin, leftmargin, marginwidth, marginheight, are not considered attributes for HTML 4.01 Transitional.

I got around marginwidth and marginheight by simply not using them but I haven't found anything that validates and removes the margins. I was thinking of using a div layer for the entire page and position this but is there an easier way?

Havik

khalidali63
04-29-2003, 10:42 AM
How about css properties,
margin-left and margin-top

havik
04-29-2003, 10:52 AM
I never thought of using that on the body tag, thanks.

Havik

nkaisare
04-29-2003, 12:47 PM
You can go a step further and try HTML 4.01 strict. Believe me, its fun and it isn't too difficult.