var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
im trying to get my design centred in the middle of the page.
i dont want the table to move when the browser is moved though.
what should i do to get it fixed like this?
Do you mean that you don't want it to move if the browser is resized?
yeah thats what i mean! do i have to set the margins or something?
<table align="center" width="XXX">
In this way your table won't be resized by the browser.
i didnt mention the table being resized, i want it to be centered, but when the browser window is shrunk, i dont want the table remaining in the center of the screen.
im not sure, but i have a funny feeling i have to just use a blank table cell as a margin, for whatever resolution im designing for?
does anyone have any pointers? or understand what im talking about?
nice one !
With your outermost table, set it for:
and it will stretch fully left to right.
Hate Your Family? Have No Friends? Make Me Your Beneficiary!
I don't think he wants it stretched - sounds like he has a table that is NOT the full width of the screen and he doesn't want it to float to the left when the browser is dragged to a smaller view.
What you might do is add a large margin to the left side. For example...
This prevents the table from floating to the left once it's 200 pixels from the far left side - like a spacer. Give that a try.
Something witty here...
yeah thats what i was getting at in my last post, apologies for the confusion!
the guys getting it all left aligned!