Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / December 2008



Tip: Looking for answers? Try searching our database.

Quelle alternative au sélecteur d'attribut pour IE6 ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
<v2D2 - 02 Dec 2008 12:42 GMT
Bonjour,

Existe-t-il une alternative au sélecteur d'attribut pour IE6 ?

Je voulais utiliser "*[lang] {display: none}" pour masquer toutes les
parties de texte dépendantes de la langue (que je gère ensuite), mais ce
n'est pas possible avec ce /.%£*@$$$ de IE :-(

Existe-il une astuce ?
<v2D2 - 02 Dec 2008 12:54 GMT
> Bonjour,
>
[quoted text clipped - 5 lines]
>
> Existe-il une astuce ?

Oops, sorry, I didn't take care it was an english-speaking newsgroup !
So, here is a translation :

Hello,

Does it exists any alternative to the attributes selector for IE6 ?

I would like to use "*[lang] {display: none}" to hide all the language-
dependent parts of texte (that I manage later), but this is not possible
with this /.%£*@$$$ of IE :-(

Does-it exists a tip ?

And again, sorry for the french post ahead ;-)
Hendrik Maryns - 02 Dec 2008 13:16 GMT
schreef:

I cannot answer your question, but this is quite a clever trick to hide
your e-mail address.  My Thunderbird shows only a blank Sender field,
looking at the source of the message I see <v2D2 indeed, but nothing
else.  How did you do this?  Or is this a bug/feature in
MicroPlanet-Gravity?

H.
Signature

Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

<v2D2 - 02 Dec 2008 15:33 GMT
>  schreef:
>
[quoted text clipped - 5 lines]
>
> H.

Nothing special on my side, it's effectively a feature of Super Gravity,
also called "Gravity 2.6" (last official one being the 2.5, this one is
an unofficial one)
<v2D2 - 02 Dec 2008 13:24 GMT
> > Bonjour,
> >
[quoted text clipped - 20 lines]
>
> And again, sorry for the french post ahead ;-)

Just seen this at this time :

http://www.shayna.com/index.cfm?fuseaction=blog.display_entry&id=176
Jukka K. Korpela - 02 Dec 2008 19:05 GMT
v2D2 wrote:

> I would like to use "*[lang] {display: none}" to hide all the
> language- dependent parts of texte (that I manage later), but this is
> not possible with this /.%£*@$$$ of IE :-(

Such an approach might be meaningful in a user style sheet during
development or otherwise. But why would you use IE then, and even IE 6?

In a document ("author") style sheet, it is a _bad_ idea to use CSS for
filtering content. I know all too well people do that, and I do that when
someone is pointing at me with a bazooka, but if you have any choice, just
don't. Content filtering belongs to server side (or preprocessing).

Moreover, your specific approach is in contradiction with accessibility
recommendations, which specify that you shall declare the language of your
content (even for a monolingual document - and for _all_ elements in a
multilingual document).

Signature

Yucca, http://www.cs.tut.fi/~jkorpela/

<v2D2 - 02 Dec 2008 19:21 GMT
> v2D2 wrote:
>
[quoted text clipped - 14 lines]
> content (even for a monolingual document - and for _all_ elements in a
> multilingual document).

In current case, I've no choice since I've to revamp an existing site
without to change anything in the tree : so, I've to implement all
language in a single page for every existing page... No server-side
script, no tree change, so css and javascript only !
Jonathan N. Little - 02 Dec 2008 14:31 GMT
wrote:
> Bonjour,
>
[quoted text clipped - 5 lines]
>
> Existe-il une astuce ?

With IE6 and under you just out out luck. Only way is to use a class
selector or use JavaScript (with all the typical warnings about
JavaScript) to walk the document identify all the elements with the lang
attribute and apply your style that way...

Signature

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

<v2D2 - 02 Dec 2008 15:36 GMT
> With IE6 and under you just out out luck. Only way is to use a class
> selector or use JavaScript (with all the typical warnings about
> JavaScript) to walk the document identify all the elements with the lang
> attribute and apply your style that way...

Well, it's a pity, but I think I've effectively not any other choice :-
( Thanks anyway
<v2D2 - 02 Dec 2008 19:23 GMT
> Bonjour,
>
[quoted text clipped - 5 lines]
>
> Existe-il une astuce ?

Solved using IE7.js script from http://dean.edwards.name/ :)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.