 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
JElsea
Joined: 09 Apr 2008 Posts: 2
|
Posted: Wed Apr 09, 2008 7:22 pm Tables pushing images down |
|
|
|
I know how irritating it is to have a newb come along and ask a question that you've probably answered 3.2 million times before, but please bear with me. I hope I am posting this in the right forum.
I have a basic knowledge of html, and have just recently been learning about tables. I have an internet forum which has a logo on the main page. I'm trying to utilize tables on the empty spaces. The problem is that every time I put anything in an empty space, it pushes all my other graphics down. My logo is in the top center of the page. There is all this lovely white space all around it that I would love to utilize, but when I put something, say, on the top left corner, it pushes the logo down even though it's nowhere near the logo. Can any of you point me in the right direction? If there's something else I need to learn to get around this, I would love to know what it is. Thank you for the help!  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8315 Location: Castle Pines North, CO USA
|
|
JElsea
Joined: 09 Apr 2008 Posts: 2
|
Posted: Thu Apr 10, 2008 6:27 pm |
|
|
|
This is just the general code that I have been trying to get to work. I may have it all messed up.
| Code: |
<table>
<tr>
<td align=left valign=top>test</td>
<td width=115> </td>
<table>
<tr>
<td align=center valign=top><img src="http://i22.photobucket.com/albums/b342/jelsea/banner-take-1.gif" width="550" height="94" ALT="The Incorruptibles"></td>
</tr>
</table> |
Where the "test" is, is where I would like another image. I cannot figure out though how to get anything on the right. It's not working. The empty cell is there only for the space factor, because otherwise the image file is right next to the "test" text, and I want it centered. Also, is it possible to put iframes inside a table? Thank you. Please be patient with me lol, I am terribly new at all this. It's almost like learning Greek or something!  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8315 Location: Castle Pines North, CO USA
|
Posted: Fri Apr 11, 2008 7:16 am |
|
|
|
Remember, if you open something - close it. You have an opening <table> on the first line but you never close it (or is that the second <table>).
In any event, here is an example of a table with two columns
| Code: |
<table style="width: 100%">
<tr>
<td>test</td>
<td><img src="http://i22.photobucket.com/albums/b342/jelsea/banner-take-1.gif" width="550" height="94" alt="The Incorruptibles"></td>
</tr>
</table> |
But if you are writing this HTML code in notepad or something - get into the habit of always writing the closing tag right after you write the opening.
_________________
Corey
Payment Processing Forums | Massive Links Forums | International Web Developers Network |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|