Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting table to divs

 
Dom Lassy
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if someone could help me convert this to using only DIVs and a stylesheet. Any help would be appreciated.

EDIT:
I want to keep the iframe, I would just like to replace the table with divs.


[ April 27, 2007: Message edited by: Dom Lassy ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65337
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's your first attempt?
 
Dom Lassy
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tried about a dozen ways to get it to work to no avail, and thought it would be easier if I just posted exactly what I wanted to achieve. Just because you asked, here is one attempt:

The above code is just trying to get the div with the iframe to take up the whole screen, except for the top and bottom footer.

For what it's worth, the vast majority of my posts are answering people's struts problems.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65337
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's my quick and dirty first pass. It seems to work in Firefox, Safari and IE7. It fails horribly in IE6, good luck with that -- IE6's CSS implementation is horribly broken.

It's not a pure CSS solution as I needed to use the width and height attributes of the iframe in order to get it to work under IE7 (marginally better than IE6, but not by much).

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic