Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 05-27-2009, 11:23 AM Table height - IE
Average Talker

Posts: 22
Trades: 0
I have created a page using a table but the center cell won't close to the specific height of 505px.

It looks perfect in all browsers but IE - you see white space above and below.

here is the site
http://darnumbers.com/

here is the table
Code:
<table cellpadding="0" cellspacing="0" border="0" class="layout">
<tr><td rowspan="2" class="area1">&nbsp;</td><td colspan="2" class="area2">&nbsp;</td></tr>
<tr><td class="content"><img src="images/home.jpg" width="758" height="505" border="0" usemap="#navigator" /></td>
<td rowspan="2" class="area3">&nbsp;</td></tr>
<tr><td colspan="2" class="area4">&nbsp;</td></tr>
</table>
and here is the css
Code:
html,body { margin-top: 0px; margin-left: 0px; width: 100%; height: 100%; }
.layout { margin: 0px; padding: 0px; margin-left: 0px; width: 100%; height: 100%; }
.content { margin-top: 0px; margin-left: 0px; width: 758px; height: 505px; }
.area1 { border-right: solid 5px #669900; background-color: #cccc33; }
.area2 { border-bottom: solid 5px #669900; background-color: #cc9900; }
.area3 { border-left: solid 5px #669900; background-color: #cc6600; }
.area4 { border-top: solid 5px #669900; background-color: #cccc66; }
beylah is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-27-2009, 03:36 PM Re: Table height - IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You DO realize don't you that there is little hope that your site will ever turn up in search engines, right ?? Why ? Because your entire site is nothing but IMAGES ! Spiders can't read images, and anyone using assistive technology will also 'see' nothing on your site.

There is nothing there that can't be done with real text and without tables for layout, and inaccessible image maps.

It is the nature of tables to stretch with their content. Make sure you have zeroed out the default margins and padding on everything, and that you have set the table to border-collapse: collapse.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-29-2009, 11:45 AM Re: Table height - IE
Average Talker

Posts: 22
Trades: 0
thanks i will check the border-collapse

my brother does not want his site searchable - he wants it kept for those he sends the link to thus the jpegs - also he wanted the text to circle in the bubbles and i did not know how to do it in a table - any suggestions
beylah is offline
Reply With Quote
View Public Profile
 
Old 05-29-2009, 03:36 PM Re: Table height - IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
he wanted the text to circle in the bubbles and i did not know how to do it in a table
I would never do it in a table and doing it with CSS and NO TABLES would make it a lot easier to work with the circle.

If his site is on the web - it will be found by search engines, so at some point it will turn up.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Table height - IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB 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.62804 seconds with 12 queries