www.webdeveloper.com
Results 1 to 2 of 2

Thread: expand div to full height in cell with rowspan=2

  1. #1
    Join Date
    Aug 2012
    Posts
    1

    expand div to full height in cell with rowspan=2

    In the following code I need to expand div inside TD1 to full height by using pure CSS only. This example works in Webkit and FF but not works in Opera and IE.

    Please help me, how to get this example works in Opera and IE.

    Thanks!

  2. #2
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,198
    Code:
    <tr>
    <td id="custom"><div>TD 1</div></td>
    <td><div>TD 2 kjhkhkhkjhj kjhkjhkjhjhk   khkjhkjhkjhkhkj</div></td>
    </tr>
    Code:
    td#custom div {
        width:100px;
        height: 150px;
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles