xHTML [RESOLVED] Different Table Cell sizes and colors
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: [RESOLVED] Different Table Cell sizes and colors

Threaded View

  1. #1
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,101

    [RESOLVED] Different Table Cell sizes and colors

    Hello. I hope someone can help me.

    I am trying to do ( as in the attached picture ) only with the table tags.

    This is my progress :

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    HTML>
    <
    HEAD>
    <
    TITLE>Layout Practical 1</TITLE>
    </
    HEAD>
    <
    BODY>
    <
    table border="0" cellpadding="0" cellspacing="0" width="100%" height="600">
        
        <
    tr>
            <
    td valign="top" colspan="2" bgcolor "#000000" height="10">
            
            &
    nbsp;</td>
        </
    tr>

        <
    tr>
            <
    td width="50%" height="190" bgcolor="#22B14C">&nbsp;</td>
            <
    td width="50%"  height="190" bgcolor="#FFF200">&nbsp;</td></tr>

            <
    td  colspan="2"  height="60" bgcolor="E26B0A">&nbsp;</td>
                    
        </
    tr>
        <
    tr>
            <
    td  colspan="2" height="60" bgcolor="#9BBB59">&nbsp;</td>
        </
    tr>
        <
    tr>
            <
    td  colspan="2" height="60" bgcolor="#595959">&nbsp;</td>
        </
    tr>
    </
    table>


    </
    BODY>
    </
    HTML
    I am almost there, I do not want to use anything else except the table tag. This is for my students.
    Attached Images Attached Images  

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center