Thread: Loading Order
View Single Post
Old 07-13-2004   #2 (permalink)
Frank Jaeger
Registered User
 
Frank Jaeger's Avatar
 
Join Date: Oct 2003
Location: Illinois
Posts: 107

Send a message via AIM to Frank Jaeger Send a message via MSN to Frank Jaeger
There's no need to use any javascript. The easiest solution to this would be to create a class as follows:

Code:
.EDIT { margin: 0px auto 0px auto; width: EDIT; }
What you do would be to to edit the value shown to match your needs. Figure out your largest width value and insert it into the above class. Make sure to take any padding or margins into consideration. Then do something along these lines:

Code:
<body>

<div class="EDIT">

CONTENT

</div>

</body>
That should solve all your problems of centering.
__________________
I am not original.
Frank Jaeger is offline