|
|||
![]()
Hi ich hab ein Problem mit der Darstellung einer Grafik. im Firefox & Opera wird sie nach links verschoben, im IE nach rechts.
Code:
<!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=windows-1252"> <title>Problem mit der Darstellung</title> <style type=text/css> #up { margin-left: 134px; background: url(images/rahmen1.gif) no-repeat; color: #fff; padding-right: 150px; padding-top: 4px; text-align:right; line-height: 10px; } </style> </head> <body> <div id="up"> <a class="downsite" style="font-size: 9pt;" href="#">Feedback</a> | <a class="downsite" style="font-size: 9pt;" href="#">Logout</a> </div> <div id="navi"> <center> <table style="margin:0px;background-color: #FFFFFF; border:5px; border-color:#6A0000; text-align:center; width:716px;border-style:solid;"> <tr> <td> <img style="display:block;" alt="Kontakt" width="484" height="250" src=""> </td> <td bgcolor="#6A0000" width="199"> </td> </tr> </table> </center> </div> </body> </html> Weiss jemand wie ich das Problem beheben kann? |
Sponsored Links |
|
|||
![]()
Okay?! Keine Antwort ist auch eine Antwort *g*
Hier mal der Link: Klick Ich hoffe dass es ausführlicher ist. Im Opera & FF sieht es perfekt aus. Nur der IE zickt ein bisschen rum. Ich könnte margin-left natürlich auch so definieren dass es für IE passt aber dann stimmt's für Opera & FF nicht mehr. Freue mich auf eine Antwort. |
Sponsored Links |
|
|||
![]()
Vielen Dank. Klappt bestens
![]() Aber wie kann ich das ganze nun zentrieren? Da glaub ich du mir sogar in einem anderen Thread gesagt hattest dass ich <center> vermeiden sollte. Hab's bereits mit align="center", float: middle etc. ausprobiert aber irgendwie funktioniert das nicht. |
|
||||
![]()
Das ist auch veraltet
Zitat:
"float" kennt nur drei Werte: "left", "right" und "none". Blockelement zentriert man per "margin:0 auto". ![]() Edit: eben. Para ist flotter.
__________________
Ohne Quelltext gibts selten Hilfe. Also: Onlinebeispiel hochladen und Link bereitstellen! Foren-FAQ Geändert von Crizzo (03.03.2008 um 18:43 Uhr) |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Problem mit einem 3D-Effekt | moep0710 | CSS | 12 | 12.06.2010 15:30 |
Css Neuling Bräuchte Hilfe | wc3_monster | CSS | 2 | 03.12.2008 23:23 |
Problem mit Boxendarstellung mit Bild | Sordum | CSS | 6 | 22.06.2008 17:04 |
position:fixed löscht background-color des Container | alivecc | CSS | 9 | 25.10.2007 14:25 |
Firefox zickt | floody | CSS | 5 | 25.02.2006 17:16 |