473,395 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

IE7 attribute and child selector support

Does IE7 support attribute and child selectors?

Jeff
May 19 '06 #1
9 2483
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.

--
Brian O'Connor (ironcorona)
May 19 '06 #2
ironcorona <ir*********@gmail.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.


Attribute selectors are implemented, see
<http://blogs.msdn.com/ie/archive/2006/02/02/523679.aspx>
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?

--
David Håsäther
May 19 '06 #3
ironcorona <ir*********@gmail.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

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

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
May 19 '06 #4
Steve Pugh wrote:
ironcorona <ir*********@gmail.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)
May 19 '06 #5
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.

--
Brian O'Connor (ironcorona)
May 19 '06 #6
On Sat, 20 May 2006 04:33:06 +0800 ironcorona <ir*********@gmail.com> wrote:
| 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.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 19 '06 #7
ph**************@ipal.net wrote:
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)
May 20 '06 #8
ironcorona 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.

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

May 21 '06 #9
Jeff wrote:
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)
May 21 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: UndoMiel | last post by:
Hi, I have a situation where i would like to validate the occurance of certain elements, based on the value of an attribute. What is the "best" way to handle such validations? I am fairly new...
6
by: Veerle | last post by:
Hi, Somewhere in my html page, I have the following code: <div id="main-body"> <h2>Header text</h2> <p>Some other text ...</p> ..... <h2>Another header text</h2> <p>Some more other text...
13
by: dbuchanan | last post by:
Hello, Here is the error message; ---------------------------- Exception Message: ForeignKeyConstraint Lkp_tbl040Cmpt_lkp302SensorType requires the child key values (5) to exist in the...
2
by: Chris Sharman | last post by:
See http://services.ccagroup.co.uk/testform.htm Looks as intended in firefox, is valid (bulk of inputs centred in a div occupying the left half of the page). ie ignores the child selector,...
2
by: smachin1000 | last post by:
Hi All, In the sample schema & document below, I'd like the attribute "name" to be unique for all function elements under function_list. The tools I'm using (XML Spy and xmllint) all validate...
3
by: patrizio.trinchini | last post by:
Hi, how can remove sibling elements based on the value of an attribute ? For instance, gven the XML document: <root> <parentElment> <testElement name="A"> <removableElement/>
2
by: pstachy | last post by:
Hi again! I have another issue. I would like the attribute of the tag <invoice> to be unique. Made the following schema but unfortunately it doesn't validate. Could someone please indicate what is...
6
by: _googlepost | last post by:
I have some CSS that goes something like this: table.TableStyle {font-family: "Helvetica", "Ariel"; background- color:white; border-collapse:collapse;} table.TableStyle COLGROUP { background-...
2
by: scdowney | last post by:
First and foremost, thank you in advance for any attempts to help me out. I am working on a project with work, and it requires I use CSS selectors to locate elements within a webpage. For the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.