aND|e Posted December 27, 2005 Share Posted December 27, 2005 hi! newbie question again!i've been making a simple site for my boyfriend and me, half the page is his, half is mine. everything's going fine with firefox but when i decided to view it with ie, there's this white border in between the 2 <div> (this doesnt happen in firefox!). what's wrong with it? im still starting to learn html and a little css so im kinda shy to show the site but if it'll help, you can see it at http://www.ryjin.com <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>and tonight..you revolve around me..</title><style type="text/css"><!--html,body{overflow: scroll;}#left{padding: 5px;color: #c0c0c0;position: absolute;top: 0px;left: 0px;width: 50%;height: 100%;background-color: black;}#right{padding: 5px;color: #5F5A59;position: absolute;top: 0px;right: 0px;width: 50%;height: 100%;background-color: #FAAFBE;}IMG{border: 0px;position: absolute;}--></style></head></html> here's part of the code..hope someone can help me. thanks again! Link to comment Share on other sites More sharing options...
Skemcin Posted December 27, 2005 Share Posted December 27, 2005 add 0px margin and padding to your html,body css class: html,body{margin: 0px;padding: 0px;overflow: scroll;} Link to comment Share on other sites More sharing options...
aND|e Posted December 28, 2005 Author Share Posted December 28, 2005 thanks Skemcin! 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