This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > January 2007 > Supporting non-CSS browsers
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Supporting non-CSS browsers
|
|
| lister 2007-01-27, 11:02 pm |
| Hi,
I have several parts of my page that are shown/hidden via javascript
controlling the "display" style.
I was contemplating what will happen on browsers that do not support
CSS (eg text browsers).
Most of the parts still work if shown, but one of them is a
confirmation "Are you sure?" type box. This will presumably get shown
regardless on a text browser which will cause confusion.
Do text browsers support the "display" property at all?
If not, then how can I detect CSS support so I don't include the
confirmation markup?
Thanks,
Lister
| |
| -Lost 2007-01-27, 11:02 pm |
| "lister" <listerofsmeg01@hotmail.com> wrote in message
news:1169122652.897706.214880@m58g2000cwm.googlegroups.com...
> Hi,
>
> I have several parts of my page that are shown/hidden via javascript
> controlling the "display" style.
>
> I was contemplating what will happen on browsers that do not support
> CSS (eg text browsers).
If you have syntactically correct and semantically adequate markup, then sure.
It is not a matter of how well CSS degrades unless you rely heavily on positioning or
whatnot. In those rare cases then your content appears in different contexts. Again, use
valid markup and you should be fine.
> Most of the parts still work if shown, but one of them is a
> confirmation "Are you sure?" type box. This will presumably get shown
> regardless on a text browser which will cause confusion.
Is that a JavaScript confirm()? Or if you really mean something in CSS, why not test for
stylesheet support?
> Do text browsers support the "display" property at all?
> If not, then how can I detect CSS support so I don't include the
> confirmation markup?
I have no clue, but would seriously doubt it. The entire purpose of a text only editor is
to display the content textually and um... what is the word for in order, beginning to
end?
Hope this helps.
-Lost
| |
| jgarrard@parascan.com 2007-01-27, 11:02 pm |
| > Is that a JavaScript confirm()?
No. It is markup that is displayed via javascript
> Or if you really mean something in CSS, why not test for
> stylesheet support?
That's sorta my question! :-)
| |
| -Lost 2007-01-27, 11:02 pm |
| <jgarrard@parascan.com> wrote in message
news:1169141983.544904.61650@38g2000cwa.googlegroups.com...
Um... are you "lister"? If so...
> No. It is markup that is displayed via javascript
Enclose your JavaScript within noscript and provide alternate content if JavaScript is
disabled.
> That's sorta my question! :-)
OK? Are you asking how to do this? (This is not a JavaScript newsgroup.)
If so, look into document.style.
-Lost
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|