|
 |
|
| Autor |
Nachricht |
arquitecto Neuer [User]

Anmeldung: 24.03.06 Beiträge: 3
|
Verfasst am: 24.03.2006, 16:41 Titel: 100% Tabelle & Div-Tag |
|
|
Hallo leute ich habe folgendes Problem!
Ich will eine Tabell in einem Div-Tag machen die dann 100% des
Div tags einnimmt und das Div-Element soll bottom 0 haben!
Da macht der IE schon probleme mit Bottom. Kann mir jemand helfen!
Ich will einfach nur dieses Contentfenster in der Mitte haben egal bei welcher auflösung! Und nicht in der normalen mitte sondern in der mitte zwichen diesen grünen Bannern un ganz rechts von der auflösung!
Der link zu der index.php:
http://www.ka-media.de.vu/think-print.de/
Index.php________________________________________________________
| Code: |
<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (casi_listo03_2.psd - Slices: content, header, navi_complet) -->
<style type="text/css">
<!--
#cbg {
background-image:url();
background-repeat:repeat-y
}
#conio {
background-image:url(grafiken/content_l_bg.gif);
background-repeat:repeat-y
}
#Table_01 {
position:absolute;
left:0px;
top:0px;
width:100%;
height:100%;
right:0px;
bottom:0px;
}
#header {
position:absolute;
left:0px;
top:22px;
width:100%;
height:75px;
background-image:url(grafiken/header_bg.gif);
background-repeat:repeat-x
}
#logo {
position:absolute;
left:20px;
top:8px;
width:129px;
height:77px;
}
#navi-complet {
position:absolute;
left:13px;
top:0px;
width:167px;
height:100%;
background-image:url(grafiken/navi_bg.gif);
background-repeat:repeat-y
}
#navi-deck {
position:absolute;
left:13px;
top:0px;
width:167px;
height:50px;
background-color:#FFFFFF;
}
#mainframe {
position:absolute;
left:180px;
top:150px;
right:0px;
bottom:0px;
background-color:#ff0000;
}
-->
</style>
<!-- End ImageReady Styles -->
</head>
<body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (casi_listo03_2.psd - Slices: content, header, navi_complet) -->
<div id="Table_01">
<div id="navi-complet"></div>
<div id="navi-deck"></div>
<div id="header">
</div>
<div id="logo">
<img src="grafiken/logo.gif" width="129" height="77" alt="">
</div>
<div id="mainframe">
<?php include('inc/content.php.inc')?>
</div>
</div>
<!-- End ImageReady Slices
<img src="grafiken/navi_complet.gif" width="167" height="423" alt="">
-->
</body>
</html>
|
____________________________________________________________
content.php.inc______________________________________________
| Code: |
<?php
$cb="700";
$ch="250";
?>
<table width="100%" height="100%">
<tr><td align="center" bgcolor="Blue">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" background="grafiken/content_t_bg.gif" height="20"></td>
</tr>
<tr>
<td background="grafiken/content_l_bg.gif" width="20"></td>
<td width="*" height="50%">
<iframe src="startseite.php" frameborder="0" width="100%" height="100%"></iframe>
</td>
<td background="grafiken/content_r_bg.gif" width="20"></td>
</tr>
<tr>
<td colspan="3" background="grafiken/content_f_bg.gif" height="20"></td>
</tr>
</table>
</td></tr>
</table>
|
_____________________________________________________________
|
|
| Nach oben |
|
 |
ohno Stammuser [User]

Anmeldung: 20.03.06 Beiträge: 31
|
Verfasst am: 24.03.2006, 19:38 Titel: Re: 100% Tabelle & Div-Tag |
|
|
| arquitecto hat folgendes geschrieben: | Hallo leute ich habe folgendes Problem!
Ich will eine Tabell in einem Div-Tag machen die dann 100% des
Div tags einnimmt und das Div-Element soll bottom 0 haben!
Ich will einfach nur dieses Contentfenster in der Mitte haben egal bei welcher auflösung! Und nicht in der normalen mitte sondern in der mitte zwichen diesen grünen Bannern un ganz rechts von der auflösung!
|
ich blicks nich ganz..
fänt schon an mit 100% div ?!?! div hat doch keine größe ..
willst du den roten kasten ganz oben haben?
und was für n grüner banner?
|
|
| Nach oben |
|
 |
arquitecto Neuer [User]

Anmeldung: 24.03.06 Beiträge: 3
|
Verfasst am: 25.03.2006, 02:06 Titel: |
|
|
Sorry wenn ich mich nicht richtig ausgedrückt habe!
Aber mann kannn es doch in dem Quellcode sehen das die Tabelle innerhalb des Div-Tags ist und ich meinte Das ich die Tabelle genauso gross haben will wie das div-element mainframe ist und das heist:
#mainframe {
position:absolute;
left:180px;
top:150px;
right:0px;
bottom:0px;
background-color:#ff0000;
}
Aber der IE macht mir dermassen probleme!!!!!!!!!!!!
|
|
| Nach oben |
|
 |
arquitecto Neuer [User]

Anmeldung: 24.03.06 Beiträge: 3
|
Verfasst am: 25.03.2006, 02:12 Titel: |
|
|
Sorry wieder was vergessen!
ICh meine ich will dieses Contentfenster einfafch nur in der mitte haben Horizontal als auch Vertical und will die grösse des fensters in prozenten angeben!
Und mit dem Grünen Banner meiner ich diesen Header und links den Navi-Hintergrund was zusammen einen 90 Grad-Winkel darstellt!
|
|
| Nach oben |
|
 |
|
|
 |
|
Alle Zeiten sind GMT + 1 Stunde
|
| Seite 1 von 1 |
|  |