View Single Post
Old 11-09-2012, 09:39 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,584
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Do you want it to stay in the same spot or do you want it to stay centered?
For centering inline elements like images you need to apply text-align: center to the parent. Centering block-level elements like divs is easy if you assign a specific width to them and set left and right margin to “auto”.

And by the way:
Quote:
<font size="5"><b>…
Please don’t do that. For what do we have CSS?
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote