views:

28

answers:

3

Layout

In the image above, most of the html is semantic, using css to manage the look of it all. Despite my best efforts, though, I had to resort to using a table to get the segment on the right to stay where it is and allow its inner elements to wrap fluidly when it gets too big for the screen, like this: Too wide for the browser

I know that it's preferable if tables are only used for "tabular data," but I have never found a good way to force elements to do this without using tables. Has anybody solved this problem?

A: 

Could you post the relevant HTML and CSS you are using now?

Blackcoil
A: 

You should be able to set the width of it. This is difficult to do without seeing the exact way you are doing this, because CSS is dependent on parent sizes, etc.

I would look into the CSS property min-width, too.

0x90
I want the width of the panel at the right (with layout tabs and buttons) to adjust itself to take up whatever space is left after the list of layout buttons at the left has taken up the space it needs.
StriplingWarrior
+1  A: 

have you tried using list-items? Generally when creating menu elements, it's better to use UL->LI instead of span or div

FatherStorm
The lists of buttons and tabs use list items. The only table here has two cells: one to hold the list of layouts on the left, and the other to hold the lists of buttons and tabs at the right.
StriplingWarrior