I am trying to stack 5 images of the same dimensions next to each other horizontally as the top bar of my website. I am adding them separately as they will move around from page to page, and will also be links.
I have floated the 5 images left, and they have white margins vertically where the edges of the images meet when i want them to sit flush.
This is the div in my HTML:
Expand|Select|Wrap|Line Numbers
- <div id="top_banner">
- <a href="alligator.html"><img src="images/top_alligator_02.jpg" alt="alligator thumbnail" title="alligator_thumbnail" /></a>
- <a href="excalibur.html"><img src="images/top_excalibur_03.jpg" alt="excalibur thumbnail" title="excalibur_thumbnail"/></a>
- <a href="fabrication.html"><img src="images/top_fabrication_04.jpg" title="fabrication_thumbnail" alt="fabrication thumbnail"/></a>
- <a href="minigator.html"><img src="images/top_minigator_05.jpg" title="minigator_thumbnail" alt="minigator thumbnail"/></a>
- <a href="balmoral.html"><img src="images/top_balmoral_06.jpg" title="balmoral_thumbnail" alt="balmoral thumbnail"/></a>
- <a href="index.html"><img src="images/hl_logo_07.gif" title="henry lewis logo" alt="henry lewis logo"/></a>
- </div>
- and my CSS is
- #top_banner {
- margin: 0px;
- border: 0px;
- padding: 0px;
- }
Does anyone have any other suggestions?
Thank you sooooooo much for your time :)