How can I achieve something like this very old fashioned stuff with css
I do not want to use a fixed width for element (which might be a form or an image).HTML Code:
<table border="1" bgcolor="xyz">
With a div, it uses the whole width of the window. If i set it to position:absolute; it has the right width, but I don't know, how to center it.