home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

image blending in HTML

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2075
Discussions: 200,974, Posts: 2,379,791, Members: 246,338
Old January 3rd, 2006, 02:41 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Dec 2004
Location: Shoreham, England
Posts: 341
image blending in HTML

Hi everyone,

Does anyone know how to place two images side by side to create the affect of them being one image in HTML? I mean, without the gap in between.

I've tried using a table with cellpading="0" and cellspacing="0" but these didnt seem to differ the gap in between the two images...

Also, i've tried, when using tables, wrapping the image with

<div style="position:relative;right:0px"> IMAGE </div>

and for the right image...

<div style="position:relative;left:0px"> IMAGE </div>

Thanks
plowman is offline   Reply With Quote
Old January 3rd, 2006, 03:09 PM     #2 (permalink)
Ultimate Member
 
cryptoguy's Avatar
 
Join Date: Jun 2002
Location: Ohio
Posts: 1,349
Send a message via AIM to cryptoguy
By default the border of the table =1, you can try to do this <table border="0"> along with the cellpadding and cellspacing. Also make sure that the cell width and height are exactly the size of the image. That's all the advice I can give I think.
__________________
23. That's the number of people Mr. T has pitied in the time it has taken you to read this sentence.
cryptoguy is offline   Reply With Quote
Old January 3rd, 2006, 03:27 PM     #3 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,560
Blog Entries: 4
Send a message via Yahoo to RicheemxX
ahhh look at the next post
__________________
“Every question involves someone having to work for an answer, isn't it about time you did your share”
"Non-technical questions sometimes don't have an answer at all."
Linus Torvalds

Last edited by RicheemxX : January 3rd, 2006 at 04:03 PM.
RicheemxX is offline   Reply With Quote
Old January 3rd, 2006, 03:48 PM     #4 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,560
Blog Entries: 4
Send a message via Yahoo to RicheemxX
here's the mark-up I had to use to get it to work right

Quote:
<body>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="the size you are using" >
<tr>
<td align="center" width="the image size">
<img border="0" src="your image" align="middle" width="the image size" height="the image size"></td>
<td width="325">
<img border="0" src="your image" width="the image size" height="the image size"></td>
</tr>
</table>

</body>

and it looks seemless to me
RicheemxX is offline   Reply With Quote
Old January 3rd, 2006, 03:50 PM     #5 (permalink)
Ultimate Member
 
cryptoguy's Avatar
 
Join Date: Jun 2002
Location: Ohio
Posts: 1,349
Send a message via AIM to cryptoguy
I am sure that images can be placed right next to each other using tables. For example in www.microsoft.com. I just looked at my site, and I just used cellpadding and cellspacing
cryptoguy is offline   Reply With Quote
Old January 3rd, 2006, 03:59 PM     #6 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,560
Blog Entries: 4
Send a message via Yahoo to RicheemxX
I was just having issues with it the first time around. mainly because my cells where set to to large a size so there would be a gap from the left over space. I set the cells to the same size as the pictures with no borders or padding and it worked out fine
RicheemxX is offline   Reply With Quote
Old January 3rd, 2006, 04:08 PM     #7 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
Use CSS positioning for layouts rather than tables.
You can wrap the image in <div></div> tags and use CSS to position them with pixel precision.

Tables are made for designed for displaying data, not layouts.
VHockey86 is offline   Reply With Quote
Old January 14th, 2006, 05:31 PM     #8 (permalink)
Member
 
Join Date: Dec 2004
Location: Shoreham, England
Posts: 341
Ok- lol,

I had a space in between the two <img> tags-DER!!!!

Foolishness on my part...thanks ppl
plowman is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export excel --> html - How to clean html? BITM@D Applications and Operating Systems 20 June 8th, 2009 04:56 AM
HTML background image question. Shiznaught Graphic Design and Digital Photography 3 March 6th, 2005 01:36 AM
Simple HTML Image Changing Question jinsta Webmastering and Programming 9 November 3rd, 2004 11:40 PM
Blending Politics and Religion: Theophylact IMO Community 4 December 9th, 2003 08:29 PM
html quirk question/image placement DPA Graphic Design and Digital Photography 2 February 10th, 2003 10:51 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3061)
Charges against non-tippers dropped.. (8)
The disrespect of Obama by Russian .. (49)
Delete an OS (16)
Nvidia GTX 260 problem (8)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
windows vista security holes (17)
Regular Build (11)
Point and Shoot Camera Suggestions. (7)
windows 7 problem (7)
Internet Lost (5)
Multiple Restarts Required at Boot (5)
Recent Discussions
Dynex DX E-402 (3)
EVGA 9800 gtx help with finding a goo.. (12)
Multiple Restarts Required at Boot (5)
Point and Shoot Camera Suggestions. (7)
Delete an OS (16)
cell phone won't work (0)
Nvidia GTX 260 problem (8)
Is the PSU I received dead? (15)
Can't open Word (12)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (37)
Steam ID's, Gamertags etc... (4)
Games, Cables, PCI cards, and more fo.. (6)
Dept. of HS: NSA 'Helped' Develop Vis.. (17)
Linksys WMP54GS wireless card problem.. (5)
windows vista security holes (17)
Help getting around port 80 for camer.. (5)
Skillsoft Network+ Study Software Que.. (10)
Browsers wont load websites (3)
help me pls laptop just stopped worki.. (0)
Open With ..... Win7 (3)
Laptop with wireless problem. (12)
Internet Lost (5)
virus blocking exe. files (1)
CPU fan stops spinning randomly (11)
Modern Warfare 2: Who Bought It? (65)


All times are GMT -4. The time now is 11:35 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28