Log In · Register

 
 
Closed TopicStart new topic
border color, ...for html
kawaiisakura
post Feb 16 2006, 04:35 PM
Post #1


Member
**

Group: Member
Posts: 17
Joined: Nov 2005
Member No: 290,051



I know the CSS for a border and border color... but I'm having trouble finding one for HTML, specifically to put a colored border around an image... can anyone help me out?
 
YourSuperior
post Feb 16 2006, 06:49 PM
Post #2


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



I don't think that there's a way to do that with html. The only way I know is css.
 
talcumpowder
post Feb 16 2006, 08:18 PM
Post #3


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



^ Plenty possible.
CODE
<style type="text/css">img{border: 1px solid #000000;}</style>
For all your images, you can name them if it's just for one... But that's a lot harder. =X More complicated.
 
threepointone
post Feb 16 2006, 08:52 PM
Post #4


Senior Member
****

Group: Member
Posts: 122
Joined: Feb 2005
Member No: 106,057



for a specific image, you'd do somethign like this:
CODE
<img src="image url" style="border: 1px solid #000000" height="height" width="width" />

pretty much just stick in all the css into the "style" attribute.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: