Answers
Jul 11, 2006 - 12:49 PM
For the first part of the question - sizing to fit the content like a table cell does, you might find some limited success with setting the width to "auto" such as:
My content here.
But there are times where the best tool for the job is the table. I used to be in the habit of doing table driven layout for my sites but now do all CSS. I still find that a good ol' table is exactly what I need - especially when dealing with creating nice layout for forms on a page. There are some CSS solutions I've seen out there, but they're a bit kludgy.
Now, the second part of your question. I have not found a way for the to programmatically affect the width of a
Let me know if this helps...
Ric
Jul 11, 2006 - 01:23 PM
You're using width as an example, I was actually interested in the height. should it work the same way?
Jul 11, 2006 - 01:59 PM
There have been some solutions that will take into account the visible height of the browser "viewport" and try to adjust the and
This is one of those REALLY big "your mileage may vary" topics...
Good luck!
Jul 11, 2006 - 07:43 PM
I'll look into the link you provided and post something here if I find something usefull.
Anyway, you get the points for helping me in the right direction.
Answer this question
Share Your Own Experience & Expertise
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
About Quomon
Quomon is a network of IT professionals from around the world, collaborating by sharing knowledgeable answers in their specific field of expertise.
Please wait...
Add New Comment