background image |
background image |
Oct 16 2008, 06:35 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 90 Joined: Jul 2008 Member No: 666,978 |
on a div/overlay, i just wanna kno how 2 make the background image bigger than it's standard size. n also, i want 2 kno like how 2 put a border around the background image. like if i wanted music notes "dancing" around it or something. here's my code,
CODE body {
background-color: CC3300; background-image: url("http://i282.photobucket.com/albums/kk243/superstarborn11/HSM3-1.jpg"); background-position: center center; background-repeat: no-repeat; background-attachment: fixed; scrollbar-arrow-color:FF9900; scrollbar-track-color: FFFFFF; scrollbar-shadow-color: 999966; scrollbar-face-color:CC3300; scrollbar-highlight-color:000000; scrollbar-darkshadow-color:FF9900; scrollbar-3dlight-color:CCCC99;} |
|
|
|
![]() |
Oct 16 2008, 07:25 PM
Post
#2
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
Well, you could try resizing it at Resizepic. -OR- you could add width and hieght attributes inside that img src part.
|
|
|
|
Oct 16 2008, 08:19 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 90 Joined: Jul 2008 Member No: 666,978 |
ok i'd rather just add the width and height attributes. can u tell me where 2 put them? n wat about the border around the image? wat can i do 2 make that happen?
|
|
|
|
Oct 16 2008, 08:29 PM
Post
#4
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
ok, well you see that part that says "background-attachment:fixed"? just add this under that part.
CODE width:???px; hieght:???px; change the ??? to your measurements that you want. then for the border just add this under the width and hieght. CODE border-style:solid; border-color:000000; border-width:5px; just change the solid,000000, and the 5px values. I'm not sure it's exactly want you want but try it out. |
|
|
|
Oct 17 2008, 04:45 AM
Post
#5
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
^To make the border attributes a bit simpler, you can just combine the style and width like so:
CODE border:5px solid;
border-color:000000; |
|
|
|
Oct 17 2008, 07:24 PM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 90 Joined: Jul 2008 Member No: 666,978 |
ok the width and height aren't working. i changed it to 500x500. that didn't work. then i changed it to 1000x1000 n that didn't work either.
|
|
|
|
Oct 17 2008, 07:27 PM
Post
#7
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Playing around with height & width attributes won't change its size. You need to manually resize it on MS Paint, Photoshop, or some other editing program. I suggest looking for a bigger version of that background or just finding another one because resizing it manually usually causes it to lose a great deal of its quality.
|
|
|
|
Oct 17 2008, 07:28 PM
Post
#8
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 90 Joined: Jul 2008 Member No: 666,978 |
ooooooooooh ok. i understand. thank u. i will take ur advice.
|
|
|
|
Oct 17 2008, 07:53 PM
Post
#9
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Alright, I guess problem solved. PM me if you need this reopened. Topic closed & moved.
|
|
|
|
![]() ![]() |