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 PostYou can create a parent div that contains 2 child divs. The first child div should be floated left, whilst the other floated right. But, you will have to do some fiddling with CSS to make the children divs remain in the parent.
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.