How to set seperate heights for <td> ? I have table with one rows and 2 cells. In one of them there is more data, so it drags the other cell longer than it should be and that's ugly. I need something that automatically adjusts the cell height according to how much data it consists. How can I achieve this effect ?
Martin C++
0
Light Poster
Recommended Answers
Jump to PostIf you look into using CSS it may help, you can use a fairly simple code on each part of the table.
You can simply assign a class to each row / column to control what the style is a width.The css for this is as follows, assign …
Jump to PostPlease post code, including CSS, its hard to figure it out without this. Should be able to sort this quicker with the code :)
All 6 Replies
Awilson089
0
Newbie Poster
Martin C++
0
Light Poster
Awilson089
0
Newbie Poster
t3o
0
Newbie Poster
wilch
5
Junior Poster in Training
Martin C++
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.