Hi Vragabond,
Sorry about that. I tried it before but it did not work out, I still had 2px space. Then I tried it again, wrapping a div around the "wrap" div, and it looks pretty ok to me.
This is what I added in the css:
body {
text-align:center;
font-size:0;
}
I think this will for me. Thanks!!
Hi James,
..ok, the quote, I know...
but,
I added some div's :-) in the html:
<body>
<div id="wrap">
<div id="header">
<div id="topborder"></div>
</div>
</div>
</body>
...and adjusted the css
div#header
width: 100%;
border:1px solid red;
}
div#topborder {
width:100%...
Hi James,
You are right, I hope it won't be a problem. Adding some lines makes the browser act the same. But still it doesn't make sense, when there is nothing there, it should intepret is as nothing there ...
I'll continue greating some div's in this div, and see from there...
Thanks
Zackat
Hi James,
It' not that I want a horizontal line. The thing is that I would like a basic startup position in which the browsers behave a like. This "wrap", is the base of all div's that will go into it. So this should be ok and I don't think there is any need for it to behave a different way in...
Hi,
For simplicity sake, I thought well...I'll only add the css code. But this is the html, including doctype
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html...
Hi,
I am trying to figure out what causes IE 6 and Mozilla 1.7.5 to interpret the following differently. I would like to center my page using css. To start from the beginning I am creating a div with nothing in it, centering it and adding a border. I would expect both browser to "behave"...
Hi,
I am trying to figure out what causes IE 6 and Mozilla 1.7.5 to interpret the following differently. I would like to center my page using css. To start from the beginning I am creating a div with nothing in it, centering it and adding a border. I would expect both browser to "behave"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.