PC Review


Reply
 
 
Trevor L.
Guest
Posts: n/a
 
      31st Mar 2006

Maybe a bit OT as it is a CSS question

I have seen CSS styles like
A*B
(I can't recall an example)
A>B
e.g html>body

What does this syntax mean ?


--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
 
 
 
Murray
Guest
Posts: n/a
 
      31st Mar 2006
A>B means any occurence of B that is a child of A. In other words -

<A>
.....
<B></B>
....
</A>

but not -

<body>
<B>...</B>

A*B would refer to any construction that has B as a GRANDCHILD of A, e.g.,

<A>
....
<C>
....
<B></B>
....
</C>
....
</A>

but not when B is a closer descendent to A, e.g.,

<A>
....
<B></B>
....
</A>

There are also adjacent-sibling selectors -

A+B

which would select any occurrence of A immediately followed by B.

Support for all of these selctor usages is incomplete at present....


--
Murray
--------------
MVP FrontPage


"Trevor L." <Trevor_L.@Canberra> wrote in message
news:(E-Mail Removed)...
>
> Maybe a bit OT as it is a CSS question
>
> I have seen CSS styles like
> A*B
> (I can't recall an example)
> A>B
> e.g html>body
>
> What does this syntax mean ?
>
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>



 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      1st Apr 2006
Murray wrote:
[snip of some interesting explanations]

So we have
A>B any occurence of B that is a child of A.
A*B any construction that has B as a GRANDCHILD of A
A+B any occurrence of A immediately followed by B.

I searched w3schools and couldn't find any reference to this.

Is it valid for modern browsers, say IE6 (if you call that modern !) and
Firefox 1.5 >
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      1st Apr 2006
See
http://www.w3.org/TR/REC-CSS2/selector.html

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
_____________________________________________


"Trevor L." <Trevor_L.@Canberra> wrote in message news:(E-Mail Removed)...
| Murray wrote:
| [snip of some interesting explanations]
|
| So we have
| A>B any occurence of B that is a child of A.
| A*B any construction that has B as a GRANDCHILD of A
| A+B any occurrence of A immediately followed by B.
|
| I searched w3schools and couldn't find any reference to this.
|
| Is it valid for modern browsers, say IE6 (if you call that modern !) and
| Firefox 1.5 >
| --
| Cheers,
| Trevor L.
| Website: http://tandcl.homemail.com.au
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is Access VBA syntax different from Excel syntax? cr113 Microsoft Excel Programming 2 2nd Dec 2009 12:42 AM
Generic Interface syntax in VS 2005 using Old syntax Saad Microsoft VC .NET 2 10th Jun 2009 10:40 PM
Generic Interface syntax in VS 2005 using Old syntax Saad Microsoft Dot NET 1 9th Jun 2009 02:43 PM
Generic Interface syntax in VS 2005 using Old syntax Saad Microsoft C# .NET 1 9th Jun 2009 06:43 AM
Re: HELP! UPDATE command tsql syntax and sql access syntax Bob Barrows [MVP] Microsoft Access Queries 5 27th Aug 2008 09:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:08 AM.