CSS minimum column widths?

Soldato
Joined
15 Feb 2003
Posts
10,064
Location
Europe
I'm not very good at webdesgin but am trying to learn. Anyway i have a site at http://www.eastcoastbaby.co.uk It seems to work fine in firefox, but on some IE machines the league tables move under the central column.

Am i right in thinking that setting minimum coloumn widths will fix this? If so what is the code for that?

Cheers.
 
Last edited:
Soldato
Joined
19 Jul 2006
Posts
2,960
Location
Leicester
They may move because of the positioning of the FireFox toolbars opposed to Internet Explorer's.

Couldn't you just fix the Table's into one position?

Make a back up 1st and stick this Code inside the Tables tag's...

align="centre"
 
Soldato
OP
Joined
15 Feb 2003
Posts
10,064
Location
Europe
Well I want the league tables aligned and fixed on the right hand side. There must be some fabulous web developer who knows how to fix this easiliy.

align="center" or right etc.. doesn't seem to do anything.
 
Soldato
OP
Joined
15 Feb 2003
Posts
10,064
Location
Europe
I've tried setting the righ hand coloumn to:

position: absolute; top: 0; right: 0;

and it just appears to be missing now.

Does someone know what exactly i should do to get the left column always on the left, centre always in the centre and right always on the right, no matter what resolution or browser size people use?
 
Soldato
Joined
23 Oct 2003
Posts
8,899
Location
Hampshire, UK
When using percentages, Ive found that sometimes a column will slip under if you make the total width add up to 100%.

for example:

leftcolumn 25% - right column 75%.

This sounds great, but Ive had a column slip under the other column.
So, instead I made the total add up to 99% or 98% so that there is a little "spare" like this:

leftcolumn 25% - right column 74%

Of course this can be done with multiple columns.
Or something similar. The result looks fine if you have a uniform background colour with no borders.
 
Back
Top Bottom