OK, I got a page with tabular data, that I would like to keep in a
table. What I really want though is to style this so that it is not
presented in a regular table layout.
here is what I got
<style>
table,tbody,thead,tr,td,th{
border:1px solid #f00;
display:block;
float:left;
}
</style>
<table>
<tr>
<td>Some data</td>
<td>Some data</td>
</tr>
<tr>
<td>Some data</td>
<td>Some data</td>
</tr>
</table>
What I have succeeded in FF to do is display all the elements as
block, and then float them here and there, styling them as if they
were divs. (yes, I made all table elements into blocks, including tr,
tbody and thead)
Works fine BUT....
In IE7 it still insists on ignoring these properties and displays it
like a normal table. Once again, something that IE just can't do
properly. Have googled this problem, but have not seen any answers.
Have I got any choice but to go back to using divs and push it around?
I would like to keep my code as semantic as possible.
Any suggestions welcome. Fast replies please! Deadline looming on the
horizon.
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---