can i put transperent as i bg color for my div |
can i put transperent as i bg color for my div |
Feb 7 2006, 11:53 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 22 Joined: Feb 2006 Member No: 371,503 |
if so its not working?
</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 will be lapping the MySpace advertisment. The rest is self explanatory, width for width, height for height, colors and so on. Good Luck! mrk </style> <style type="text/css"> body {background-color:transparent;} td, .text, div, input {color:White !important;} span, b {color:Black !important;} a {color:White !important;} img {border:0px;} table, tr, td, tbody {background-color:transparent; border:0px;} body div table tbody tr td font {visibility:visible;} object {display:block; position:absolute; top:0px; left:0px; visibility:visible;} .text, table table table table a, table table table table div, .frm1 {visibility:visible;} table table table table div a, .frm1 input {visibility:visible;} .herpe {content:"herpe's comments in div";} a.text, .nametext, object, .contactTable, .lightbluetext8, .comt td td td table, .btext, .orangetext15, .redlink {display: none;} .comt table {position: relative; top: -45px; width: 400px;} * html .comt table {top: -35px !important;} .comt td {visibility: visible; background-color:Black; border: none;} .comt b {position: relative; top: -50px;} .comt td td td b {top: 0px;} .comt { visibility:visible; width: 450px; height: 400px; position:absolute; overflow: auto; left:50%; top:0%; border:2px dashed; border-color:White; margin-top:1000px; margin-left:-225px; background-color:Grey; } .div0 { background-color:Black; color:White; border:2px dashed; border-color:White; width:800px; height:150px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-400px; margin-top:725px; visibility:visible;} .div1 { background-color:Black; color:Grey; border:2px dashed; border-color:Black; width:550px; height:550px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-400px; margin-top:150px; visibility:visible;} .div2 { background-color:Black; color:White; border:2px dashed; border-color:White; width:225px; height:550px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:175px; margin-top:150px; visibility:visible;} </style> <div class="frm1"><table><tr><td><table><tr><td><table><tr><td> |
|
|
|
ojjairus can i put transperent as i bg color for my div Feb 7 2006, 11:53 AM
coldtrance a transparent background would be white... or it w... Feb 7 2006, 05:44 PM![]() ![]() |