Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
2/20/2003 6:21:45 AM EDT
Man, I am about ready to pull out my .45 and put my computer out of its misery. [pissed]

I want to display 2 images, one above the other, with no gap between them.  I have tried every conceivable margin, border, padding, etc, etc, keyword to no avail.  I tried making the 2 images cells in a table.  I tried a slew of CSS style keywords.  Nothing seems to work.  Is this possible to do?

Here is kind of what I want to do:






Any thoughts?  Thanks.
2/20/2003 6:35:51 AM EDT
[#1]
Send me the pics and I will splice them together for you. This isn't exactly what you were asking for though.[:(]

ByteTheBullet  (-:
2/20/2003 6:36:12 AM EDT
[#2]
Tables should work fine. all you need to do is set the cellpadding and cellspacing to "0". also set the cell width and height to match the particular image height and width. this is what I use and never had a problem. Ends up being seamless. Here is an example. The nav bar and the header of the page are multiple images. Feel free to look at the code, there is extra stuff in there you don't need, but you sound like your knowledgeable enough to know what to leave out. The site is still under construction, so please pardon the sloppiness.

[url]www.newlibertylanes.com/index.aspx[/url]
2/20/2003 6:46:06 AM EDT
[#3]
right, cellpadding and cellspacing set at "0". don;t need no CSS for this. drop the div tag.



eeew
>eeew



2/20/2003 6:46:42 AM EDT
[#4]
oh yeah, if you want to make one of the images a link, set the border="0" or it will knock things all out of whack.
2/20/2003 6:59:22 AM EDT
[#5]
Just put a
in between the image ref's.

2/20/2003 7:40:00 AM EDT
[#6]
Thanks for the info.

I could swear I tried the table with cellpadding=0 and cellspacing=0, but apparently not.  That last batch of weed musta had herbicides in it. [shock]
2/20/2003 7:51:55 AM EDT
[#7]
(Most) html sucks.
2/20/2003 8:44:10 AM EDT
[#8]
html is here to stay (for now). New version is already out xhtml. no matter what scripting language you use, you will still need html in some form.
2/20/2003 4:44:33 PM EDT
[#9]
One problem I've seen with some browsers is that in order to get two images to touch eachother the code needs to be on the same line.

So instead of well formatted HTML like:





poorly formatted HTML like



2/20/2003 5:31:55 PM EDT
[#10]
try hspace="0" and vspace="0" in the img tag