Ok, so maybe my subject line has the answer (layers) but I'm not wanting to get heavy into DHTML and/or layers. It's only a whole area of HTML that I don't know enough about (kinda like what I'm posting about).
I have a web application that when you log in, you can perform more or less functions. And the functions are grouped under 'tabs'.
A screenshot exists here:
http://prod1.gbgraphics.com/coolstuff/tabs.JPG So right now, the images are all sized absolutely, sliced up and are stuck in a table row. The images have a width and height. Also, the tiny little piece of the background image (viewable between the two curves at the top of the tabs) is included with the tab images (ie: the tab is not a transparent gif that lets us "see through" to the background gradient).
My first question then, is it even possible to do this? Have one image sit on top of another? Almost like if the tr tag had a background image (the gradient) and each td cell contained a square image of a tab, with the curvy piece at the top being transparent. But of course, there's not tr image background attribute. So how to do it? Am I stuck with layers? will it even work with layers?
Second, because there are a variable amount of tabs, can the last piece at the right (the gradient that isn't covered by a tab) be made to 'stretch' to fit the remaining space? The background, which thankfully is not a gradient anymore, with the minimum amount of tabs (as shown in the screenshot) does not have any vertical
patterns. So a 2pxl by 36 high pxl image of this background ought to be able to stretch and fill the last td tag. But can we do this in HTML? I'm thinking like how you can specify the body tag's background image be a very simple pattern and then have it 'fill'.
Thanks for any help.
[ July 25, 2003: Message edited by: Mike Curwen ]