Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Jak zmienic pod IE kolor obramowania obrazka, będącego linkiem ?
Maciak
post 27.05.2006, 13:58:36
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 20.06.2005

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


  1. <style type="text/css">
  2.  
  3. A:link { color:#696152; }
  4.  


  1. <a href="dwa.html"><img src="images/foto1.jpg" border="1" /></a>


Pod FF dziala, obrazek jest obramowany na brązowo, natomiast pod IE jest standardowe, niebieskie obramowanie :/

Co zrobic, by pod IE kolor byl taki, jaki wybralem w stylach?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 7)
mike
post 27.05.2006, 14:00:15
Post #2





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

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


Obramowanie, które widzisz nie pochodzi o linka tylko od <img>
Dodaj:
Kod
a img {
    border: 0;
}
Go to the top of the page
+Quote Post
Maciak
post 27.05.2006, 14:12:37
Post #3





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 20.06.2005

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


Dzieki smile.gif Zrobielm tak:

  1. a img {
  2. border: 0;
  3. color: #cccccc;
  4. }


oraz
  1. <a href="dwa.html"><img src="images/foto1.jpg" /></a>


I ten sam problem sad.gif Pod FF obrazek ma, tak jak chcialem, szare obramowanie. A pod IE jest ono niebieskie :/
Go to the top of the page
+Quote Post
-Gość-
post 27.05.2006, 14:45:30
Post #4





Goście







moze raczej border-color: #jakis_kolor
Go to the top of the page
+Quote Post
mike
post 27.05.2006, 14:56:10
Post #5





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

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


No ale zdecyduj się, albo chcesz żeby link miał obramowanie, albo chcesz żeby obrazek miał obramowanie.
Go to the top of the page
+Quote Post
-Gość-
post 29.03.2008, 04:45:36
Post #6





Goście







Jaki problem, myśl. Graficznie dorób obramówkę obrazka w kolorze jaki chcesz i nie music już wstawiac żądnego border]1 smile.gif
Go to the top of the page
+Quote Post
bmL
post 29.03.2008, 13:09:20
Post #7





Grupa: Zarejestrowani
Postów: 301
Pomógł: 25
Dołączył: 15.07.2007
Skąd: Olsztyn

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


Miałem podobny problem i po prostu dałem dookoła diva:
  1. div.obrazek_link {
  2. padding: 1px;
  3. background: #kolor1;
  4. }
  5.  
  6. div.obrazek_link:hover {
  7. padding: 1px;
  8. background: #kolor2;
  9. }
  10.  
  11. a img {
  12. border: 0;
  13. }

  1. <div class="obrazek_link"><a href="dwa.html"><img src="images/foto1.jpg" /></a></div>

Pisane z palca ale chyba się nie pomyliłem smile.gif

Ten post edytował bmL 29.03.2008, 13:11:25


--------------------
Tutaj miał być jakiś mądry tekst. Miał być... No ale jest głupi tekst.
Go to the top of the page
+Quote Post
Cysiaczek
post 29.03.2008, 13:11:56
Post #8





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Oczadzieli? Co wy za kotlety odgrzewacie? Zamykam


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 25.07.2025 - 09:44