Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> xhtml+ie6=kaszana
monti
post
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 1
Dołączył: 31.05.2004

Ostrzeżenie: (0%)
-----


HELLO!!
Jestem bardzo poczatkujacy jesli chodzi o html/xhtml i myszel ze jakos mi pomozecie.
Mam problem z jedna strona ktora sam zaprojektowalem i poskladalem (z poskladasniem wyszlo gorzej), pod Firefoxem(mozilla) dziala bardzo ladnie ale pod ie6 (mam tylko 6 ale mysle ze wczesniejsze wersje tez maja problem(no chyba ze ja cos zle robie)).
Jak mozecie to zerknijcie i powiedzcie co tzreba zmienic i jak.
Dodam ze validator xhtml-a i css-a przechodzi pomyslnie z tym ze css z jednym warningiem (ale to looz).

Acha jak mozecie to napiszczcie adres jakiejs polskiej stronie albo forum poswieconej xhtml-owi bo ja nic nieznalazlem.

oto dares http://www.grzenio.pl/~monti/auto/index.html
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Draugfor
post
Post #2





Grupa: Zarejestrowani
Postów: 131
Pomógł: 0
Dołączył: 13.07.2003
Skąd: Torun/Poznan

Ostrzeżenie: (0%)
-----


Czesc!
No, troszke nad tym siedzialem, poprawilem nieco Twoj kod, sprawdz, czy dobrze u Ciebie dziala:
[xml:1:d2f5a51f33]
<?xml version="1.0" encoding="utf-8" ?>
<!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" xml:lang="pl" lang="pl">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PROFESJONALNY SERVIS SAMOCHODOWY</title>
<style type="text/css">
<!--
body {
margin: 0;
padding: 0;
text-align: center;
background: #ffffff;
}

#top {
background: url(img/top.jpg) 0 0 no-repeat;
width: 780px;
height: 156px;
float: left;
}

#mainsite {
margin: 0 auto 0 auto;
width: 780px;
}


#menu1 {
background: url(img/menu_left.jpg) 0 0 no-repeat;
width: 51px;
height: 31px;
float: left;
}

.menu2 {
font: 13px/29px Verdana,arial,tahoma;
font-weight: bold;
background: url(img/menu_button.png) 0 0 no-repeat;
width: 80px;
height: 31px;
float: left;
color: white;
text-decoration: none;

}

#menu3 {
background: url(img/menu_right.png) 0 0 no-repeat;
width: 409px;
height: 31px;
float: left;
}

#cien {
background: url(img/cien.png) 0 0 no-repeat;
width: 780px;
height: 7px;
float: left;
line-height: 0px;
}

#main {
background: url(img/main.gif) 0 0 no-repeat;
width: 780px;
height: 375px;
float: left;

}

.foot {
background: url(img/foot.jpg) 0 0 no-repeat;
width: 780px;
height: 45px;
float: left;
}

#lewa {
float: left;
width: 617px;
text-align: justify;
}

#prawa {
float: right;
width: 163px;
text-align: center;
}

.kropki {
background: url(img/kropki.gif) 0 0 no-repeat;
width: 164px;
height: 1px;
margin: 0 0 0 0;
line-height: 0px;
}

-->
</style>
</head>
<body>
<div id="mainsite">

<div id="top">&nbsp;</div>

<div id="menu1">&nbsp;</div>

<a href="1.html" class="menu2">O firmie</a>
<a href="2.html" class="menu2">Promocja</a>
<a href="3.html" class="menu2">Mapa</a>
<a href="4.html" class="menu2">Kontakt</a>

<div id="menu3">&nbsp;</div>

<div id="cien">&nbsp;</div>

<div id="main">

<div id="lewa">

lewa

</div>

<div id="prawa">

<div class="kropki">&nbsp;</div>
<a href="http://www.exponet.pl" target="_blank"><img src="img/brc.png" border="0" alt="" /></a>
<div class="kropki">&nbsp;</div>
<a href="http://www.exponet.pl" target="_blank"><img src="img/mobil.png" border="0" alt="" /></a>
<div class="kropki">&nbsp;</div>
<a href="http://www.exponet.pl" target="_blank"><img src="img/sachs.png" border="0" alt="" /></a>
<div class="kropki">&nbsp;</div>
<a href="http://www.exponet.pl" target="_blank"><img src="img/q_service.png" border="0" alt="" /></a>
<div class="kropki">&nbsp;</div>

</div>

</div>

<table class="foot">
<tr><td>&nbsp;</td></tr>
</table>

</div>
</body>
</html>
[/xml:1:d2f5a51f33]

Stopke zmienilem na tablice, bo po odswiezaniu najzwyklej w swiecie znikala. Pogrzebalem ogolnie w wartosciach line-height.

Pozdrawiam!
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 08:59