posted 18 years ago
Hi All,
I'm creating a banner which spans the width of the page, and I have two images to include in this banner: flag.gif, and logo.gif.
I'm aligning flag.gif on the left, and logo.gif on the right. Now, if I were using TABLES, I would do something like:
So, I'm trying to model this banner with DIVs, and I'm not sure I'm doing it the best way:
Here is my CSS (*NOTE: I'm just getting my feet wet here with CSS, so don't laugh!):
The titlebar is simply a solid bar which runs along the bottom of the banner. Initially, I tried to nest the "rightBanner" DIV inside the "banner", but IE didn't like this -- it set the "rightBanner" width to 100%, but instead of starting at the left margin, it started the DIV at the end of the first <IMG>, so naturally the "rightBanner" ended up trailing off the right side of the page.
I don't know if I'm making sense, but any guidance on DIV layouts will be greatly appreciated.
Thanks,
WS
for (int i = today; i < endOfTime; i++) { code(); }