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, 06:43 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 18,173 Joined: Mar 2005 Member No: 108,478 |
Moved to MySpace Support. Also, please post your coding.
|
|
|
|
Jun 28 2008, 07:03 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Aug 2007 Member No: 555,108 |
i have no coding for it. that is what i need. the coding i have is for my old layout. for this all i have is that backround design layout. which i posted
|
|
|
|
Jun 28 2008, 07:12 PM
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 18,173 Joined: Mar 2005 Member No: 108,478 |
Haha yeah, sorry. I'm just really used to saying that. Here's the topic on how to code MySpace DIVs: http://www.createblog.com/forums/index.php?showtopic=142922. Ask further if you need help with it.
|
|
|
|
Jun 28 2008, 08:18 PM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Aug 2007 Member No: 555,108 |
thanx, but i dont get step 2...from what i know the CSS coding is the reg look, so y do i need it for a DIV?
|
|
|
|
Jun 28 2008, 10:27 PM
Post
#6
|
|
|
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> |
|
|
|
Jun 28 2008, 10:43 PM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Aug 2007 Member No: 555,108 |
to b honest im a noob with this stuff, so lik no clue wut u mean. sorry
|
|
|
|
Jun 28 2008, 11:33 PM
Post
#8
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Aug 2007 Member No: 555,108 |
well i tried the big div area, but it's still up too high and idk y
|
|
|
|
![]() ![]() |