|
Posted by Evert | Collab on 07/20/05 08:28
saz wrote:
> In article <P%iDe.3781$p5.1821@nnrp.ca.mci.com!nnrp1.uunet.ca>,
> evertN0SP4N@collab.nl says...
>
>>Hi All,
>>
>>I have a <div> in my XHTML1.1 file, with the style rules:
>>
>>position: abolute;
>>top: 0px;
>>left: 10px;
>>right: 8px;
>>bottom: 24px;
>>margin-top: 100px;
>>
>>As espected this works in Firefox, but it's giving me problems in IE 6.
>>Any idea's how to overcome this in a way that is according to standards?
>>
>>regards,
>>Evert
>>
>
> Giving a URL would help, as the problem could be elsewhere. More
> importantly, EXACTLY what are you trying to achieve.
>
> BTW, you misspelled "absolute", which could be a major part of your
> problem.
Yes you're right, I have spelled it correctly in my source though.. I'll
include an example in the bottom of the post.
If you want to see what I try to achief, open it in firefox; if you want
to see what goes wrong, open it in IE
Thanks for your time!
Evert
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Test file</title>
<style type="text/css">
.container {
position: absolute;
top: 0px;
left: 10px;
right: 8px;
bottom: 24px;
margin-top: 100px;
border: 1px solid #000;
}
</style>
</head>
<body>
<div class="container">Yo</div>
</body>
</html>
Navigation:
[Reply to this message]
|