i just want to center it ;(

JavaScript and client side scripting.

Moderator: General Moderators

User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Is the div a set width (such as 80%)? If so, you can just set the margin-left: 20%.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Afterlife(69)
Spammer :|
Posts: 14
Joined: Mon Oct 03, 2005 4:51 am

Post by Afterlife(69) »

i usaly just use invisible tables inside floating divs.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I've had this same problem at least 20 times... I always just resort to tables. It sucks.
Post Reply