Previous Message
Next Message

magicbox

Sent by noocx on 28 September 2003 19:07


Hi all!


general.css:
-----------

body {
	margin: 0px;
}

#container{
	margin: 40px;
	border: 2px solid #000000;
	padding: 5px;
}

#box1{
	border: 2px solid #FF0000;
	padding: 5px;
	margin: 5px;
	width: 4ex;
}

#box2{
	border: 2px solid #006600;
	padding: 5px;
	margin: 5px;
	width: 4ex;
}

----------------------------------------

index.php:
---------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">

<!-- HEAD -->
<head>
<title>test</title>
<link rel="stylesheet" href="general.css" type="text/css">
</head>

<!-- BODY -->
<body>
  
<div id="container">
<div id="box1">box1</div>
<div id="box2">box2</div>
</div>

</body>
</html>

-----------------------------------------


My problem is the following: 
	Under ie6.0 box1 dont get margins, box2 got only the left margin,
	in mozilla its working fine.

Someone know why is this?

thx, bye.
--
noocx 					

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: