I'm looking to recreate a page header that was originally coded with the use of tables. It consisted of the complex part of the header as an image on the right adjacent to coloured table rows on the left that lined up with the horizontal pattern in the image.
The result was a header that resized with the browser. After much searching and reading I'm no closer to an answer about how I might achieve the same result using CSS positioning.
To give an idea of the header result I'm looking for see: <snip>
Appreciate any suggestions
[edited by: Nick_W at 6:12 am (utc) on April 30, 2003] [edit reason] no urls please [/edit]
In CSS you have some wonderful features you can use for page mastheads. In particular, by creating a div that surrounds your masthead, you can absolutely position elements within your masthead in 3 dimensions!
For example, I have done mastheads with a title on the L and an image on the R. By absolutely positioning these elements and specifying a higher z-index for the title, I have a title that slides across in front of the image as the user changes browser width.
If you are not a standards nazi, you can use some very interesting alpha transparency effects using IE and -moz filters that foreshadow what will likely be available to us in CSS3 standards.
What this does is create a div 120px high with a tiled background and then overlays two graphics on the left - a title (title1) with a dropshadow effect (title2), both with transparent backgrounds. There is also a picture on the right. At 800px width there is no overlap, but as the page size gets smaller, Title1 slides over the picture with Title2 sliding behind. It is a really neat effect and allows you to have a liquid title effect that works across a very large range of browser resolutions.
While you can't post a URL, could you make an ASCII art mockup and post it so we can see what you are looking for?