IE 6 and Descendent Selectors

#rightbox div > ul > li
color: black;
background-image: url(../siteimages/navsq03.gif);
background-repeat: no-repeat;
background-position: left 13px;
padding: 10px 0 0 12px;
list-style: none;
That rule seemed to go really well for a while to style the
nested <li> items in my list. But IE 6.0 doesn't like it.
There's a class on the list element <li class="sub">
and I thought that this might work
.sub
color: black;
and: so on;
or even
.sub li
Now I realise I still haven't got it or is it IE 6?
Thanks
Martin

> .sub
> {
> color: #000;
> and: so on;
> }
>
> or even
>
> .sub li
>
These two are NOT the same selectors, you know?
Try .sub { color:#000!important; }
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"martcol" <[email protected]> wrote in
message
news:ggrtnu$5n3$[email protected]..
> #rightbox div > ul > li
> {
> color: black;
> background-image: url(../siteimages/navsq03.gif);
> background-repeat: no-repeat;
> background-position: left 13px;
> padding: 10px 0 0 12px;
> list-style: none;
> }
>
> That rule seemed to go really well for a while to style
the nested
> items
> in my list. But IE 6.0 doesn't like it.
>
> There's a class on the list element <li
class="sub"> and I thought that
> this
> might work
>
> .sub
> {
> color: #000;
> and: so on;
> }
>
> or even
>
> .sub li
>
> Now I realise I still haven't got it or is it IE 6?
>
> Thanks
>
> Martin
>
>
>

Similar Messages

  • Consolidation of Descendant Selectors Using JavaScript

    QUESTION:  How does one use Javascript to apply a CSS rule to a descendant set of selectors?
    BACKGROUND
    With each <li> tag (shown) there is associated a unique <body> tag (not shown).  Further, each <li> tag is grouped together with other <li> tags under the same <div> tag (shown).  All tags involved in this rule are uniquely identified with an id attribute.  Obvious, perhaps, there will be a unique webpage for each <li> tag.
    By way of example, if I were writing the rule for the tag <li id="setting"> of a single page, I would write it as follows:
    body#bodysetting div#probablepast li#setting {
         background-color:#AAA;
         color:#000;
    Note that the id of the <body> tag in the above example was obtained by prepending the word body before the id of the <li> tag.
    OBJECTIVE: With there being so many <li> tags, I am thinking that I should write a JavaScript that would repeat the above pattern for each and every tag.
    PROPOSAL:  For the moment, I am considering placing the <div> tag identifiers in one array, the <li> tag identifiers in another array, and then creating still another array for the <body> tag identifiers by prepending the word body to each element of the <li> tag array. A set of loop statements would then concatenate the tags and identifiers for each <li> tag into a single set of descendant selectors such as I have provided above and generate the same CSS rule for each new page when it opens.
    DISCLAIMER:  I realize that it would be sufficient to simply use the id of each <li> tag, but I would like to preserve the above structure for the sake of logical coherence and in anticipation of other behaviors that I have yet to develop.
    THE SELECTORS
    div#probablepast
    li#setting
    li#resistance
    li#ideology
    li#containment
    li#reforms
    li#deception
    div#popularpresent1
    li#peaceful
    li#industrious
    li#studious
    li#polite
    li#difficult
    li#closed
    li#traditional
    li#unique
    div#popularpresent2
    li#authoritarian
    li#mercantilist
    li#hightrust
    li#collective
    li#ricevillage
    li#neurotic
    li#racialpurity
    div#bridgingthegap
    li#gap
    li#identity
    li#shadows
    li#dilemma
    li#moreunique
    div#contemporaryjapan
    li#auntmadoka
    li#chishiki
    li#instruction
    li#worldwithin
    li#pyrimidal
    li#gaijinsama
    div#overcomingthebarriers
    li#culture
    li#genes
    li#nationalidentity
    li#bordercrossing
    li#language

    Murray *ACE* wrote: I am confused as to why you would want to style each list element uniquely.  It obviously is something of great importance (although I cannot think of an instance where I would want to do such a thing).
    With a little help you probably can:
    body#bodysetting li#setting {style definition}
    and
    li#setting {style definition}
    are not the same when the page is constantly changing as it does with "persistent page indicators".
    Murray *ACE* wrote: In that case, using javascript to accomplish something of great importance is a risky thing to do....
    Yes and no.  My Google stats tell me that 97% of my viewers are using Javascript when they view my pages.  This is an extraordinarily high proportion that is well worth targeting.  I can dream about the luxury of 100% accessibility after I begin receiving my expected book royalties. 
    For some, being generous is a way of life.  For others, it is a way of making a name for themselves while engaging in legalized tax evasion.  For me, it is a feeling that ebbs and flows according to the behavior of those who stand to benefit from my generosity.
    Thank you for your continued interest.
    Roddy

  • [svn] 3734: Fixing advanced CSS descendant selectors for the alpha release.

    Revision: 3734
    Author: [email protected]
    Date: 2008-10-17 22:13:34 -0700 (Fri, 17 Oct 2008)
    Log Message:
    Fixing advanced CSS descendant selectors for the alpha release.
    - We now check descendant types against any superclass.
    - Removed StyleProtoChain.getClassStyleDeclarations()'s recursive "Class" lookup for each superclass of an IStyleClient during the search for type selectors in the hierarchy. This was replaced with a simple describeType-based description (called once per type).
    - Added a method to report whether any advanced styles had been registered with the StyleManager to optimize style declaration matching for the default case of simple style declarations.
    - Removed advanced selector cache key calculation from StyleProtoChain in favor of the legacy simple type level cache. Future work may be required to cache advanced, display list sensitive style information.
    - Fixed the specificity calculation for global selectors.
    QE: Yes
    Doc: No.
    Checkintests: Pass
    mxunit styles tests: Pass
    select mustella styles tests: Pass
    Reviewer: Glenn
    Bugs:
    SDK-17351 - [Advanced CSS] Descendant selectors don't work for Application
    SDK-17361 - [Advanced CSS] If you use descendant and id selectors together, the id selector doesn't work correctly
    SDK-17385 - [Advanced CSS] If you use descendant and class selectors together, the class selector doesn't work correctly
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17351
    http://bugs.adobe.com/jira/browse/SDK-17361
    http://bugs.adobe.com/jira/browse/SDK-17385
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

  • How Both View Selector and Column Selector in one report dashboard section

    Can we use a view selector and column selector inside a report in one section of the dashboard?
    env: obiee 10g
    Appreciate any links and pointers
    Thanks in Advance
    Kris
    Edited by: user566193 on Mar 22, 2011 10:18 PM

    hi kris,
    Can we use a view selector and column selector inside a report in one section of the dashboard?Here view selector is nothing but having multiple views and selecting depends on what end user want to see.You are saying in a single report in once section only.
    If it is a single report you can go with using a column selector.
    Note:-View selector and column selector combination can be used.....but it looks wierd as you need to select view at the same time the corresponding column.
    UPDATED POST
    Yes you can have it by creating different compound layouts with pivots in it.
    Cheers,
    KK
    Edited by: Kranthi.K on Mar 22, 2011 11:27 PM

  • OBIEE UI Interface is missing prompt functionality and Column Selector

    Hi,
    OBIEE UI Interface is missing prompt functionality and Column Selector in Answers when creating a report. This problem occurs on all the reports. Also the problem occurs in firefox too. Could you please suggest me any suggestion to overcome this issue.
    Thanks and Regards

    May sound stupid, but do you have the Privileges to add these things to a report? These features can be turned on/off from the Privilege Administration Screen, for a group or user. Have a look.
    Cheers,
    A.

  • View selector and column selector one row

    Hi Kings,
    Thanks in first.
    im having view selector v1,column selector c1
    user requiremet is to show the view selector and column selector in single row like,
    V1 pivot1 c1 usd
    rownumber Company currency
    1 abc USD
    2 def INR
    is there ay posibilities to show view selector ad column selector in a single row?
    Please help on this..its going nearly a week..
    Regards,
    Junior........

    Hi Sai,
    Thank you.
    My need is to show (from your example) like,
    chart along with Region,market,currentdate in top of results..
    more clear ..
    viewselector V1 column selector C1
    rownum company
    1 abc
    2 def
    ie,column selector and view selector should be appear top of the results.
    please remeber im using 2 pivot tables in view selector.
    if i select pivot1 then all details are coming left side .
    column selector is coming right side of all results.
    any ideas...please...
    regards,
    Junior...

  • [svn:fx-trunk] 11593: Advanced CSS fix - descendant selectors should search for arbitrary ancestors including when the universal selector is used .

    Revision: 11593
    Author:   [email protected]
    Date:     2009-11-09 15:20:36 -0800 (Mon, 09 Nov 2009)
    Log Message:
    Advanced CSS fix - descendant selectors should search for arbitrary ancestors including when the universal selector is used.
    QE notes: Please add test cases for arbitrary ancestor depth that involve using the universal * selector. Thanks for the additional testing on this patch too!
    Doc notes: N/A
    Bugs:
    SDK-23213 - descendent selectors can't catch components more than one level down
    Reviewer: Corey
    Tests run: Checkintests, test case
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23213
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as

    Welcome guy -
    Unless you are using Spry menus as a learning experience, you should move forward to a menus system that will display properly on the millions of portable devices that won't work with Spry which was deprecated 2 years ago.
    Many are using JQuery menus or pure HTML/CSS menus.
    If you wish to continue your Spry for learning experience, we'll be glad to assist; please let us know.
    By the way, your submenus are not showing because you need to add the red value to this rule in your vertical CSS
    ul.MenuBarVertical ul.MenuBarSubmenuVisible{
        width: 220px;
        left: 180px;

  • Hide sort(ascending and descending) buttons in an alv report.

    Hi,
    I want to hide the  sort(ascending and descending) buttons in an alv report.
    can any one help me with the code?
    I am not able to use the parameter IT_TOOLBAR_EXCLUDING
    of SET_TABLE_FOR_FIRST_DISPLAY of class  CL_GUI_ALV_GRID.
    Regards,
    Himanshu.

    Hi,
    data it_exclude type ui_functions.
    Exclude Standard Functions
        PERFORM f_excludetoolbar USING obj_cust_grid
                              CHANGING it_exclude.
    FORM f_excludetoolbar  USING  u_obj_cust_grid  TYPE REF TO cl_gui_alv_grid
                        CHANGING  c_it_exclude     TYPE ui_functions.
    Exclude Standard Functions
      CLEAR: c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_check              TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_refresh            TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_copy           TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_copy_row       TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_cut            TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_delete_row     TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_append_row     TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_insert_row     TO  c_it_exclude.
      APPEND u_obj_cust_grid->mc_fc_loc_move_row       TO  c_it_exclude.
    APPEND u_obj_cust_grid->MC_FC_SORT_DSC          TO  c_it_exclude.
      APPEND u_obj_cust_grid->MC_FC_SORT_ASC  TO  c_it_exclude.
      APPEND u_obj_cust_grid->MC_FC_SORT           TO  c_it_exclude.*
    ENDFORM.                    " f_excludetoolbar
    Hope it will helpful for you.
    Reward if found helpful.
    Regards,
    SB

  • I want to write a CAML query on Id based on Ascending and Descending.

    Hi,
    i want to write a CAML query on Id based on Ascending and Descending.
    Can i write CAML query using both Ascending and Descending?
    Actually my requirement is if i changed the id, Ascending and Descending will perform based on this id.

    Hi,
    Do you want to retrieve a set of items which are sorted based on the value of the ID column using CAML query statement?
    If this is the case, you can compose and test the CAML query statement with the help of
    CAML Designer which with a Graphic User Interface provided:
    http://karinebosch.wordpress.com/my-articles/caml-designer-for-sharepoint-2013/
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Mix Ascending and Descending in SQL

    I am very new to Oracle and SQL, but I am very curious if one can sort by mixing both ascending and descending orders within a single SELECT statement.
    I have been trying to figure out why this would even be needed, but I'm certain that there are unique circumstances where one would want this capability.

    SQL> select rank() over (order by a1 asc) "ASC",
      2     rank() over (order by a1 desc) "DESC"
      3  from test_asc_desc
      4  order by a1 asc;
           ASC       DESC
             1          6
             2          5
             3          4
             4          3
             5          2
             6          1
    6 rows selected.
    SQL> select row_number() over (order by a1 asc) "ASC",
      2     row_number() over (order by a1 desc) "DESC"
      3  from test_asc_desc
      4  order by a1 asc;
           ASC       DESC
             1          6
             2          5
             3          4
             4          3
             5          2
             6          1
    6 rows selected.

  • Tracing cell predecessors and descendants

    I'm an Excel user learning to use Numbers. One feature I find essential in Excel is the ability to select a cell and then, using the appropriate commands, trace predecessors and descendants of the cell (other cells that feed into the selected cell, or are used by the selected cell). I can't find a way to do this in Numbers. Is there a way?
    Thanks,

    Free openOffice
    http://www.openoffice.org/ (now no longer needs X11)
    Free neoOffice
    http://www.neooffice.org/neojava/en/index.php
    Yvan KOENIG (from FRANCE dimanche 19 octobre 2008 17:40:25)

  • FW CS6 sprites - both class and id selector

    Is it possible to output sprites containing both class and id selectors?
    I'm generating sprites for an existing web page which contains both class and id CSS. When I export from FW, the Export Options give me the choice of class or id, which makes me think I'm going to have to maintain two or more FW files. Is that right? Is there a way I can force FW CS6 to generate a single sprite file containing both class and id selectors?
    John

    To make this work, there'd need to be a way to designate ‘class versus id’ for each individual slice; however, writing the selectors for class(.) or id(#) into the slice names themselves seems to be overridden upon export.
    I can think of two possible strategies:
    Fixing the issue after the fact. During export, simply choose the selector option that's used most frequently, and then open the resulting CSS file in a text editor and switch the incorrect selectors from class(.) to id(#), or vice versa.
    Exporting in multiple passes. The Export dialog includes a ‘Selected Slices Only’ option. First use the Pointer tool to select all slices to be output with class(.) selectors, and Export using that option. Then do the same for slices to be output with id(#) selectors. You could also use sublayers within the Web Layer to help you in organizing and selecting slices.
    The second strategy will result in two different sprite sheets but would allow you to work within a single FW document, if that's a benefit.

  • JMS Header: JMS Properties and Message Selector

    Hi all
    I´m using a JMS Adapter to consume messages from a JMS queue (a JMS adapter which create the BPEL instance when a message arrives).
    The process must select messages which meet certain criterias, so I´m using Message Selector to filter the messages and only pick up the ones who interest me (If click on the "help" button on JDeveloper Wizard in the page you define Message Selector, you can see an example on how doing this).
    So how can I select messages using values placed on JMS Properties, in the Message Selector?
    For example, I set in the JMS Header:
    JMSInboundHeadersAndProperties
    --------JMSInboundProperties
    ----------------Property
    -----------------------name = 'Country'
    -----------------------value = 'Brazil'
    The JMSAdapter must consume only messages that "Country" = "Brazil".
    Thanks in advance.
    Menezes

    Yes
    I am able to specify JMS Header and JMS Properties when producing a message. However I am not able to user "Message Selector" to filter messages based on JMS Properties information when consuming messages.
    In the link you provide, there is an example on how to use Message Selector:
    # (a copy from the link)
    Message Selector
    ...for example, you can enter logic, such as:
    * JMSType = 'car' AND color = 'blue' AND weight > 2500
    * Country in ('UK', 'US', 'France')
    I believe the example with "Country" is exactly what I need, but I can´t get it work.
    I create the same example above, setting a property named "Country" in the JMSHeader, sending the message to a JMS Queue (BPEL Process #1) and try to comsume it on the Message Selector (BPEL Process#2), but JMSAdapter never consumes the message.
    Thanks for your help.

  • Master-Detail Linking and column selectors

    Does anyone know if it's possible (in 11.1.1.7) to create a master-detail link on a column that's part of a column selector?
    There's a master "roll-up" table using a column that's part of a column selector group. For one of the columns in the group, I've set the interaction to "Send Master-Detail Event".
    There's a detail table that uses that same column, and listens on the correct channel.
    However, when clicking on the column output in the master roll-up table, the detail doesn't change.
    I should mention I'm using the latest Firefox on PC, if that matters.
    Thanks!
    John

    I'm facing the same issue.Has anyone worked on it?

  • The formula field is not sorting both ascending and descending

    Dear All,
                   I am designing scoreboard the net amount contains the formula field, i sorted with asceding order by using sort,but it is not sorted both ascending or descending ,
                  Suppose if i used to sort the database field it is sorted properly  so any one help me very urgent
    Regards
    Selva.D
    Edited by: Rui Pereira on Aug 8, 2008 11:32 AM

    Dear Suda,
                     The scoreboard i designed via query print layout. So i calculated  by using formula field ie totalsales- sales return for that i used formula and i follow the below steps
    Choose repetitive area -
    > Right mouse click---> sort
    in the sorting i choose the formula uinque id and i choose Ascending then summary, after i click ok
    Suggest me the solution
    Regards
    Selva.D
    Edited by: Rui Pereira on Jul 8, 2008 5:18 PM

Maybe you are looking for

  • ITunes library on External drive connected to Time Capsule

    So i have all my data(HD home movies etc 1.5TB)on an external drive that is connected to TC via usb 2.0. I have told iTunes to include this data and it has moved over all the titles (music & movies)but itunes keeps getting hung up as it is trying to

  • Remote desktop not allowed between two Windows 8.1 pro pcs

    PC1 client of a domain PC2 notebook (no domain) User (in remote access) is a domain administrator and also pc1 admin.Logon is not allowed from pc2 to pc1 with the following message: "The system administrator has restricted the types of logon (network

  • How to get the sub menus

    Hi,        I am passing xml to create the menu.(Menu.createMenu(null, myMenuData, false), After creating the menu, is it possible to check whether the menu object has sub menu or not? Regards, Thiru

  • Shared meeting notes in Lync/OneNote

    Hi, I followed the instructions here:  "support.office.com/en-sg/article/Use-shared-and-private-notes-in-a-Lync-Meeting-2aee04e7-bbb1-47bb-9144-15ef8a9e567c" with a view to sharing a OneNote page of notes with other meeting attendees. It doesn't work

  • Using MicroSoft. XMLHttp in jsp or  java

    Hi, Can anybody tell me is it good to use MicroSoft. XMLHttp in jsp and java programs for connectint to remote url and sending xml data..(in java script fucntions) regards,