min-width: 853px;
width: 976px;
margin: 0 auto;
What exactly does the min-width component do?
Thanks Jake.In my searching it appears to simply limit the minimum width of an element. I think it's only useful for fluid styles. You should be able to remove min-width if you have a fixed style.
And which setting is for the background color on left and right when we have fixed width style. The default is light gray.
at my website, I want to have the fluid-style (which comes shipped by default) and also the Fixed-Width-style.
So what to do in order to have both those styles and let the user being able to switch ?
I have uncommented the following code at the big "Miscellanious Box":
width: 976px;
margin: 0 auto;
which gives me a Fixed-Width-style now.
But how do I get to having both styles ?
At "miscellanious section", there are 2 small boyes named "Width" and "Height". Do I need to enter something there as well ?
In the big Miscelanious-box it now shows the following:
-------------
min-width: 853px;
_width: 976px;
_margin: 0 auto;
width: 976px;
margin: 0 auto;
----------------
Thanks,
not sure why there is an "underscore" in the CSS for width and margin ?
Do I need this CSS twice ? With and without "underscore" ?
_width: 976px;
_margin: 0 auto;
width: 976px;
margin: 0 auto;
width: 98%;
margin: 0 auto;
Whatever width was set, I doubt it would suit most people so it would end up being changed anyway.indeed would be better if the default XF comes shipped with both a fixed and a default (fluid) style.
Liked the OP.
We use essential cookies to make this site work, and optional cookies to enhance your experience.