Help on making a DIV |
Help on making a DIV |
Aug 29 2007, 11:26 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 21 Joined: Feb 2006 Member No: 372,831 |
Okay, so I've been trying to make a div using this tutorial and when I get to the stylesheet she reccomends I can't get the background color to change! I'm also having trouble positioning the picture to where I want it. So I'll give the code and the picture and if anyone can help me please let me know!
CODE <style type=text/css> body { background-color: ######; background-image: url(""); background-position: bottom right; background-repeat: no-repeat; background-attachment: fixed; scrollbar-arrow-color:######; scrollbar-track-color: ######; scrollbar-shadow-color: ######; scrollbar-face-color:######; scrollbar-highlight-color:######; scrollbar-darkshadow-color:######; scrollbar-3dlight-color:######;} table, tr, td {background-color: transparent; border: 0px; padding:2;} table table {border: 0px;} table table table table{border: 0px;} {The actual modules} table table table {border: 1px solid; border-color: ######; background-color: ######; } {sets the default style for the body, table data, list data, divisions and text areas} body,table, td, li, p, div, textarea {font:normal 9px arial; color:######; font-weight:none; border:0px; text-transform: none; line-height:12px;} {class for the basic font for the page} .text {font:normal 9px arial; color:######; font-weight:none; border:0px; text-transform: none; line-height:12px;} {style for the number of comments you have. The actual ..} .redtext{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } {style for the number of friends you have.} .redbtext{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } {”Blurbs”, “About Me”, “Who I’d like to Meet”, “Friend Space”, and “Friend’s Comments” style} .orangetext15{font-family: arial; color: ######; font-weight: bold; font-size: 20px; letter-spacing: -2px;} {”General”, “Music”, “Movies”, “Television”, “Books”, “Heros”, “Status”, “Here for”, “Hometown”, “Body Type”, “Ethnicity”, “Religion”, “Sign”, “Smoke/Drink”, “Children”, “Education”, “Occupation”, and “Income” title style} .lightbluetext8{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } {”Contacting”, “Interests”, “Details”, and “Schools” title styling} .whitetext12{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {”In your extended network” style} .blacktext12{font-family: arial; color: ######; font-weight: bold; font-size: 20px; letter-spacing: -2px; } {Stylizing of your name above your picture } .nametext{font-family: arial; color: ######; font-weight: bold; font-size: 30px; letter-spacing: -3px; line-height: 35px;} {date stamp on comments} .blacktext10{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {This is how all anchor points will be displayed; anchor points appear before all links.} a{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } a:link{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {”View all friends” and “invite more” link style} a.redlink{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.redlink:link{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.redlink:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.redlink:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } a.redlink:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {2 links in very top on the left, and the 13 links above your picture with make the navigation bar} a.navbar{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:link{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a.navbar:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {Default Links} a:link, a.man{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; letter-spacing: 0px;} a:active{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:visited{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} a:hover{font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase;} {bolded words} .standard b, p b, B, strong { font-family:arial; font-size:9px; color:######; font-weight:none;border:0px; text-transform: uppercase; } </style>
|
|
|
|
![]() |
| *karmakiller* |
Aug 30 2007, 12:28 AM
Post
#2
|
|
Guest |
I read your PM. I don't know what type of codes your using for you div layout, since there are two basic ways of doing it. However, I find this way to be pretty straight forward and this might give you an idea:
QUOTE <div class="bg" style="position: absolute; left:0px; top:150px; overflow: auto;"> <img src="http://i50.photobucket.com/albums/f341/TheColorOfRomance/topmodel.jpg"> </div> <div class="content" style="position: absolute; left:100px; top:100px; width:360px; height:250px;overflow: auto;"> WRITE ABOUT YOURSELF. </div> <div class="links" style="position: absolute; left:100px; top:100px; width:360px; height:250px;overflow: auto;"> <a href="http://URL">Name of link.</a> <a href="http://URL">Name of link.</a> <a href="http://URL">Name of link.</a> </div> You need to go through and change the position, if you're unsure about that refer back to those tutorials we were talking about. Then for the links (URL), go to that link that I sent you in the PM |
|
|
|
thecolorofromance Help on making a DIV Aug 29 2007, 11:26 PM
karmakiller To change the background color, just change the bo... Aug 29 2007, 11:52 PM
thecolorofromance So..if I wanted to make my layout look like this H... Aug 30 2007, 12:04 AM
thecolorofromance Okay, thanks. I'm pretty much set, but I have ... Aug 30 2007, 12:34 AM
karmakiller No problem, if there's anything else, feel fre... Aug 30 2007, 12:40 AM![]() ![]() |