Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][CSS]CSS - problem z wyświetlaniem obrazków
hydroxygen
post
Post #1





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 24.08.2009

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


mam taki oto style w css
Cytat
#left {
background-color: black;
border: 1px solid #c2bdaa;
width:550px;
margin: 0px 0px 10px 28px;
padding: 0px 0px 15px 0px;
float:left;
display:inline;
}
.text{
float:left;
width:422px;
}
#left h2{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bolder;
color: blue;
text-decoration: underline;
margin: 20px 0px 10px 23px;
}
#left p{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight:lighter;
color: blue;
margin: 6px 0px 0px 23px;
}
#left a{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight:bold;color: #4d4b4a;
}
#left a:hover{
color:#000000;
}
.fotki{float:right;}
.fotki img{display:block;}

chodzi o to że nie wiem jak poprawnie wyświetlić obrazki w
Cytat
#left p
(po umieszczeniu kodu w html'u obrazki są "zmiażdżone" tak że wyglądają jak kod paskowy ;D i są szare

Dzięki czekam na odp
Go to the top of the page
+Quote Post
Pawel_W
post
Post #2





Grupa: Zarejestrowani
Postów: 1 675
Pomógł: 286
Dołączył: 15.06.2009
Skąd: Wieliczka

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


no a może kod html? (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
hydroxygen
post
Post #3





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 24.08.2009

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


  1. <div id="content">
  2. <h1>Galeria</h1>
  3. <div id="left">
  4. <div class="text">
  5. <h2>Drugi nagłówek</h2>
  6. <p<a href="zdjecie.jpg"><img src="zdjecie.jpg" width="256" height="192"></a>
  7. <a href="class.jpg"><img src="class.jpg" width="256" height="192"></a>
  8. <a href="crazy.jpg"><img src="crazy.jpg" width="256" height="192"></a>
  9. <a href="boys.jpg"><img src="boys.jpg" width="256" height="192"></a>
  10. <a href="teeth.jpg"><img src="teeth.jpg" width="256" height="192"></a>
  11. </p>

here u are
Go to the top of the page
+Quote Post
Pawel_W
post
Post #4





Grupa: Zarejestrowani
Postów: 1 675
Pomógł: 286
Dołączył: 15.06.2009
Skąd: Wieliczka

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


brakuje ci domknięcia tagu <p>

Ten post edytował Pawel_W 24.08.2009, 08:50:04
Go to the top of the page
+Quote Post
hydroxygen
post
Post #5





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 24.08.2009

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


poprawilem ale to nie ma nic do tego...(IMG:style_emoticons/default/sad.gif)
innny pomysl?


ok poradzilem sobie
przepraszam za zawracanie d
ale po prostu mialem zla sciezke do img'u (IMG:style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post
wookieb
post
Post #6





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Podaj link do strony.
Jaki masz doctype?
Wywal display:inline; z #left
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.09.2025 - 06:13