HighDots Forums  

IE7 attribute and child selector support

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss IE7 attribute and child selector support in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff
 
Posts: n/a

Default IE7 attribute and child selector support - 05-19-2006 , 11:22 AM






Does IE7 support attribute and child selectors?

Jeff

Reply With Quote
  #2  
Old   
ironcorona
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-19-2006 , 02:04 PM






Jeff wrote:
Quote:
Does IE7 support attribute and child selectors?
The quick friendly answer is: child selectors; yes. attribute
selectors; not as far as I can see. It's only a beta so this may change.

The longer (for you) and more abrasive answer is: why don't you download
it and see for yourself.

--
Brian O'Connor (ironcorona)


Reply With Quote
  #3  
Old   
Steve Pugh
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-19-2006 , 03:03 PM



ironcorona <iron.corona (AT) gmail (DOT) com> wrote:

Quote:
Jeff wrote:
Does IE7 support attribute and child selectors?

The quick friendly answer is: child selectors; yes. attribute
selectors; not as far as I can see. It's only a beta so this may change.
My tests with attribute selectors show that they are supported. I've
only tested basic stuff like p[id] and p[lang="en"] but that seems to
be working okay. This is with 7.0.5346.5

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
  #4  
Old   
ironcorona
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-19-2006 , 03:32 PM



Steve Pugh wrote:
Quote:
ironcorona <iron.corona (AT) gmail (DOT) com> wrote:

Jeff wrote:
Does IE7 support attribute and child selectors?
The quick friendly answer is: child selectors; yes. attribute
selectors; not as far as I can see. It's only a beta so this may change.

My tests with attribute selectors show that they are supported. I've
only tested basic stuff like p[id] and p[lang="en"] but that seems to
be working okay. This is with 7.0.5346.5
Yep, sorry, you're right. I messed up the CSS when I was trying it.


--
Brian O'Connor (ironcorona)


Reply With Quote
  #5  
Old   
ironcorona
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-19-2006 , 03:33 PM



David Håsäther wrote:

Quote:
The longer (for you) and more abrasive answer is: why don't you
download it and see for yourself.

How do you know that he has a supported OS?
That was meant as a joke. Not very clear I'll admit.

--
Brian O'Connor (ironcorona)


Reply With Quote
  #6  
Old   
phil-news-nospam@ipal.net
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-19-2006 , 04:54 PM



On Sat, 20 May 2006 04:33:06 +0800 ironcorona <iron.corona (AT) gmail (DOT) com> wrote:
Quote:
David H?s?ther wrote:

The longer (for you) and more abrasive answer is: why don't you
download it and see for yourself.

How do you know that he has a supported OS?

That was meant as a joke. Not very clear I'll admit.
Too many people that are totally ignorant of the existance of other systems
might well post something like that. So it's probably something best not
posted, unless you add an appropriate caveat or smiley.

--
-----------------------------------------------------------------------------
Quote:
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
(first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------


Reply With Quote
  #7  
Old   
ironcorona
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-19-2006 , 10:19 PM



phil-news-nospam (AT) ipal (DOT) net wrote:

Quote:
Too many people that are totally ignorant of the existance of other systems
might well post something like that. So it's probably something best not
posted, unless you add an appropriate caveat or smiley.
Are you now going to post back to every one of my posts? That's called
spam.


--
Brian O'Connor (ironcorona)


Reply With Quote
  #8  
Old   
Jeff
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-20-2006 , 12:25 PM



ironcorona wrote:
Quote:
Jeff wrote:

Does IE7 support attribute and child selectors?


The quick friendly answer is: child selectors; yes. attribute
selectors; not as far as I can see. It's only a beta so this may change.

The longer (for you) and more abrasive answer is: why don't you download
it and see for yourself.
It's a pain to run two IE versions on the same box and I don't
remember where the instructions for making your own bonus version.

I was actually wondering about the trick of a hiding a style from IE6
and whether it worked on IE7.

What I'm really doing is this:

<div>
<img ... style="float: left (or right)" class="img">
<p>...

This is CMS generated.


In every browser except IE6 the top of the text lines up with the
top of the image. In IE6 it's maybe 10px (I don't know whether IE7 does
that.) down, so:

..img{margin-top: 10px}
div > .img {margin-top: 0px}

I'm running win2000 and OSX and the usual assortment of relatively
common browsers (IE, NS, Moz, FireFox, Safari, Opera).

Jeff

Quote:

Reply With Quote
  #9  
Old   
ironcorona
 
Posts: n/a

Default Re: IE7 attribute and child selector support - 05-20-2006 , 01:03 PM



Jeff wrote:

Quote:
I was actually wondering about the trick of a hiding a style from IE6
and whether it worked on IE7.
Yes you can still use conditional comments
Try:
http://www.positioniseverything.net/...-dehacker.html [about
half way down the page.]

--
Brian O'Connor (ironcorona)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.