Forum Moderators: open
Here's a quote from this forum in 2002:
"Create a very wide image (much wider than any real resolutions) and place it in table cell with %-specified width. This will create a feel that the image is adapted for specific resolution and fills entire screen.
This technique is widely-spread, look at professional sites with fluid design and you'll find a lot of examples."
Is this still the best way?
Or would this css:
<style type="text/css">
p.margin {margin: 0cm 0cm 0cm 0cm}
</style>
work for images as well as text?
And, in general, is css as browser-flexible as tables are?
body element, and repeat it along the x-axis so it always covers the entire horizonal width of the screen. This is more flexible tha the older method of using a 100% width table cell. body {
background:#fff url(/path/image.jpg) repeat-x 0 0;
}