Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development

Reply
 
Thread Tools

CSS: Image border color
Old 24.07.2003, 06:57   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 43
Posts: 896
Rep Power: 0
Default CSS: Image border color

How can I change my <img> border color (it's blue) by CSS.
Is changes if you write <body link="[color]" alink="..., but I want to do it with help of CSS

Old 24.07.2003, 07:09   #2
Академик
 
greka's Avatar
 
Join Date: 09 2001
Location: inside myself
Posts: 5,369
Rep Power: 6
Default

класный вопрос, у меня нифига не получилось бордерами заняться

Old 24.07.2003, 07:58   #3
Stalker
 
Timewind's Avatar
 
Join Date: 09 2002
Location: Припять
Age: 90
Posts: 853
Rep Power: 5
Default

<img src="..." border="1" style="border-color: #RRGGBB;">

kam senc:

<style>
.urish_ramka {border-color: #RRGGBB};
</style>
...
<body>
...
<img . . . . . class="urish_ramka">
....

kam senc:

<style>
#urish_ramka {border-color: #RRGGBB};
</style>
...
<body>
...
<img . . . . . id="urish_ramka">
....

chut` chto asa

kam senc..
Old 24.07.2003, 08:09   #4
¡no pasaran!
 
dolphin's Avatar
 
Join Date: 03 2002
Location: localhost
Age: 42
Posts: 540
Rep Power: 5
Default kam senc..

Quote:
Originally posted by Timewind
<img src="..." border="1" style="border-color: #RRGGBB;">

kam senc:

<style>
.urish_ramka {border-color: #RRGGBB};
</style>
...
<body>
...
<img . . . . . class="urish_ramka">
....

kam senc:

<style>
#urish_ramka {border-color: #RRGGBB};
</style>
...
<body>
...
<img . . . . . id="urish_ramka">
....

chut` chto asa

Code:
<img . . . . STYLE="border-color: #RRGGBB" >

Old 24.07.2003, 08:15   #5
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 43
Posts: 896
Rep Power: 0
Default

Joxovurd jan indz petqe vor aveli heshtacnem gorcs voch te bardacnem. Es unenalu em mot 50 nkar bordernerov, ete amen mekin tekuz link@ tam style-i vra liq@ jamanak kgna, hena mi angam <body>-i mej kgrem link="" u dranov kverjacnem...

Vot kak dlya linkov est' selector "a", on avtomaticheski vosprinimaet vse linki...

Old 24.07.2003, 08:19   #6
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 43
Posts: 896
Rep Power: 0
Default

No uzhe nashel

img {
border: 1px solid #000000;
}

:)
Old 24.07.2003, 08:19   #7
¡no pasaran!
 
dolphin's Avatar
 
Join Date: 03 2002
Location: localhost
Age: 42
Posts: 540
Rep Power: 5
Default :)

Quote:
Originally posted by Aram Ghazanchyan

Vot kak dlya linkov est' selector "a", on avtomaticheski vosprinimaet vse linki...
he-eh.. a dlja images est' "selektor" IMG

Re: :)
Old 24.07.2003, 08:20   #8
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 43
Posts: 896
Rep Power: 0
Default Re: :)

Quote:
Originally posted by dolphin
he-eh.. a dlja images est' "selektor" IMG
Opozdal !!!

Old 24.07.2003, 08:23   #9
Stalker
 
Timewind's Avatar
 
Join Date: 09 2002
Location: Припять
Age: 90
Posts: 853
Rep Power: 5
Default

bayc sax versianerum kashxati?
nayel es?

lol
Old 24.07.2003, 08:25   #10
¡no pasaran!
 
dolphin's Avatar
 
Join Date: 03 2002
Location: localhost
Age: 42
Posts: 540
Rep Power: 5
Talking lol

vat cher....

24th July 2003 13:19

Old 24.07.2003, 08:28   #11
¡no pasaran!
 
dolphin's Avatar
 
Join Date: 03 2002
Location: localhost
Age: 42
Posts: 540
Rep Power: 5
Default

Quote:
Originally posted by Timewind
bayc sax versianerum kashxati?
nayel es?
nu esli v Konquerore i Mozille rabotaet, to mojesh' byt' spokoen

a voobsche chitajte specifikaciju CSS: http://www.w3.org/TR/REC-CSS2/
Reply




Реклама:
реклама

All times are GMT. The time now is 01:33.
Top

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.