Hello all,
I was just desining a template for a site that I am developing, and I ran into a problem. I desined the code in IE and it looks perfect, but as soon as I open it in FF, Everything is messed up. Here is the code that I am using:
Here are some screen shots:HTML Code:<html> <head> <title> Start </title> <style> .windowstop {width: 798px; height:0px; margin: 0px; margin-top: 100px; text-align: left;} .bg {background: url("background.png") no-repeat top center; height: 100%; width=100%; text-align: center;} body {background: url("bg-sides.png") repeat-x; margin: 0px 0px 0px 0px;} .cont-position {text-align:center;} .cont-top {background: url("cont-top.png") no-repeat top; height: 50px;} .cont-sides {background: url("cont-sides.png") repeat-y left;} .cont-bottom {background: url("cont-bottom.png") no-repeat bottom; height: 90px;} .cont {margin-left: 40px;} .cont-top-text {margin-top: 20px;margin-left: 40px;} .cont-bottom-text {margin-top: 40px;margin-left: 40px;} </style> </head> <body> <base target="_blank"> <div class="bg"> <div class="windowstop"> <div class="cont-top"> <div class="cont-top-text"> Intro </div> </div> <div class="cont-sides"> <div class="cont"> Body<br><br><br><br><br><br><br><br><br> </div> </div> <div class="cont-bottom"> <div class="cont-bottom-text"> footer </div> </div> </div> </body> </html>
Internet Explorer:
Firefox:
If I try to start changing it for firefox, IE goes crazy, or vica versa. How can I get this to work in both browsers?
Thanks,





Reply With Quote
.


Bookmarks