Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Mała przerwa między obrazkami..., ...oczywiście pod badzIEwiem
vieri_pl
post
Post #1





Grupa: Zarejestrowani
Postów: 406
Pomógł: 9
Dołączył: 24.07.2005
Skąd: Bydgoszcz

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


Mam taki kod:

  1. <div id="zawartosc">
  2. <div id="naglowek"></div>
  3. <div id="l_menu">
  4. <img src="images/kportal_02.gif" alt="a" width="158" height="167" border="0" usemap="#link" />
  5. <img src="images/kportal_07.gif" width=158 height=330 alt="a" />
  6. </div>
  7. </div>
  8. <map name="link" id="link">
  9. <area shape="rect" coords="3,-20,194,19" href="index.php" alt="Strona główna" />
  10. <area shape="rect" coords="1,19,155,40" href="wiadomosci.php" />
  11. <area shape="rect" coords="3,41,155,67" href="artykuly.php" />
  12. <area shape="rect" coords="3,67,154,93" href="skrypty.php" />
  13. <area shape="rect" coords="3,94,152,115" href="linki.php" />
  14. <area shape="rect" coords="4,116,149,141" href="autor.php" />
  15. <area shape="rect" coords="5,143,149,165" href="wspolpraca.php" />
  16. </map>
  17. </body>


Nie wiem skąd ale pod IE mam przerwę między obrazkiem kportal_02.gif a kportal_07.gif... Oto kod css:

Kod
<style type="text/css">
<!--

/* CSS Document */

body {
background-color: #517DA8;

}
#zawartosc {
color: #eee;
width: 780px;
margin:auto;
border: 1px solid #000;
line-height: 130%;
margin: 10px auto;
}

#naglowek {
width: 780px; /* wymiary obrazka */
height: 103px;
background-image: url( 'images/kportal_01.gif' );
padding: 0;
margin: 0;

}
#l_menu {
width: 158px; /* wymiary obrazka */
height: auto;
display: block;

}
-->
</style>
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
mike
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 7 494
Pomógł: 302
Dołączył: 31.03.2004

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


1. Wszystkie atrybuty powinny być w cudzysłowiach;
2. Spróbuj nie dawać enter'a miedzy znacznikami <img>. Daj je w jednej linii.
Go to the top of the page
+Quote Post
Kinool
post
Post #3





Grupa: Zarejestrowani
Postów: 560
Pomógł: 0
Dołączył: 15.07.2003
Skąd: Kwidzyn

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


do ustalania rozmiarow uzywaj CSS (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
do img daj:
Kod
<img src="foto1.jpg" style="width: 100px; height: 120px; border: 0px; display: block;" />
Go to the top of the page
+Quote Post
vieri_pl
post
Post #4





Grupa: Zarejestrowani
Postów: 406
Pomógł: 9
Dołączył: 24.07.2005
Skąd: Bydgoszcz

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


Spoko już sobie poradziłem, zapomniałem dać info (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Ale dzięki za cynk (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

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: 20.12.2025 - 15:09