?
Solved

Convert table with rowspans to all divs with css

Posted on 2011-03-22
2
Medium Priority
?
364 Views
Last Modified: 2012-05-11
Under a time contraint to get these tables converted to a construct consisting of all divs with necessary css... was hoping some div/css expert could assist.
The existing table-based code :

<TABLE border="0" cellspacing="0" cellpadding="0" width="630" bgcolor="#DBDBDB">
  <TR>
    <TD valign="TOP" align="LEFT"><IMG src="http://wave.images.worldnow.com/images/static/gfx/c_co_tl.gif"></TD>
    <TD width="100%" valign="MIDDLE"><DIV style="FONT-SIZE:11px; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif;"> <font color="#990000">Title Bar</font></DIV></TD>
  </TR>
</TABLE>
<table width="630      " border="1" cellpadding="5" cellspacing="0" bordercolor="#990000">
  <tr bordercolor="#FFFFFF">
    <td width="94" rowspan="2" STYLE="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; border-left-width: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px;"><div align="center"><font color="#FFFFFF" size="1"><a href="#"><img src="http://66.206.11.125/imagespace.png" width="90" height="68" border="0" /><br />
   </a></font>
    </div></td>
    <td width="525" valign="TOP" STYLE="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; border-left-width: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; "><a class="set1" href="#" target="_top">Main Headline</a></td>
  </tr>
  <tr bordercolor="#FFFFFF">
    <td height="70" valign="TOP" STYLE="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; border-left-width:0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px;"><ul>
        <li>Bullet #1<a class="set1" href="http://japan.person-finder.appspot.com/?lang=en" target="_blank"></a></li>
        <li>Bullet #2</li>
        <li>Bullet #3</li>
        <li>Bullet #4</li>
        <li>Bullet #5</li>
    </ul>    </td>
  </tr>
</table>

Rendered here:
http://66.206.11.125/tabletodiv.html
0
Comment
Question by:cdr21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
imantas earned 2000 total points
ID: 35194318
Please find documment attached. There is a comparision between your code and the one written using divs. Of course, you can find everything you need in the source.


default.htm
0
 

Author Closing Comment

by:cdr21
ID: 35194373
Very nice, exactly what needed...
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question