Reply
table breaking appart, not sure where help
Old 05-16-2006, 03:40 PM table breaking appart, not sure where help
Junior Talker

Posts: 1
I have a site that is almost complete for the exception of one detail. the home page seems to be breaking apart a bit on one area. I tried looking closely at the code, but no dice.

the site is at:
http://www.katerone.com/khaga

by the way this only happens with IE on a pc..

any thoughts?
katerone is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-16-2006, 06:12 PM Re: table breaking appart, not sure where help
vangogh's Avatar
Post Impressionist

Posts: 8,441
Name: Steven Bradley
Location: Boulder, Colorado
Are you referring to the separation between the top half of the site and the bottom half? If so I think IE is defaulting to keeping the height of the cell to be whatever the font-size is. You might need to specify an exact height on the table cell and possibly add a non-breaking space inside. IE can be finicky sometimes on hieghts when nothing is inside an element.

If that doesn't work you can try reducing the font size of that cell.

I think the basic problem though is IE using a default height which is coming from the size of the font.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-16-2006, 06:45 PM Re: table breaking appart, not sure where help
mgraphic's Avatar
Truth Seeker

Posts: 2,285
Name: Keith Marshall
Location: West Hartford, CT
There has always been an instance in IE (especially in xhtml format) in which whenever you have an image inside a TD cell, it will always put a gap under the image making the TD cell a little taller than the image. I found a workaround with this by placing a <BR> tag after the image, this seems to always work.

HTML Code:
<table border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td>
         <img src="./example.gif" width="100" height="100" border="0" alt="" /><br />
      </td>
   </tr>
</table>

__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-17-2006, 12:14 AM Re: table breaking appart, not sure where help
vangogh's Avatar
Post Impressionist

Posts: 8,441
Name: Steven Bradley
Location: Boulder, Colorado
That's interesting and makes sense. I think you could probably also use css to contol the margins of the image or explicity set the image to display inline. Just guessing about those.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-17-2006, 09:47 PM Re: table breaking appart, not sure where help
kIDJOE's Avatar
Extreme Talker

Posts: 180
Location: Hollywood, CA
You should use CSS to set the width and height of the cell, also you can always add css to your images as well, you can add border:0px; and margins:0px; padding:0px; to avoid any gaps around your image.
__________________

Traffic School - Driver Ed - Defensive Driving
Statistics: The only science that enables different experts using the same figures to draw different conclusions.

Driver Education Online - Online Traffic School - Texas Defensive Driving
kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 05-18-2006, 08:34 AM Re: table breaking appart, not sure where help
King Spam Talker

Posts: 1,053
I looked at the site it IE and it looked fine except for the the footer image which went on FOREVER. Just a typo in this code I bet:

HTML Code:
<iframe src ="header.htm" height="109" width="100%" frameborder="0" scrolling="no" frameborder="0" name="header"> </iframe>
<iframe src ="home_bottom.htm" height="2600" width="100%" frameborder="0" scrolling="no" frameborder="0" name="bottomFrame"> </iframe>
height="2600" width="100%"
colbyt is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to table breaking appart, not sure where help
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13894 seconds with 13 queries