|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
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
|
|||
|
|||
|
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"> |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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. |
|
#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 |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Problem with image location |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|