Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 18, 2006, 1:02 pm
rate this thread
How can I position an element with css for the following cases:
1. Position the element at the center of a box (or div), so that the top
and bottom paddings are equal, and the right and left paddings are
equal. The box (or div) has a fixed size and is bigger than the element.
The dimensions of the element are unknown (or for elements with
2. Position the element so that it is right justified within a box (or
div), with some padding from the right border. The dimensions of the
element are unknown (or for elements with different dimensions).
- » Launching the contents of a website when there is a link to it
- — Previous thread in » Webmaster Forum