| Autor |
Nachricht |
fuchsbau
Threadersteller
Dabei seit: 15.08.2005
Ort: .//root
Alter: 28
Geschlecht:
|
Verfasst Mi 03.05.2006 14:14
Titel [css] browserkompatibilität float |
 |
|
ich hab das problem hier so in etwa schonmal gepostet, aber keine wirkliche antwort bekommen. hab's jetzt nochmal ordentlich mit auf's wesentliche miniertem quellcode gebastelt und frage nochmal:
warum stellt der FF hier anders als der IE da und hat jemand n workaround? oder den fehler im css ^^
danke!
xhtml
| Code: | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3c.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<title>float-problem</title>
<link href="design2.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="middleleft">
<div class="colright">
<div class="txtheadline">KUNDENBEREICH</div>
</div>
<div class="colleft">
<div class="txtheadline">NUTZFLAECHE</div>
</div>
</div>
</body>
</html> |
css
| Code: | body { margin: 0; padding: 0; }
.colleft { width: 370px; margin-left: 0; margin-right: 10px; margin-top: 0; margin-bottom: 0; padding: 0; }
.colright { float: right; clear: right; width: 170px; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding: 0; }
.txtheadline { font-family: arial, sans-serif; font-weight: bold; font-size: 11px; line-height: 1.3; color: #cc0000; margin-top: 7px; margin-bottom: 15px; }
.middleleft { width: 550px; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; text-align: left; padding: 0; } |
|
|
| |
|
 |
| |
|
 |
Mac
Dabei seit: 26.08.2005
Ort: Köln
Alter: 50
Geschlecht:
|
|
| |
|
 |
fuchsbau
Threadersteller
Dabei seit: 15.08.2005
Ort: .//root
Alter: 28
Geschlecht:
|
Verfasst Mi 03.05.2006 17:14
Titel
|
 |
|
kann mir das essentiell mal jemand übersetzen? ich bin einfach mal zu blöd englische how-tos zu verstehen. sorry.
|
|
| |
|
 |
Mac
Dabei seit: 26.08.2005
Ort: Köln
Alter: 50
Geschlecht:
|
|
| |
|
 |
| |
|
 |
| Ähnliche Themen |
Hilfe: div float / width:100% - CSS float Box Model
[css] float und xp
[css] IE und float
Css FLOAT
CSS Float und Ausrichtung
[CSS] float-Frage...
|
 |