Hari's Corner
Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and thenWebsite design notes
Filed under:
Software and Technology by
Hari
Posted on Thu, Aug 28, 2008 at 09:00 IST (last updated: Thu, Aug 28, 2008 @ 09:00 IST)
- If you want to use a fixed-width header graphic, it's nearly impossible to make a theme which is "free-form" fluid width, that is, scales to any resolution. You have to center the content within the browser for the theme to work well.
- If you want to use a fluid-width, free-form theme, you need to design a header logo that merges with a background colour or pattern at one end so that header can stretch to any resolution without appearing odd or broken.
- If you mix percentage widths with pixel widths in the style sheets of a single design, you can expect some strange results. For example a hundred percent width specifies just 100% of the current visible browser width, completely ignoring the regions covered by horizontal scrollbars (at least in Firefox). This can lead to strange results at resolutions lower than that which the website was designed for. For example, the 100% regions get cut off at the visible region while the fixed width regions can go into the scrolling region. This typically happens with a fixed width sidebar mixed with a fluid width content area
- The CSS attributes
max-width
,min-width
etc. are of very little use in fixing such issues caused by mixing of fixed pixel widths and fluid percentage widths as the problem will either occur at a higher resolution or at a lower resolution.
Comments closed
The blog owner has closed further commenting on this entry.
6 comment(s)
btb wrote a guest post on Singapore-since you'd been there, awaiting your comments
Comment by Shrinidhi (visitor) on Thu, Aug 28, 2008 @ 17:18 IST #
Comment by hari (blog owner) on Thu, Aug 28, 2008 @ 22:16 IST #
I'm considering dumping my current theme and going for a cleaner, fixed-width theme. I've had nothing BUT problems with the fluid-width design.
Comment by RT Cunningham (visitor) on Mon, Sep 8, 2008 @ 22:14 IST #
Also if you have a image type header (like the one I use on this site) it's plain impossible to have an attractive fluid width theme which should be obvious to most people, but difficult to explain if not understood.
Comment by hari (blog owner) on Mon, Sep 8, 2008 @ 22:26 IST #
Saying all of that, I've never seen why anyone would ever want to read a web page that is too wide anyways. You're working your eyes too hard if they have to go from side to side to far of a distance. Has anyone seen an 18" wide magazine? Of course not! There's a reason for that.
Comment by MrCorey (visitor) on Tue, Sep 9, 2008 @ 04:29 IST #
Also fixed width just looks more professional for a corporate website.
Comment by hari (blog owner) on Tue, Sep 9, 2008 @ 08:09 IST #