Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-2007, 09:41 AM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Rep Power: 12
dirkfirst is on a distinguished road
Default Spaces between pictures

I've created a table that has pictures and one of the pictures should fit perfectly together but I'm getting spaces between the two pictures. The PC_pic01 and pic02 should fit perfectly together.

HTML Code:
<table border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="2"><img src="pc_pic01.jpg" 
				border="0" width="344" height="320" alt="Image 1" />
					
		</td>
		<td rowspan="2" style="vertical-align:middle"><img src="un_pic.jpg" 
				border="0" width="110" height="104" alt="Image" />
			<br />
			<img src="ec_pic.jpg" 
				border="0" width="110" height="129" alt="Image" />
			<br />
			<img src="ncs_pic.jpg" 
				border="0" width="109" height="174" alt="Image" /></td>
	</tr>
	<Tr>
		<td style="vertical-align:top"><img src="pc_pic02.jpg" width="152" border="0" 
				height="90" alt="Image 2" />
				</td>
		<td width="200" class="tcenter">
			<a href="http://link1" target="_blank" class="link">Link1</a>
			<a href="http://Link2" target="_blank" class="link">Link2</a>
			<a href="http://Link3" target="_blank" class="link">Link3</a>
			<a href="http://Link4" target="_blank" class="link">Link4</a>
		</td>
	</tr>
</table>
Any ideas?
__________________
DirkFirst

Last edited by John; 02-14-2007 at 05:09 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #2 (permalink)  
Old 02-14-2007, 05:11 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,478
Last Blog:
Joomla! And Incompeten...
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

I never had luck fitting images together seamlessly while manually coding, I finally got fed up with it and just let photoshop generate my code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 02-18-2007, 10:01 PM
sahar88 sahar88 is offline
Newbie
 
Join Date: Feb 2007
Posts: 5
Rep Power: 0
sahar88 is on a distinguished road
Default

thanks a lot ..........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 02-19-2007, 09:24 AM
Void's Avatar   
Void Void is offline
Programming Expert
 
Join Date: Jun 2006
Posts: 411
Rep Power: 12
Void is on a distinguished road
Default

Try using the 'valign="top"' and 'valign="bottom"' for the two pictures.
__________________
Void
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 02-28-2007, 12:22 PM
Matt's Avatar   
Matt Matt is offline
Learning Programmer
 
Join Date: Jan 2007
Location: Northwestern US
Posts: 47
Rep Power: 7
Matt is on a distinguished road
Default

I have noticed this problem in Internet Explorer's rendering of consecutive images. Firefox, however, renders them as one would expect.

If you do not want to make your images into a single image, I suggest using an image map, which has the advantage of being able to handle separate parts of a single image differently. See this tutorial for more information: http://htmlgoodies.com/tutorials/image_maps/.
__________________
http://www.mattnichols.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enlarging pictures TechNetiuM Website Design 6 02-04-2007 03:29 PM
Post your pet pictures! TcM The Lounge 6 01-06-2007 02:16 AM
Post your PC pictures TcM The Lounge 5 12-07-2006 12:37 PM
newbie- image downloader yoda855 Visual Basic Programming 34 08-11-2006 12:36 AM
Storing Binary NeedHelp PHP Forum 5 07-05-2006 10:47 PM


All times are GMT -5. The time now is 08:00 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads