Bobby wrote:
> I am considering using absolute positioning for a website but I know that
> not all browsers support this type of css.
The one's that matter all do. And besides, css is a better way to go.
> Can anyone tell me what percentage of users would NOT be able to view the
> website correctly?
Negligible, I would imagine (although I think it would be hard to find
proof one way or the other). More browsers would support the CSS you
need* than javascript.
> And is there a javascript that I could use to detect support for absolute
> positioning and redirect if necessary to another page?
See above.
The beauty of CSS positioning (or one of many, I should say), is that if
all else fails, the browser simply ignores the CSS and displays your
div's neatly in a vertical manner down the page, which means that at all
times, the information is presented to the user (just sometimes it looks
like you want it, other times it does not).
I know Opera 7 can give you a demonstration of how ignoring CSS makes
the page look (it's one of the little icons next to the url).
> Any info on usability of absolute positioning would be appreciated.
It is by far the most useable form of page layout on the www known to
humanity. Well, of course, that is to say that you don't ignore
everything else like font size, and fluidity of your design, easy to use
navigation, and that you don't simply suck at laying out web pages.
Also remember that there are other ways of using CSS to position web
pages. This is the best site on the subject that I've come across:
<a style='text-decoration: underline;' href="http://glish.com/css" target="_blank">http://glish.com/css</a>
And Grey has a tutorial on css positioning that's nearly finished, but I
don't have the URL.
* I know slabs of CSS2 aren't yet supported by anyone, but you don't
need them for positioning, do ya now.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Absolute positioning and compatibility