Jump to content

[SOLVED] Spaces between images


CoreyR

Recommended Posts

Anyone know why this is happening?

 

http://www.romerowebsites.com

 

HTML CODE

<div align="center" id="logo">
	<a href="index.php?page=index"><img src="/images/logo.gif" border="0"><br /><img src="/images/logo_bottom.gif" border="0"></a>
<div id="navi">
	<img src="/images/spcr.gif" width="14" height="1"><a href="page.php?page=about"><img src="/images/nav_about.gif" border="0"></a><img src="/images/spcr.gif" width="14" height="1"><a href="page.php?page=examples"><img src="/images/nav_examples.gif" border="0"></a><img src="/images/spcr.gif" width="14" height="1"><a href="page.php?page=port"><img src="/images/nav_portfolio.gif" border="0"></a><img src="/images/spcr.gif" width="14" height="1"><a href="page.php?page=contact"><img src="/images/nav_contact.gif" border="0"></a><img src="/images/spcr.gif" width="45" height="1"><img src="/images/nav_right.gif">
</div>

CSS CODE
#logo {
width:780;
margin:0;
padding:0;
}


Link to comment
https://forums.phpfreaks.com/topic/52074-solved-spaces-between-images/
Share on other sites

I think there are better ways to approach your layout, but if you want to do it this way, then try adding style="vertical-align:bottom;" to the top images and style="vertical-align:top;" to the bottom images.  Insert it into the tags right after the src attribute.  Not sure that it will solve your problem but i've had similar things when I've put images that are supposed to be aligned.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.