o yea and |
o yea and |
Apr 16 2007, 08:18 PM
Post
#1
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
im workin on a div lyt right and i jus wanted to knoe if theres anyway to move the tables down as n usin this
CODE <style type="text/css"> .banner {width: ##px; height:##px;position: absolute;margin-left: -190px;left: 50%;top: 0px;} body {margin-top:100px;} </style> this is wat i use right and i wana use it again but it doesnt work so does anyone have another code but to move the tables on a div lyt down? |
|
|
|
![]() |
Apr 16 2007, 08:21 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Its not a div layout if the tables are showing? I think you just mean adding a banner over the actual myspace. Or do you mean you are actually using all divs and you want to add extra space. If thats the case you need to move all the divs down by editing their positions.
Have you looked at this? |
|
|
|
Apr 16 2007, 08:24 PM
Post
#3
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
yea thats it cuz i want the top picture to show but not as a banner but as in the backround and ill try that right now :]
|
|
|
|
Apr 16 2007, 09:09 PM
Post
#4
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
edit
|
|
|
|
Apr 16 2007, 09:11 PM
Post
#5
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
I hope you understand the coding of that generated layout, because to get the image on top you need to edit the top positon of all the divs and move it down enough. Then you have to position another div in that image space.
Thats how you make the space you want. You just use this: CODE <div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV. </div> |
|
|
|
Apr 16 2007, 09:12 PM
Post
#6
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
umm ok but is that the same as the codein on the code? [[on the 1st part]]
|
|
|
|
Apr 16 2007, 09:20 PM
Post
#7
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
On what code? That coding I pasted you is a code for a basic div. It is different from the earlier one , because that one attempted to make space for it. The reason why that one probably didn't work was because their code be codes that are interfering.
If you edited the code I gave you earlier correctly, and it didn't work , then most likely coding that you have is prohibiting it.. |
|
|
|
Apr 16 2007, 09:28 PM
Post
#8
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
OK I KINDA GET IT
OK SO I REPLACE THIS .div1 { background-color:WHITE; color:d200ff; border:2px double; border-color:33abff; width:350px; height:350px; overflow:auto; position:absolute; z-index:2; left:50%; top:0%; margin-left:-375px; margin-top:150px; text-align:center; visibility:visible;} WITH THIS? <div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto;"><center> CONTENT FOR DIV. </div> |
|
|
|
Apr 16 2007, 09:31 PM
Post
#9
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
No. You don't replace anything. You need to go through all the divs the generator created and then just edit the top number. Make it higher so that the tables will move down. You have to be consistent. Move them down enough so that you have enough room to do your image.
Then you take that code I gave you. Put it in your I'd like to meet section. Change the 000 to the positions , width, and height. (To that of where you want your image to be) Then you place your image in the image code (<img src... ) where it says content. This is kind of why I hate the generator. Atleast when you don't use it , it allows for you to actually learn divs. That way you wouldn't be so confused or the process would be a gazillion times easier. |
|
|
|
Apr 16 2007, 09:35 PM
Post
#10
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
ok ill try
|
|
|
|
Apr 16 2007, 09:37 PM
Post
#11
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
If you get stuck just refer to our DIV tutorial. Even though you already have that code, the positioning part is really good to at least help you understand what you are editing.
|
|
|
|
Apr 16 2007, 09:46 PM
Post
#12
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
yay!! i got it!!! thanx 4 ur help!!!
O AND I 4GOT CUSTOM FRIENDS DO WORK ON A DIV LYT RIGHT? |
|
|
|
Apr 16 2007, 09:55 PM
Post
#13
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
I'm glad you got it! :] Yea they do btw:
CODE <a href="URLTOFRIEND"><img src="FRIEND IMAGE URL"></a>
|
|
|
|
Apr 16 2007, 10:04 PM
Post
#14
|
|
![]() I LOVE RICHIE ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 301 Joined: Feb 2007 Member No: 502,341 |
LOL KK THANX!
O AND JUS 1 MORE THING HOW COME WHEN I PUT MY COMMENT BOX CODE IT MESSES UP MA LYT? |
|
|
|
![]() ![]() |