473,396 Members | 2,010 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,396 software developers and data experts.

Adjacent selectors not supported in any MSIE?

Brian Wilson's Index Dot CSS at
<http://www.blooberry.com/indexdot/css/supportkey/syntax.htm> says
that no version of MSIE supports adjacent sibling selectors, such as
p+p.

Is that actually true?

I use p+p pretty extensively, because I like the first paragraph of
a group to be flush left and with a top margin, while later
paragraphs in a group are indented and have a zero top margin.
Example:
http://www.acad.sunytccc.edu/instruc...at/project.htm
Under "Sample Size" the first three paragraphs should be grouped as
described above (and they are, in Mozilla and Opera).

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #1
4 1759
In article <MP************************@news.odyssey.net>,
Stan Brown <th************@fastmail.fm> wrote:
Brian Wilson's Index Dot CSS at
<http://www.blooberry.com/indexdot/css/supportkey/syntax.htm> says
that no version of MSIE supports adjacent sibling selectors, such as
p+p.

Is that actually true?


IE5/Mac understands it. That's it.

--
Kris
kr*******@xs4all.netherlands (nl)
Jul 20 '05 #2
In article <kr*****************************@news1.news.xs4all .nl> in
comp.infosystems.www.authoring.stylesheets, Kris
<kr*******@xs4all.netherlands> wrote:
In article <MP************************@news.odyssey.net>,
Stan Brown <th************@fastmail.fm> wrote:
Brian Wilson's Index Dot CSS at
<http://www.blooberry.com/indexdot/css/supportkey/syntax.htm> says
that no version of MSIE supports adjacent sibling selectors, such as
p+p.

Is that actually true?


IE5/Mac understands it. That's it.


[bitter tone of voice] That's frickin' amazing.

(I'm ticked at Microsoft, not at you.)

Just today I did a search at Microsoft's site and found something
about Microsoft's realizing its commitment to make IE _4_ support
style sheets fully. I knew there were some dark corners, but p+p???

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #3
Stan Brown wrote:
Brian Wilson's Index Dot CSS at
<http://www.blooberry.com/indexdot/css/supportkey/syntax.htm>
says that no version of MSIE supports adjacent sibling
selectors, such as p+p.

[bitter tone of voice] That's frickin' amazing.


I sympathize with the bitterness. But I don't think that MSIE/Win's
shortcomings could suprise me any more.
Just today I did a search at Microsoft's site and found something
about Microsoft's realizing its commitment to make IE _4_ support
style sheets fully. I knew there were some dark corners, but p+p???


It forces one to use the class attribute more often than would
otherwise be necessary, and even then precludes using css in certain
situations.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #4
In article <MP************************@news.odyssey.net>,
Stan Brown <th************@fastmail.fm> wrote:
that no version of MSIE supports adjacent sibling selectors, such as
p+p.

Is that actually true?


On the bright side, if you write p+p, Windows IE ignores the selector.
If you write p + p, Windows IE 5.0 treats the selector as p.

--
Henri Sivonen
hs******@iki.fi
http://www.iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Jul 20 '05 #5

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

Similar topics

1
by: Dan | last post by:
Hi, Is the method 'insertAdjacentText' supported by netscape? I 'm afraid of not. Does anyone know the equivalent method? By the way, does it exist something like a equivalence tabel between IE...
1
by: Tony Benham | last post by:
I have been getting to grips with css recently (very slowly), and one area I have a problem is when to use class selectors or id selectors. Are there any guidelines when to use each type ? The key...
3
by: TheMartian | last post by:
Having fun with using contextual selectors with tables and links In this very simplified version of what I am doing, I want to apply a specific style to all <td> tags, and the <a> tag in a single...
4
by: Andy Fish | last post by:
hi, I am using descendent selectors to format cells within a table according to the css class of the table. However, when using nested tables, it seems to pick up the outer matching rule rather...
4
by: Robert | last post by:
Hi, which DOM version (level) should I learn? I've seen that there is a DOM level 3, but is there any support for it already? -- Rob
5
by: Andrew Poulos | last post by:
If I have an external stylesheet that is @imported into my page and it has an element that looks like this: * html td { font-style: italic; } how can I use javascript to change the font...
2
by: sgarfunkle | last post by:
I have a complex document that goes several heading levels deep, and it's unreadable with all the headings and paragraphs against the left margin. I'd like to indent H2 elements by 50 pixels, H3...
6
by: Rhino | last post by:
What's the simplest way to determine which, if any, of my selectors are not needed in a given stylesheet? I have a small number of HTML pages that share two stylesheets; one stylesheet is for...
5
by: Nathan Sokalski | last post by:
I'm not sure if this is the right place to ask this question, but I wasn't sure where else to go. I have a table made of the following tags: <table class="myclass"> <tbody> <tr><td>.</td></tr>...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.