|
|
Subject:
HTML tables
Category: Computers > Internet Asked by: theconquerer-ga List Price: $15.00 |
Posted:
29 Nov 2002 22:47 PST
Expires: 29 Dec 2002 22:47 PST Question ID: 116666 |
How can I get 4 gifs to "touch" each other? Have no white space between them. For example: http://pantheon.yale.edu/~ccw9/mom/google.html how can I get those 4 gifs to be touching on all browsers (on Opera they are touching but on ie they dont now). Creating one big pic with the 4 is not option. |
|
Subject:
Re: HTML tables
Answered By: tisme-ga on 30 Nov 2002 15:32 PST Rated: |
Hello theconquerer, Is this the code you were looking for? <html> <head> <title>Untitled</title> </head> <body> <TABLE WIDTH="0" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="36"> <img name="1508" src="http://pantheon.yale.edu/~ccw9/mom/rbasic.gif" height="36" border="0"><img name="1508" src="http://pantheon.yale.edu/~ccw9/mom/rbasic.gif" height="36" border="0"><br><img name="1508" src="http://pantheon.yale.edu/~ccw9/mom/ybasic.gif" height="36" border="0"><img name="1508" src="http://pantheon.yale.edu/~ccw9/mom/ybasic.gif" height= "36" border="0"> </table> </body> </html> Its important not to put a space between them or they will seperate. the <br> moves them to the next line. If this is not what you were looking for please let me know and I will do my best to further assist you. tisme-ga | |
|
theconquerer-ga
rated this answer:
Thanks for the answer tisme. It works well! I ended up implementing darthcow's idea, as it is more suitable for my page, thanks a lot darthcow!! |
|
Subject:
Re: HTML tables
From: darthcow-ga on 30 Nov 2002 17:46 PST |
Somebody doesn't know HTML - while the code in the answer may appear correctly in modern browsers, tables require rows and cells to be defined in them with <tr> and <td>. To get cells with images in them to appear adjacent to each other in IE, you simply need to remove all spacing between the <td> and </td> tags and the image tag. Also, the original code needs a fix with the table tag as well (at least for practical purposes) - either the height attribute of the table should be changed to 72 (twice 36 for two rows), or the separate row definitions should be eliminated. |
Subject:
Re: HTML tables
From: funkywizard-ga on 30 Nov 2002 18:46 PST |
Though its nice to think of ways things should theoretically done, in practice, what matters at the end of the day is the end result. And the end result does not require what darthcow has suggested, though it is worth trying if what else is tried fails. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |