DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Hans Guest

    fixed columns and rows with spanning


    I designed in HTML a tabel with using row and col sapnning. Per cel i defined
    width and heigth. When there is nothing between the <TD></TD> tags the tabel
    has a width and heigth as defined in the table and cel tags. When i put some
    text in the cells everything is correct, but....When I put a pic in the cells(the
    width and hiegth of the pic is smaller then the width and the heigt of the
    cell) the width and the heigt of the cell are changed, which is in this case
    for me the problem. Because when 1 cell changed other cells changed too.
    Is there somebody who can tell me how to fixe this problem?

    Thanx Hans from Holland

  2. #2
    Eric Immerman Guest

    Re: fixed columns and rows with spanning

    Maybe you are already doing this but I have resolved this problem by moving
    the </TD> to the same line as the image. For example:

    <TD>
    <img src="c:\pic.jpg" width="10" height="10"></TD>

    instead of:

    <TD>
    <img src="c:\pic.jpg" width="10" height="10">
    </TD>

    Don't ask me why that works but it does.

    Eric Immerman


    "Hans" <jbroodbeen@raketnet.nl> wrote in message
    news:3caca8ce$1@10.1.10.29...
    >
    > I designed in HTML a tabel with using row and col sapnning. Per cel i

    defined
    > width and heigth. When there is nothing between the <TD></TD> tags the

    tabel
    > has a width and heigth as defined in the table and cel tags. When i put

    some
    > text in the cells everything is correct, but....When I put a pic in the

    cells(the
    > width and hiegth of the pic is smaller then the width and the heigt of the
    > cell) the width and the heigt of the cell are changed, which is in this

    case
    > for me the problem. Because when 1 cell changed other cells changed too.
    > Is there somebody who can tell me how to fixe this problem?
    >
    > Thanx Hans from Holland




Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links