Log In · Register

 
myspace 2.0, changing border or divider.
thisbxtchisloca
post Nov 4 2009, 02:19 AM
Post #1


ily bebe.*
****

Group: Member
Posts: 130
Joined: May 2007
Member No: 525,528



i was wondering if there's a way to change my dotted border to an image i found on photobucket? thanksssss. :)
 
 
Start new topic
Replies
fixtatik
post Nov 4 2009, 08:22 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



You could venture into CSS3 and use border-image, which Safari, Firefox and Chrome support (if you're using IE or Opera, you're out of luck). There are a few values you can use:
CODE
border-image:url(IMAGE URL);
border-top-image:url(IMAGE URL);
border-right-image:url(IMAGE URL);
border-bottom-image:url(IMAGE URL);
border-left-image:url(IMAGE URL);
border-corner-image:url(IMAGE URL);
border-top-left-image:url(IMAGE URL);
border-top-right-image:url(IMAGE URL);
border-bottom-left-image:url(IMAGE URL);
border-bottom-right-image:url(IMAGE URL);

If you just want one image, using border-image:url(IMAGE URL); defines it for all of the areas you can apply an image to. To change the width, use border-image-outset:##; To change how it stretched around the border, use border-image-repeat:value; where "value" can be stretch, repeat, round, or space.

You can also do it in short hand with border-image, which looks like this:
CODE
border-image:url(IMAGE) ## ## ## ## stretch;

The first part is obviously where you define the url. The next four numbers are the widths of the top, right, bottom and left borders. If you use only one number, all borders will be the same width. The last part is the repeating property. You can use up to two properties; one for the top and bottom, and one for the left and right.
 

Posts in this topic
thisbxtchisloca   myspace 2.0   Nov 4 2009, 02:19 AM
fixtatik   You could venture into CSS3 and use border-image, ...   Nov 4 2009, 08:22 AM


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