|
|||
Div erster Versuch und gleich ein Problem
Hi,
möchte ein Browsergame und habe mir überlegt jetzt von Tables zu entkommen. Leider bekomme ich das aufteilen von einem Fenster nicht richtig hin, ich möchte das sich die Linke und Rechte seite mit der Höhe der Mitte mitegehen. Ich möchte nähmlich keine höhe festlegen. Dies ist mein derzeitiger code, über die Class lasse ich nur den Background rein. PHP-Code:
|
Sponsored Links |
|
|||
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel='stylesheet' href='graphics/design/style.css'> </head> <body> <div align="center"> <div style="width:218px;height:22px;"> <div style="float:left;" class="window_1_title_left"></div> <div style="float:left;width:200px;text-align:center;line-height: 1.4;" class="window_1_title_middle">Der Titel</div> <div style="float:left;" class="window_1_title_right"></div> <div style="width:400px;height:1px;"></div> </div> <div align='center'> <div style="width:418px;height:9px;"> <div style="float:left;" class="window_1_top_left"></div> <div style="float:left;width:400px;" class="window_1_top_middle"></div> <div style="float:left;" class="window_1_top_right"></div> </div> <div style="width:418px;height:100%;"> <div style="float:left;height:100%;" class="window_1_middle_left"> </div> <div style="float:left;height:100%;width:400px;" class="window_1_background">Dies ist der Text<br>ddd</div> <div style="float:left;height:100%;" class="window_1_middle_right"> </div> </div> <div style="width:418px;height:9px;"> <div style="float:left;" class="window_1_bottom_left"></div> <div style="float:left;width:400px;" class="window_1_bottom_middle"></div> <div style="float:left;" class="window_1_bottom_right"></div> </div> </div> </div> </body> </html> |
|
|||
So das hier wäre der Code mit Tables.
Kann mir wer diesen in Div umschreiben, ich selber bekomme es nähmlich nicht hin. Bitte beachten das die Höhe von Code:
<tr> <td class="window_1_middle_left"></td> <td class="window_1_background">mitte-mitte</td> <td class="window_1_middle_right"></td> </tr> Code:
<table cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="window_1_title_left"></td> <td width="150" class="window_1_title_middle" align="center">Der Titel</td> <td class="window_1_title_right"></td> </tr> </table> </td> </tr> <tr> <td><table width="400" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="window_1_top_left"></td> <td class="window_1_top_middle"></td> <td class="window_1_top_right"></td> </tr> <tr> <td class="window_1_middle_left"></td> <td class="window_1_background">mitte-mitte</td> <td class="window_1_middle_right"></td> </tr> <tr> <td class="window_1_bottom_left"></td> <td class="window_1_bottom_middle"></td> <td class="window_1_bottom_right"></td> </tr> </table></td> </tr> </table> |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
float Problem? Div "wächst" nicht mit inhalt mit. | Garlandt | CSS | 2 | 11.04.2011 16:02 |
DIV Problem | darnia | CSS | 1 | 01.04.2011 12:54 |
CSS Text nebeinander? | carstiee09 | CSS | 13 | 13.11.2009 20:18 |
Problem beim Div positionieren | michbeck | CSS | 5 | 24.11.2006 16:49 |
Problem div in div @ Bottom - unterschiedlicher Abstand | rokk | CSS | 5 | 12.11.2005 00:08 |