xhtml border problem

Associate
Joined
11 Mar 2007
Posts
1,741
ok, basicly I want to get rid of the natural border round a web page. Now if its with html 4 its easy, you just add:

<body style="border-style: solid; border-width: 0px">

inside the body tag. However as soon as you change the document type to xhtml strict it ceases to work.

Have I just buggered up the code or is it just not possible in xhtml?
 

no border


border

you see there is a slight shadow round the side of the border one.
a subtile difference i grant you but i prefer it

at moment am using IE7, will try in opera tho

edit, just been experamenting and there is definatly a difference in IE6 but I didn't see one in Opera
 
Last edited:
Back
Top Bottom