Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old December 23rd, 2003, 12:37 PM
szms szms is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 107 szms User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Problem with image location

I am working with images in HTML. I have two pictures and I am trying to put those adjacent without any bank space in between. I use the following code to do so but I am getting some white space in between of those two picture. How to deal with this problem.

<img src="Pic/my_pic.gif" alt="pic of mine" width="380" height="120" border = "0" >

<img src="Pic/House_Front.gif" alt="Front view of my house" width="220" height="120" border = "0">

Reply With Quote
  #2  
Old December 23rd, 2003, 01:07 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Problem with image location

You can try putting the images in a table...for example,

<table border="0" cellpadding="0" cellspacing="0"><tr><td>
<img src="Pic/my_pic.gif" alt="pic of mine" width="380" height="120" border = "0" >
</td><td>
<img src="Pic/House_Front.gif" alt="Front view of my house" width="220" height="120" border = "0">
</td></tr></table>

seems to correct the spacing problem. I think there is another way, but can't think of it right now.

Reply With Quote
  #3  
Old December 23rd, 2003, 01:18 PM
szms szms is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 107 szms User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Problem with image location

I remove the line breaks between the images and it works !!

As my pictures are at the top right hand corner of the screen, there is a thin white space on the top of these two pictures. How do I eleminate that thin white space.

Reply With Quote
  #4  
Old December 23rd, 2003, 01:24 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Problem with image location

try the following attributes in the <body> tag

leftmargin="0" topmargin="0" That should get rid of the whitespace

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Problem with image location


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway