-
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
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks