Centering |
Centering |
Jan 14 2007, 04:10 PM
Post
#1
|
|
|
¤ The Fatal Virus ¤ ![]() ![]() Group: Member Posts: 29 Joined: Dec 2006 Member No: 488,115 |
I got a layout from here and I want to center the whole page. Is there any code that I can use to do that?
|
|
|
|
![]() |
Jan 14 2007, 04:14 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 1,188 Joined: Jan 2006 Member No: 364,198 |
Did you mean the text? Or tables? http://www.createblog.com/scripts/download.php?id=431
|
|
|
|
Jan 14 2007, 04:20 PM
Post
#3
|
|
|
¤ The Fatal Virus ¤ ![]() ![]() Group: Member Posts: 29 Joined: Dec 2006 Member No: 488,115 |
I will try that code and get back to you real fast. Gimme one sec.
EDIT: Well, I have a DIV layout and that one just made the whole code stop working. Is there another one I can use? |
|
|
|
Jan 14 2007, 04:42 PM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
To center a div layout you have to position it in the center. Which layout is it?
|
|
|
|
Jan 14 2007, 06:06 PM
Post
#5
|
|
|
¤ The Fatal Virus ¤ ![]() ![]() Group: Member Posts: 29 Joined: Dec 2006 Member No: 488,115 |
Uhhh.....
All I can do is give you a link to my profile... http://profile.myspace.com/index.cfm?fusea...iendid=67722401 Sorry I cant help more. |
|
|
|
Jan 14 2007, 06:19 PM
Post
#6
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
^ That works.
What you would have to do is pretty much reposition most of it. If you don't know much about divs I would really save the code before doing it. To move the image find: QUOTE <div class="bg" style="position: absolute; left:0px; top:125px; width:1000px; height:600px; overflow: visable;"> That positions the image. To move it more to the right you edit left:0px; You make it higher to move more to the right. After you do that you have to edit the positions for all the other divs. You would have to do 4 more after that one. |
|
|
|
![]() ![]() |