PDA

View Full Version : Noob questions



MacPrawn
26 Mar 2007, 5:13 AM
Hi everyone!

Sorry if these questions are a bit basic, but I need a bit of help here...

I've put my whole UI layout inside one div, and set it's width - but for some reason it refuses to honor that width and takes up the whole browser window's width... Any ideas why that would happen?

Also, what would be the best way to do this layout:

<grid> <separator> <grid> <separator> <grid>

If I want everything on the same "line" (side-by-side from left to right) and all three grids always 1/3 of the total width and the separators as simple "blue" lines - not actual resizing handles and not allowing collapsing the individual grids?

Any help with this would be greatly appreciated!

Thanks!

Animal
26 Mar 2007, 5:52 AM
You'll need west, center and east Regions.

%age sizes are not supported, so you'll have to calculate the pixel size of teh Regions depensing on the container width and then listen for container resize and resize the Regions.

MacPrawn
26 Mar 2007, 2:21 PM
Thanks Animal - I'll give this a shot!