hey,
bin grad weng am rumprobieren und versteh folgendes net:
hab drei divs die mittig zentriert dargestellt werden sollen.
im IE tun sie das auch aber im FF net *grummel*
Warum?
hier mal der code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
@import url("splash.css");
-->
</style>
</head>
<body>
<div id="splash_logo1"></div>
<div id="splash_navigation"></div>
<div id="splash_logo2"></div>
</body>
</html>
css:
Code:
* {
margin: 0;
padding: 0;
}
body {
margin: 0px;
padding: 0px;
background-color: #cc3333;
font: normal 0.8em/1.4em Georgia, Tahoma, Verdana;
color: black;
text-align: center;
}
#splash_logo1 {
width: 756px;
height: 176px;
background-image: url(stuff/splash_1.gif);
}
#splash_navigation {
width: 756px;
height: 47px;
background-image: url(stuff/splash_5.gif);
}
#splash_logo2 {
background-image: url(stuff/splash_6.gif);
width: 756px;
height: 29px;
}