Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Website technical question. (http://www.chiefdelphi.com/forums/showthread.php?t=88819)

Sean Raia 11-01-2011 18:46

Website technical question.
 
I have searched far and wide for an answer to this but i have not been able to find one.
My problem is, i am working off of last years website which has a great template, but its off center.
the typical <center> </center> and various css methods have not worked.
I believe this has to do with the way the website is built, but there needs to be a way to do it.

here it is for reference:
Devil tech website

Thanks in advance,
Sean.

alectronic 11-01-2011 18:53

Re: Website technical question.
 
I believe the problem comes because all of your repeating:
Quote:

#apDiv1 {
position:absolute;
width:620px;
height:150px;
z-index:1;
left: 12px;
top: 17px;
the "position:" tag generates an absolutely positioned element. And since they are positioned relative to the first parent element, they are probably piling up from top left down. I don't really have any suggestions about how to fix that, because I am not sure if removing the absolute from all those would throw off the look completely, but I guess you could start there.

aechmtwash11 11-01-2011 18:54

Re: Website technical question.
 
i believe it has to do with positioning everything relatively.


I'll mess with it and see if I can find an easy fix.

aechmtwash11 11-01-2011 18:57

Re: Website technical question.
 
Add this div wrapper inside the body tag

<div style="width: 622px; margin-left: auto; margin-right: auto; position: relative;">

Sean Raia 11-01-2011 19:01

Re: Website technical question.
 
disregard this post.

Sean Raia 11-01-2011 19:05

Re: Website technical question.
 
Quote:

Originally Posted by aechmtwash11 (Post 997241)
Add this div wrapper inside the body tag

<div style="width: 622px; margin-left: auto; margin-right: auto; position: relative;">

Wow that helped quite a bit! Just looks like there's a few more things that must be centered but il take a whack at it. Thanks!


All times are GMT -5. The time now is 21:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi