Hi, I'm in the middle of a dilemma... having coded most of my sites as "fixed" with DIVs with fixed widths and heights. In some cases I haven't fixed the height, but the width was always fixed... just because I calculated everything out and it seemed well-organized.
CSS Question: Fixed or "Flexible" DIVs?
2
Hi,
I'm in the middle of a dilemma... having coded most of my sites as "fixed" with DIVs with fixed widths and heights. In some cases I haven't fixed the height, but the width was always fixed... just because I calculated everything out and it seemed well-organized.
Then: some people have the opinion that it's not good to have "fixed elements" and I should rather use min-width, max-width and similar settings... nothing fixed, but "allow it to flow"
My questions:
(1) what's the disadvantage, downside of having "fixed elements"?
(2) what if I continue to use a site with "flexible, max/min settings" for the main DIVs, but occasionally I keep using a few fixed DIVs (e.g. for ad boxes, images)... so combining fixed with "flowing"...
Thanks in advance for the help!
I'm in the middle of a dilemma... having coded most of my sites as "fixed" with DIVs with fixed widths and heights. In some cases I haven't fixed the height, but the width was always fixed... just because I calculated everything out and it seemed well-organized.
Then: some people have the opinion that it's not good to have "fixed elements" and I should rather use min-width, max-width and similar settings... nothing fixed, but "allow it to flow"
My questions:
(1) what's the disadvantage, downside of having "fixed elements"?
(2) what if I continue to use a site with "flexible, max/min settings" for the main DIVs, but occasionally I keep using a few fixed DIVs (e.g. for ad boxes, images)... so combining fixed with "flowing"...
Thanks in advance for the help!
- Aryadne
- [ 1 ] Thanks
Next Topics on Trending Feed
-
2