 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
tukutela
Joined: 19 Feb 2006 Posts: 3
|
Posted: Sun Feb 19, 2006 7:43 pm Using CSS to have images flush together, HELP!!! Pls. |
|
|
|
Hi,
I'm relatively new to web design, and are working on a project that's driving me nuts
I'm trying within a row in a table to put two images side-by-side, I've played around most conceivable CSS options but I keep getting a slight gap between the images. How can I get them present flush together?
Here's an example of the HTML code I'm working with...
<table cellspacing="0px" cellpadding="0px">
<tr>
<td>
<img alt="firstimage" class="first" src="MyImage" />
<img alt="secondimage" class="second" src="MyImage2" />
<td>
</tr>
where the CSS looks like:
.firstimage, secondimage
{
position: relative;
width: 100px;
height: 50px;
top: 0px;
right: 0px;
vertical-align: bottom;
}
Any help would be greatly appreciated, thanks for taking the time to read this message. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8256 Location: Castle Rock CO USA
|
Posted: Mon Feb 20, 2006 3:39 am |
|
|
|
It is a whitespace problem
| Code: |
| <img alt="firstimage" class="first" src="MyImage" /><img alt="secondimage" class="second" src="MyImage2" /> |
_________________
Corey
Loud Commerce | Loud Worx | Toll Free Solutions |
|
tukutela
Joined: 19 Feb 2006 Posts: 3
|
Posted: Mon Feb 20, 2006 3:55 am Thanks! |
|
|
|
Thankyou very much, worked a treat. Now I understand....  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8256 Location: Castle Rock CO USA
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|