Witam wszystkich
Robie stronę opartą na divach jednak mam mały problem.
Mimo usilnych starań nie mogę umieścić elementu z górnego lewego rogu (left) na poziomie
pozostałych czyli 'newsy' i 'right'.
Z prawą stroną nie miałem problemów, natomiast z lewą mam wielkie :/
Teoretycznie mogę to zrobić 'sztucznie' dodając parametr position=absolute w css dla elementu górnego lewego rogu (lewog w css), ustawić odpowiednie marginesy i obniżyć elementy które są pod spodem i wtedy jest ok, ale wolałbym zrobić to normalnie, tzn tak żeby automatycznie wszystko się ustawiało i wyrównywało tak jak po prawej stronie bez position=absolute.
Bardzo proszę o jakieś wskazówki.
Tutaj można zobaczyć tą stronę --->
http://www.monitorek.pl/atlas/forum/Oto kod html:
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" /> <meta http-equiv="content-language" content="pl" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta name="robots" content="index,follow" /> <meta name="revisit-after" content="3 days" /> <link rel="stylesheet" type="text/css" href="style.css" />
<div id="lewofeststopka"> </div> <div id="prawofeststopka"> </div>
<!--
<div id="pasek"> <p><font size="-2"> </font></p> </div>
-->
<table frame="void" valign="top" border="0" width="100%" style="margin-top: 0px;"><tr><th height="100%" style="background-color: #585380; font-color: #ffffff; font-family: Times New Roman, Arial, Helvetica; font-size: 10px; padding: 4px;"><font color="ffffff">Newsy
</font></th></tr> <tr><td style="background-color: #6f69a2; font-family: Tahoma; font-size: 12px;">1 news
</td></tr> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" /> <meta http-equiv="content-language" content="pl" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta name="robots" content="index,follow" /> <meta name="revisit-after" content="3 days" /> <link rel="stylesheet" type="text/css" href="style.css" />
<div id="lewofeststopka"> </div> <div id="prawofeststopka"> </div>
<!--
<div id="pasek"> <p><font size="-2"> </font></p> </div>
-->
<table frame="void" valign="top" border="0" width="100%" style="margin-top: 0px;"><tr><th height="100%" style="background-color: #585380; font-color: #ffffff; font-family: Times New Roman, Arial, Helvetica; font-size: 10px; padding: 4px;"><font color="ffffff">Newsy
</font></th></tr> <tr><td style="background-color: #6f69a2; font-family: Tahoma; font-size: 12px;">1 news
</td></tr>
<tr><td style="background-color: #847ec2; font-family: Tahoma; font-size: 12px;">2 news
</td></tr> <tr><td style="background-color: #9d95e5; font-family: Tahoma; font-size: 12px;">3 news
</td></tr>
<div id="stopka" style="font-fmaily: tahoma; font-size: 13px; font-color: #FFFFFF;"><font face="Verdana, 'Times New Roman', Arial" color="FFFFFF"><B>Powered by Notepad
</B></font></div>
<tr><td style="background-color: #847ec2; font-family: Tahoma; font-size: 12px;">2 news
</td></tr> <tr><td style="background-color: #9d95e5; font-family: Tahoma; font-size: 12px;">3 news
</td></tr>
<div id="stopka" style="font-fmaily: tahoma; font-size: 13px; font-color: #FFFFFF;"><font face="Verdana, 'Times New Roman', Arial" color="FFFFFF"><B>Powered by Notepad
</B></font></div>
i css:
body {
background-color: #c0c0c0;
margin: 0;
padding: 0;
text-align:center;
}
div {
font: verdana 12px #000000;
position:relative;
}
#container {
margin:0 auto;
padding:0 5px 0 5px;
position:relative;
width:730px;
background-color:#ffffff;
text-align:left;
clear: both;
}
#naglowek {
background: #fff url(bodys.jpg) no-repeat;
width:730px;
height:150px;
margin-bottom:10px;
float:center;
}
#pasek {background: #6f69a2;
margin-top: 2px;
margin-bottom: 2px;
width:100%;
height:5px
float:left;
vertical-align: top;
}
#centrums {
background: #fff;
width:100px;
height:100px;
vertical-align: top;
float:center;
}
#lewofeststopka {
background: #9d95e5 url(body.jpg) no-repeat;
margin-right: 0px;
margin-top: 0px;
width:70px;
height:100%;
float:left;
vertical-align: top;
}
#lewofeststopka2 {
background: #9d95e5 url(bodyd.jpg) no-repeat;
font-color: #000000;
margin-right: 0px;
margin-top: 0px;
width:590px;
height:100%;
float:left;
vertical-align: top;
}
#news {
background: #dedeff;
font-color: #000000;
margin-right: 0px;
margin-top: 0px;
width:150px;
height:99%;
float:left;
vertical-align: top;
}
#news2 {
background: #dfdfee;
font-color: #000000;
margin-right: 0px;
margin-top: 0px;
width:150px;
height:70px;
float:left;
vertical-align: top;
}
#news3 {
background: #dedeff;
font-color: #000000;
margin-right: 0px;
margin-top: 0px;
width:150px;
height:100px;
float:left;
vertical-align: top;
}
#news4 {
background: #cceefd;
font-color: #000000;
margin-right: 0px;
margin-top: 0px;
width:150px;
height:100px;
float:left;
vertical-align: top;
}
#news5 {
background: #dedeff;
font-color: #000000;
margin-right: 0px;
margin-top: 0px;
width:150px;
height:107px;
float:left;
vertical-align: top;
}
#lewo {
width:150px;
height:89%;
float:left;
margin-top: 2px;
}
#lewomenu {
width:150px;
float:left;
margin-top: 2px;
}
#prawog {
width:150px;
float:left;
height:4%;
margin-top: 2px;
background-color:#585380;
}
#lewog {
width:150px;
float:center;
height:4%;
margin-top: 2px;
background-color:#585380;
vertical-align: top;
}
#lewofest {
background: #6f69a2;
margin-right: 5px;
margin-top: 2px;
width:10px;
height:99%;
float:left;
}
#prawofest {
background: #6f69a2;
margin-top: 2px;
width:10px;
height:99%;
float:right;
}
#prawofeststopka {
background: #9d95e5 url(body.jpg) no-repeat;
margin-right: 0px;
margin-top: 0px;
width:70px;
height:100%;
float:right;
vertical-align: top;
}
#prawogkwadrat {
width:10px;
float:right;
height:4%;
margin-top: 2px;
background-color:#985380;
}
#lewogkwadrat {
width:10px;
float:left;
height:4%;
margin-top: 2px;
background-color:#985380;
}
#prawo {
width:150px;
float:left;
height:89%;
margin-top: 2px;
}
#srodek {
width:400px;
height:98.4%;
float:left;
background-color:#f1f1f1;
}
#stopka {
background-color:#6f69a2;
clear:both;
text-align:center;
margin-bottom: 0px;
}
Mam nadzieję że poradzicie sobie z nazwami w stylach

Z góry dzięki za pomoc !
Coś nie ma chętnych do pomocy :/
To może inaczej.
Wiadomo jak zrobić strone na divach podzielona na 3 części: lewa, środek, prawa
No i nie ma z tym problemu:
|==========|=========================|==========|
| LEWA | ŚRODEK | PRAWA |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|==========|=========================|==========|
Ale jak zrobić stronę podzieloną na 3 częśći w poziomie jak wyżej
i dodatkowo na 2 takie częśći w pionie (połączone):
|==========|=========================|==========|
| LEWA | ŚRODEK | PRAWA |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|==========|=========================|==========|
| | | |
| LEWA | ŚRODEK | PRAWA |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|==========|=========================|==========|
Dzięki za info :-)
Ten post edytował majestiq 1.03.2007, 10:56:04