schoon Posted November 20, 2005 Share Posted November 20, 2005 I'm having trouble with the default margin IE and mozilla use. Particularly the top, i am wanting to get my stuff right to the top under the address bar in the browser but it wont let me.Ive tried margin-top:-25px;but this just leaves the default margin there and puts my stuff behind it - only the background colour shows inside the margin.any help appreciated - thx. Link to comment Share on other sites More sharing options...
Paim Posted November 20, 2005 Share Posted November 20, 2005 Try html, body {margin:0;padding:0;} Link to comment Share on other sites More sharing options...
schoon Posted November 20, 2005 Author Share Posted November 20, 2005 yeah, the problem was i was setting it for the individual tag rather than the body - but its sorted now, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now