How do I put a Bg in a Div section? |
How do I put a Bg in a Div section? |
![]()
Post
#1
|
|
![]() "KDrama Obsessed" ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 307 Joined: Mar 2004 Member No: 7,156 ![]() |
I'm using this Layout from CB. I tried to insert
CODE background-image:url("http://i21.photobucket.com/albums/b267/3b1k7/myspace/snowflakes.gif"); background-repeat: repeat;filter:alpha(opacity=91); -moz-opacity:0.91; opacity:0.91; -khtml-opacity:0.91; } padding:0;} that into the div part but it won't work. how can i put a bg in a div where i have my info?
|
|
|
![]() |
![]()
Post
#2
|
|
![]() What's my name? Janette. and ily. <3 ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,139 Joined: Apr 2006 Member No: 391,911 ![]() |
1st of all: That's not gonna work if you put it into a div because of how Ricky did the styling- in the css.
2nd of all: Ricky would not like you editing his code at all without permission. 3rd of all: If you added a background to the div, it would probably look pretty bad with the rest of the layout, don't ya think? |
|
|
![]()
Post
#3
|
|
![]() "KDrama Obsessed" ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 307 Joined: Mar 2004 Member No: 7,156 ![]() |
1st of all: That's not gonna work if you put it into a div because of how Ricky did the styling- in the css. 2nd of all: Ricky would not like you editing his code at all without permission. 3rd of all: If you added a background to the div, it would probably look pretty bad with the rest of the layout, don't ya think? I don't like when people edit,add,or remove codes from createblog's layouts. ![]() First of all, since its the box where the div is white, I wanted to put a bg with that has something moving like snow or whatever. Second of all, why can't a user add a little something-whether it be a cursor,bg, or whatever they want to add- to a layout they got from CB? Its not like their stealing ANYTHING or taking credit- it even says who made the layout and where they can get it. Plus, The Overlay Image Or Image Mapping itself is not modified or Messed With. Third of all, I think a bg would look nice with the rest of the layout. ![]() You can use CSS to add a background. CODE <style> DIV.namehere { background-image: url("http://www.acme.com/images/funnyface.gif"); background-repeat: repeat-y/x; }</style> Where it says 'name' modify with the class you specified for that div. If you didn't, then I suggest you do. Edit your div code so the beginning looks something like <div class="namehere" etc... For background-repeat, remove only the x or y and the slash. Y=vertical repeat and x=horizontal repeat. Thanks Mona Lisa ![]() |
|
|
![]() ![]() |