help with a design |
help with a design |
Jun 28 2008, 11:06 AM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Aug 2007 Member No: 555,108 |
well im trying to do a DIV w/ http://fc05.deviantart.com/fs26/f/2008/033...299b8737e11.png
so thats the backround i want to use but when it comes to the coding im so lost. can some1 help me out?once it's coded basic i can change fonts, colors, and tweak positions if i have to but idk how 2 write code and since the remake of the site my old 1 is screwed up, so i cant work off that coding. i really jus need the image to b on the right part of the page, boxes set up in each of the 4 areas for me to do w/e in, and the regular layout totally hidden. i can work from there |
|
|
|
![]() |
Jun 28 2008, 10:27 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
CSS is just a cascading style sheet. it allows for colors, text, fonts, and in the case of divs, positioning elements.
what you can do for this one, is make a main div that's the width and height of the background you're using. set the background of that main div to be the image you posted here. within that main div, make four more and position those within that one, like so: CODE <div class="main"> from there, simple add positioning attributes for those four embedded div elements. because they're within another div, when you use the attribute position:absolute;, that will position those absolutely within your main div. easy enough.<div class="div1"> text, text, text </div> <div class="div2"> more text, text, text </div> <div class="div3"> omg wtf more text </div> <div class="div4"> image </div> </div> like i was saying in a different post, for example, if you want the first div to be 10 pixels from the left, and 25 pixels from the bottom, you'd use a style sheet similar to this: CODE <style type="text/css"> likewise, if you want it from the top or the right, you'd use those instead of left and bottom.
.div1 { position:absolute; bottom:25px; left:10px; } </style> |
|
|
|
lbroskee help with a design Jun 28 2008, 11:06 AM
Synesthesia Moved to MySpace Support. Also, please post your c... Jun 28 2008, 06:43 PM
lbroskee i have no coding for it. that is what i need. the ... Jun 28 2008, 07:03 PM
Synesthesia Haha yeah, sorry. I'm just really used to sayi... Jun 28 2008, 07:12 PM
lbroskee thanx, but i dont get step 2...from what i know th... Jun 28 2008, 08:18 PM
lbroskee to b honest im a noob with this stuff, so lik no c... Jun 28 2008, 10:43 PM
lbroskee well i tried the big div area, but it's still ... Jun 28 2008, 11:33 PM![]() ![]() |