HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Tables pushing images down
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
JElsea



Joined: 09 Apr 2008
Posts: 2

PostPosted: Wed Apr 09, 2008 7:22 pm     Tables pushing images down Reply with quote

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,Wink 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! Smile
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8316
Location: Castle Pines North, CO USA

PostPosted: Thu Apr 10, 2008 11:25 am     Reply with quote



Source code would help us more. We need to know where the tables are and where the images are.

If you are using forum, you might need to be looking at some of the file includes to add the information.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
JElsea



Joined: 09 Apr 2008
Posts: 2

PostPosted: Thu Apr 10, 2008 6:27 pm     Reply with quote

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>&nbsp;</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! Smile
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8316
Location: Castle Pines North, CO USA

PostPosted: Fri Apr 11, 2008 7:16 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial