Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML/CSS]Denerwujący odstęp miedzy elementami <img />, jak się go pozbyć?
Zick4
post
Post #1





Grupa: Zarejestrowani
Postów: 39
Pomógł: 0
Dołączył: 12.10.2007

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


Jak bez użycia tabel czyli samym CSS'em zrobić tak by obrazki były obok siebie bez denerwującej przerwy między nimi. Mój kod:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="pl" xml:lang="pl">
  4. <head>
  5. <title>WWW</title>
  6. <meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-2" />
  7. <meta http-equiv="content-language" content="pl" />
  8. </head>
  9. <body>
  10. <img src="1.jpg" />
  11. <img src="1.jpg" />
  12. </body>
  13. </html>

Wkurzyłem sie i ostatecznie spróbowałem tak ale i to nie pomogło:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="pl" xml:lang="pl">
  4. <head>
  5. <title>WWW</title>
  6. <meta http-equiv="Content-Type" content="text/xhtml; charset=iso-8859-2" />
  7. <meta http-equiv="content-language" content="pl" />
  8. </head>
  9. <body style="padding: 0px">
  10. <img style="margin: 0px;" vspace="0" hspace="0" src="1.jpg" />
  11. <img style="margin: 0px;" vspace="0" hspace="0" src="1.jpg" />
  12. </body>
  13. </html>


Ten post edytował Zick4 6.01.2008, 00:18:21
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: 9.09.2025 - 12:34