Results 1 to 4 of 4
Thread: Margins in HTML Validator
Apr 27, 2001, 01:54 #1
- Join Date
- Jun 2000
- UK, Scotland
- 0 Post(s)
- 0 Thread(s)
I am hoping someone might be able to help me?
I realise the attributes margin aren't attributes in the HTML standard.
So I included this in my web page as someone suggested:
document.write('<BODY MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">')
Then <BODY STYLE="margin:0px"> for IE.
This is done on my website at:
The page now validates fine and conforms.
My question is? I included this script into the head section of my HTML page and was wondering if this is the correct place to hold the script or should it come just after the body tag?
I am hoping I have placed it in the correct location!
I would be really grateful for some advice on this thanks.