div |
![]() ![]() |
div |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 120 Joined: Apr 2006 Member No: 396,027 ![]() |
how do you get a background image on a div table. i have a div layout ofcourse
|
|
|
![]()
Post
#2
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
A background in the overall background? or a background specifically for one div?
If you mean for one div , post the code to one of your divs. |
|
|
![]()
Post
#3
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 120 Joined: Apr 2006 Member No: 396,027 ![]() |
one div && what`s the code. i only have the image code. &&& i want the image as a background
|
|
|
![]()
Post
#4
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
You wan the image in the background of one of your divs? Not as the image you align you divs into?
If you want that image, as the background of your div box. You need to show me your div code. If you mean like you have an image. That you want to be th ebackground. Then you want to align divs into it. Thats different. Which one. |
|
|
![]()
Post
#5
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 120 Joined: Apr 2006 Member No: 396,027 ![]() |
yea i have the image && i want it as a background in one of my div
|
|
|
![]()
Post
#6
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Ok can you post the div you want it the background for? So i can show you how to add it in?
|
|
|
![]()
Post
#7
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 120 Joined: Apr 2006 Member No: 396,027 ![]() |
<div class="div1">
</div> |
|
|
![]()
Post
#8
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
I need the part thats in style tags. Or just link me to your myspace I can go through your source and find it , if its off private.
|
|
|
![]()
Post
#9
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 120 Joined: Apr 2006 Member No: 396,027 ![]() |
CODE </td></tr></table></td></tr></table></td></tr></table></div>
<style> BASIC INSTRUCTIONS: You can delete this section from the code if you don't need it, but it won't affect the looks of your profile in any way. For every div class (.div1, .div2, etc) you will notice a lot of common properties. To move the layer, use: ** margin-top to move it up and down ** margin-left to move it left and right margin-left begins from the center of your page. If you set it to 0px, the top left corner of the div will be located in the center of the profile. If you want the layer in the center of your profile take the width of the div, divide it by 2, and multiply it by -1. (In other words, divide it by 2 and make it a negative number.) For example, your div is 400px wide. Give it a margin-left of -200px and the div layer will sit in the middle of the screen. Now, if you want to move it somewhere else, you will have to experiment with the position. margin-top should be no less than 150px since anything above that may overlap the MySpace advertisment. The rest is self explanatory, width for width, height for height, colors and so on. Good Luck! mrk bbz Overlay Model Generator (beta) http://bbzspace.com </style> <style type="text/css"> body {background-color:606060; background-image:url(http://img353.imageshack.us/img353/229/bw0rrxi2.png); background-repeat:repeat; background-position:top right; background-attachment:fixed;} td, .text, div, input {color:000000!important;} span, b {color:8CD8FF!important;} a:active, a:visited, a:link { font-family:ARIAL; color:F3FF8C;} a:hover { font-family:ARIAL; color:8CD8FF; text-decoration:none;border-bottom:0px dashed WHITE;} a.navbar:active, a.navbar:visited, a.navbar:link { font-family:ARIAL; color:F3FF8C;} a.navbar:hover { font-family:ARIAL; color:8CD8FF; text-decoration:none;border-bottom:0px dashed WHITE;} table, tr, td, tbody {background-color:transparent; border:0px;} object {display:block; position:absolute; top:0px; left:0px; visibility:visible;} table div div, table tr td div font a {visibility:hidden;} .div1 a, .div2 a, .div3 a, .div4 a {visibility:visible !important;} .text, table table table table a, table table table table div,.frm1 {visibility:hidden;} table table table table div a, .frm1 input {visibility:visible;} .text, td.text td.text table, .contactTable, .lightbluetext8 {display:none;} table table, table table td {padding:0px; height:0px;} .div1 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:554px; height:235px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-405px; margin-top:155px; visibility:visible;} .div2 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:150px; height:395px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:160px; margin-top:155px; visibility:visible;} .div3 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:370px; height:150px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-405px; margin-top:400px; visibility:visible;} .div4 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:175px; height:150px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-25px; margin-top:400px; visibility:visible;} .div5 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:370px; height:150px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-405px; margin-top:560px; visibility:visible;} .div6 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:335px; height:150px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-25px; margin-top:560px; visibility:visible;} .bbzDiv {content:"Overlay Generator beta";} </style> <div class="frm1"><table><tr><td><table><tr><td><table><tr><td> <style type="text/css"> .mygen { Created using MyGen 2.5 - www.mygen.co.uk } .mygen { Miscellaneous Properties } body { cursor:crosshair;} a:hover { cursor:crosshair;} </style> <style type="text/css"> a:link img { border:none; border-color:; } a:hover img { border:none; border-color:; } a:hover img { filter: progid:DXImageTransform.Microsoft.Pixelate (maxsquare=3) } </style> <style type="text/css"> .contactTable { position:absolute; left:50%; top:280px; margin-left:-40px; z-index:3; width:350px; background-color:white;} .contactTable {visibility:hidden; border:0px !important;} </style> <style type="text/css"> table, body {background-color:BGCOLOR;} div { visibility: visible; } div table { visibility: visible; } div table td { visibility: hidden; } div table table td { visibility: visible; } div table table { visibility: visible; } div table table div { visibility: visible; } table td div div { visibility: visible; } div table { visibility: hidden; } [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[iframe]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] {visibility: hidden; } Frame1{display: none;} </style> <STYLE TYPE="text/css">p {align=justify} BODY{cursor: url(http://content.cometsystems.com/czcontent/cursors/tinyh.cur);} a {cursor: url(http://content.cometsystems.com/czcontent/cursors/tinyh.cur);} </STYLE> <style type="text/css"> body, textarea, div { scrollbar-face-color:606060; scrollbar-highlight-color:606060; scrollbar-3dlight-color:606060; scrollbar-shadow-color:606060; scrollbar-darkshadow-color:606060; scrollbar-arrow-color:8CD8FF; scrollbar-track-color:606060;} </style> <style type="text/css"> p{color:black; font-family:arial; font-size: 8pt; text-align:justify;line-height:13px;} b{color:8CD8FF; font-family:arial; font-size: 9pt; text-align:justify; letter-spacing:-1pt;} i, em{color:F3FF8C; font-family:georgia; font-size: 8pt; text-align:justify;} U {color:black; font-family:terminal; font-size:8pt; font-style:underline; border-bottom:1px solid aaee00;text-align:justify;text-transform:uppercase;} </style> |
|
|
![]()
Post
#10
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Thanks.
![]() Find: QUOTE .div1 { background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:554px; height:235px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-405px; margin-top:155px; visibility:visible;} Change too: CODE .div1 { background-image: url(urltoimagehere); background-color:606060; color:8CD8FF; border:2px solid; border-color:8CD8FF; width:554px; height:235px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-405px; margin-top:155px; visibility:visible;} Put the image url where it says urltoimagehere. |
|
|
![]()
Post
#11
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 120 Joined: Apr 2006 Member No: 396,027 ![]() |
omg thank you soo much!!!!!!!!!
|
|
|
![]() ![]() |