Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS][HTML] img { border: 0px; } Nie chce dzialac.
bercow
post
Post #1





Grupa: Zarejestrowani
Postów: 156
Pomógł: 11
Dołączył: 25.12.2005

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


Witam.

Tnę własnie stronę do szablonu na allegro, i mam problem z ramkami obrazków, img { border: 0px;}, ani z 0 bez px, anie z none, nie chce działać. Ktoś ma pomysł dlaczego ?

http://bercow.viphost.pl/allegro/
Go to the top of the page
+Quote Post
sazian
post
Post #2





Grupa: Zarejestrowani
Postów: 1 045
Pomógł: 141
Dołączył: 19.09.2006
Skąd: B-tów

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


pomiędzy znacznikami img masz spacje(lub tab'y) winksmiley.jpg
wywal je i będzie oki
Go to the top of the page
+Quote Post
bercow
post
Post #3





Grupa: Zarejestrowani
Postów: 156
Pomógł: 11
Dołączył: 25.12.2005

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


Niby ładnie, ale pomiędzy logo, a dolna belka jest widoczna przerwa.
Go to the top of the page
+Quote Post
goran
post
Post #4





Grupa: Zarejestrowani
Postów: 23
Pomógł: 2
Dołączył: 17.09.2010

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


Bo właściwie wszystko jest nie tak. Sam problem rozwiązałbyś dając samemu "logu" display: block. Niemniej całość powinna wyglądać tak:
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <link rel="stylesheet" href="http://html5resetcss.googlecode.com/files/html5reset-1.6.1.css">
  6. <style type="text/css">
  7. body {background-image: url(img/tlo.png)}
  8. #box {width: 922px; margin: 0 auto; background-image: url(img/tlo_2.png)}
  9. #logo {width: 922px; height: 296px; background: red url(img/logo.png) 0 0 no-repeat}
  10. #menu {background: red url(img/belka.png) 0 0 no-repeat; padding: 0 0 0 571px; height: 47px; list-style-type: none}
  11. #menu li {float: left; height: 47px}
  12. #menu li.o_mnie {width: 102px; background: url(img/omnie.png) 0 0 no-repeat}
  13. #menu li.aukcje {width: 91px; background: url(img/aukcje.png) 0 0 no-repeat}
  14. #menu li.komentarze{width: 158px; background: url(img/komentarze.png) 0 0 no-repeat}
  15. </style>
  16. </head>
  17.  
  18. <body>
  19. <div id="box">
  20. <div id="logo"></div>
  21. <ul id="menu">
  22. <li class="o_mnie"><a href="#"></a></li>
  23. <li class="aukcje"><a href="#"></a></li>
  24. <li class="komentarze"><a href="#"></a></li>
  25. </ul>
  26. </div>
  27. </body>
  28.  
  29. </html>
Korzystaj również ze styli resetujących. To bardzo pomaga smile.gif.

Pozdr.
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 19.08.2025 - 13:15