Log In · Register

 
About Borders Around Images
ohhbiteme
post Jan 27 2008, 02:05 PM
Post #1


Taste Sweet Love ^-^
*****

Group: Member
Posts: 459
Joined: Nov 2004
Member No: 66,316



Hi, I was wondering if there was a code where you can add a specific amount of borders around an image? Something like that, 'border-bottom: 1px;' thing or whatever? Because I wanna add borders on the top, right, and left of my images only. But I don't know how to do that since I only know about this code:

CODE
<img src="URL" border=1>


edit:
This is for MySpace btw :]
 
 
Start new topic
Replies
newkidontheblock
post Jan 31 2008, 03:57 PM
Post #2


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



no there any any way to use
CODE
<textarea> code here </textarea>
on here.
CODE
[codebox] code here [/codebox]
is the textarea for forums.

Try this
CODE
<style type="text/css" >

.f_img {
  border-bottom:XXpx;
  border-right:XXpx
  border-left:XXpx
  border-top:XXpx;
  border-color:######;
  border-style:solid;
  }

</style>


here is the image code to use :
CODE
<img src="http://IMAGE_URL_HERE" class="f_img" >
  1. Change the XX to any number ex. 5
  2. Change the ###### to any color you want colors
  3. Change the solid to any border style you want. if you want too.
 

Posts in this topic


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