What I am trying to accomplish is a navigation bar that is center-aligned, padded on both sides with a left and right padding div.
The actual navigation bar is currently an inline-block div containing my tags for links and a left and right transition image, which will lead into the background of the navigation bar to take up the remaining space.
Normally, I would center the navigation bar in a 100% width div and use that wide div as the background, but since I am using semi-transparent .png files, I can't overlap like that.
The layout I would like:
(Click image to view full size.)
I updated this question to include an actual image of what I am working with. Currently I set the three <div>
s (Technically, the center is a <UL>
) to fixed widths, but I would like to add the flexibility of adding/removing links, and it will expand and shrink the <div>
s accordingly. As I said earlier, I cannot center-align the center links and overlap them on the background because I am using semitransparent .png
files for the images.