Forum Moderators: mack
I am fairly new to web programming (hence the forum), and it seems that I have run into an issue. I am trying to make my header adapt to different resolutions.
Now, I am under the impression that I have to use percentages in order for it to stretch. This much makes sense to me. However, I must be doing something wrong. Here is a general description of how me header is laid out: I have a simple logo on the left hand side, with tabbed navigation on the right hand side. The center of the header is empty. I have the header split into three image files: the left logo, a 'spacer' image, which, when tiled, would appear to create one continuous image (for the center piece), and the navigation for the right hand side.
My goal is to have the logo displayed on the left hand side, with the spacer image tiling to fill up the center until it reaches the navigation image.
With tables one way of doing this would be to have 2 rows, 2 cells on top row and 1 cell for bottom row. In the top left place your loco, then position your tab navigation within the 2nd cell aligned left. Then for the bottom cell tile your spacer image to appear as a bar etc.
The key with the table layout would be to specify the table width as a percentage.
With CSS you might have a div that includes your header, you could them specify your positioning and width within your css file.
Hope this gives you some ideas.
Mack.