Click here to get back home

table within a floating div

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
table within a floating div kudos2me 05-01-2007
Get Chitika Premium
Posted by kudos2me on May 1, 2007, 5:09 am
Please log in for more thread options


Hi there, would really appreciate your help on this one. The code
below renders how i want it to on IE7 and Firefox and i'd it like to
render the same way in IE6 where I'd like the table floats left of the
sidebar and scrolls horizontally across the page. Unfortunately the
div that contains the table clears to the bottom of the div sidebar in
IE6. If anyone could give me some pointers or directions, I'd
appreciate it very much. Thanks in advance.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>floatingtable test</title>

</head>

<body >
<div style="float: left; border: 1px dotted aqua; width: 99%;">

<div style="float: left; width: 200px; height: 200px; border: 1px
solid red;">
</div>
<div style="float:left; height:300px; width: 400px;border: 1px solid
blue;">


<table style="width: 100%" border="1" bordercolor="pink">
        <tr>
                <td>ReallyReallyReallyReallyReallyReallyReallyReallyLongText</td>
                <td>ReallyReallyReallyReallyReallyReallyReallyReallyLongText;</td>
                <td>ReallyReallyReallyReallyReallyLongText</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
        </tr>
        <tr>
                <td>ReallyReallyReallyReallyReallyReallyReallyReallyLongText;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
        </tr>
        <tr>
                <td>ReallyReallyReallyReallyReallyLongText</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>ReallyReallyReallyReallyReallyLongText</td>
        </tr>
        <tr>
                <td>ReallyReallyReallyReallyReallyLongText</td>
                <td>ReallyReallyReallyReallyReallyReallyReallyReallyLongText</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>ReallyReallyReallyReallyReallyReallyReallyReallyLongText</td>
        </tr>
</table>

</div>

</div>
</body>

</html>


Similar ThreadsPosted
Floating Div over a Table February 1, 2007, 10:25 am
Floating table row December 6, 2007, 4:06 pm
IE bug with floating August 28, 2005, 5:49 am
Firefox floating bug? November 18, 2004, 4:07 pm
Centering floating objects September 11, 2004, 10:27 pm
Floating DIV positioning. How much does the order matter? December 29, 2005, 7:25 am
Newspaper layout, floating boxes? July 14, 2008, 7:47 am
[newbie] client side jscript for a table inside a table March 24, 2005, 8:01 am
How to eliminate space between table border and table contents? December 6, 2005, 1:22 am
How do you make a table background cover whole table August 3, 2004, 9:49 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap