Okay,
Basicly I want to center a division(horizo ntally), the only catch is the division has position:fixed (or relative if need be). The division's width is dynamic.
Things that dont work (at least through my testing):
margin: 0 auto; << Only applies to Static objects
left: 50%;width (x)px; << Only applies to objects with a constant width
It works in IE by using margin: 0 auto; (which is very odd to me, but it works). Firefox and Chrome arnt so forgiving.
Something tells me there is no way I can do this (without javascript at least) in FF/CH.
Thanks, Josh
Basicly I want to center a division(horizo ntally), the only catch is the division has position:fixed (or relative if need be). The division's width is dynamic.
Things that dont work (at least through my testing):
margin: 0 auto; << Only applies to Static objects
left: 50%;width (x)px; << Only applies to objects with a constant width
It works in IE by using margin: 0 auto; (which is very odd to me, but it works). Firefox and Chrome arnt so forgiving.
Something tells me there is no way I can do this (without javascript at least) in FF/CH.
Thanks, Josh
Comment