BubikolRamios
02-17-2008, 02:29 PM
Trying to center some stuff ....
If anyone see how to fix this, in FF works ok. In IE jumps to right after 'c'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<style type="text/css">
*
{
font-family:tahoma,verdana,arial,helvetica;
font-size:15px;
border:0px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
.krneki
{
width:100%;
margin-left:40%;
clear:both;/*has to be for ff*/
}
</style>
</head>
<body>
<DIV class = 'krneki'>
a
</DIV>
<DIV class = 'krneki'>
<DIV style = 'float:left;'>
b
</DIV>
<DIV style = 'float:left;'>
c
</DIV
</DIV>
<DIV class = 'krneki'>
d
</DIV>
<DIV class = 'krneki'>
d
</DIV>
</body>
</html>
If anyone see how to fix this, in FF works ok. In IE jumps to right after 'c'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<style type="text/css">
*
{
font-family:tahoma,verdana,arial,helvetica;
font-size:15px;
border:0px;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
.krneki
{
width:100%;
margin-left:40%;
clear:both;/*has to be for ff*/
}
</style>
</head>
<body>
<DIV class = 'krneki'>
a
</DIV>
<DIV class = 'krneki'>
<DIV style = 'float:left;'>
b
</DIV>
<DIV style = 'float:left;'>
c
</DIV
</DIV>
<DIV class = 'krneki'>
d
</DIV>
<DIV class = 'krneki'>
d
</DIV>
</body>
</html>