Using nth-child.

I am trying to use this coding for a image gallery that uses the focus, how ever. I cant seem to get all of the pictures to show up in the same spot on the page. Can someone please help. Included is link with files that i am working with.
https://creative.adobe.com/share/45f23433-f391-4a68-83ea-2404aa4deb70
Thanks for the help.

Please give us a link to your site. The supplied link goes to my CC home page

Similar Messages

  • HTML+CSS conversion issue with nth-child() selector

    Why doesn't Adobe Acrobat XI Pro convert the below HTML code correctly when I try to create a PDF from it?
    I've simplified the actual code significanly in order to present the problem in its simplest possible form. The code below uses the CSS "counter" feature to modify <li> elements according to a specific pattern. This code enumerates and indents every third line in the progression 1,4,7,10,13, ...
    In Firefox and Internet Explorer, this code is displayed correctly, but Acrobat XI Pro ignores the lines with the "nth-child(3n+1)" selector which contain directives to hide line enumeration on non-matching lines and to indent text on matching lines. Acrobat XI Pro instead displays line enumeration for all lines and doesn't indent text on any line, as if the two directives containing the "nth-child(3n+1)" selector were not present at all.
    Is this a bug or is it an unsupported feature in Adobe Acrobat XI Pro?
    Whichever the case, any suggestions on a not too labourious alternative method to achieve the same result?
    As things are, I've been forced to resort to using the so called "poor man's nth-child selector" workaround (abouthalf.com/development/poor-mans-nth-child-selector-for-ie-7-and-8/), which requires manual specification of each line's content with ever-increasing code extension/repetition. It gets the job done, but in a very messy and time-consuming way, and it only works with pre-defined static content. In terms of size, the difference is that of less than 1kb CSS file size when using the nth-child() selector vs more than 75kb CSS file size when using the above mentioned workaround, for a 250 line predefined stylesheet.
    Surely there has to be a better way to deal with this issue? Support for a core HTML/CSS feature that generates ordered layout patterns for line enumeration, indentation, etc, would seem like a top priority feature to support in a product such as Adobe Acrobat Pro, given its focus on page layout...
    <html>
    <head>
    <style type="text/css">
    body { margin: 75px 90px; }
    li { list-style-type: none; counter-increment: listing; }
    li:after { content: counter(listing); float: right; margin-right: -2em;  visibility: visible; }
    li:not(:nth-child(3n+1)):after { visibility: hidden; }
    li:nth-child(3n+1) { text-indent: 25px; }
    </style>
    </head>
    <body>
    <li>Line One</li>
    <li>Line Two</li>
    <li>Line Three</li>
    <li>Line Four</li>
    <li>Line Five</li>
    <li>Line Six</li>
    <li>Line Seven</li>
    <li>Line Eight</li>
    <li>Line Nine</li>
    <li>Line Ten</li>
    </body>
    </html>

    Any suggestion what the issue and/or solution might be?

  • Calling drill through report using parent child hierarchy

    Hi,
    I am using Parent/child hierarachy and I want to open a report using drill through on that hierarchy, whenever i click on column it opens the report but showing whole data. It is not restricing the data.Please tell how can i prompt a heierachial column or parent child column at detail level.
    Another issue i am facing is after clicking on + sign at the child column acton link is not working.
    Please reply on that issue.
    Edited by: HZ on Aug 15, 2012 12:15 AM

    Refer to:
    http://www.rittmanmead.com/2010/07/obiee-11gr1-support-for-ragged-skip-level-value-based-hierarchies/
    This should give you an idea.

  • Can i use my child registered ps to create work for selling purposes

    Hi,
    I am planning to purchase a copy of "Adobe Creative Suite 6 Design & Web Premium" under student plan using my child's identity.
    My plan is to use it teach my child PS and also for me to create images for both competition and commercial purposes on my personal website.
    The question is, am I allowed to do that?
    If not what are my options?
    Thank you.
    I wish to solve this before doing any legal purchases.

    The question is, am I allowed to do that?
    Yes.
    Education FAQ

  • Issue using Get-Child-Item

    Have a function that will scan (grep) files in a folder with a certain extension.  For some reason, Get-Child-Item always returns empty / 0 files on my folder even though you can look at the folder and see files of the specified extension (*.config).
     Suspect either I am doing something wrong or permissions are somehow getting in the way.  How do you properly use Get-ChildItem
    in this context?
    function scan-Files
    param(
    [parameter(mandatory=$True)]
    [string]$folder,
    [parameter(mandatory=$True)]
    [string]$filePattern,
    [parameter(mandatory=$False)]
    [bool]$recurse = $False
    Write-Host "Folder = $folder"
    Write-Host "FilePattern = $filePattern"
    $files = Get-ChildItem -Include $filePattern -Path $folder
    #always empty for some reason
    if ($files)
    Write-Host "File count = $($files.Length)"
    }...#Invoke our function$folder = "C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\"
    $filePattern = "*.config"         
    #scan-Files -folder $folder -filePattern $filePattern -recurse:$true
    scan-Files -folder $folder -filePattern $filePattern

    The Gods of the computer demand it.  Without it you are only enumerating a folder item.  With it you are enumerating the contents of the folder.  Include only works on files that have been selected.
    Example:
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\*.txt' -include *.config
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\*.c*' -include *.config
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer' -filter *.config
    Try all to see how they work.
    \_(ツ)_/

  • Adobe PDF viewer in MFC Hangs while using in Child Dialog

    Hi,
    I  am using Adobe PDF viewer ActiveX control in one of my application   made in MFC. The PDF viewer Loads PDF and Work well when i place it in  a  Parent Dialog. But, If i use it in Dialog that is embedded as a  Child  dialog to another dialog, it just hangs the entire application if  i try  to scroll up/down the viewer or click any print/zoom etc options  that  comes with Adobe PDF viewer.
    Could any  body help me on this, It already cost me a day to get a  solution.

    Thanks for the reply.
    I did forget to mention that I am now trying this under Windows 2000 Professional SP4 and VB6 SP5.
    Also I made a mistake in my previous post, I have Reader 7 on my pc, not 9.
    Adobe Acrobat Browser Control type Library 1.0 (AcroPDF.dll) can only be added to the project as a reference,
    not as a component. Project - Component does not list this. I tried selecting Project - Components - Browse.
    I then browsed to folder where I placed the AcroPDF.dll (C:\WINNT\system32). It was not listed in the default list since this lists
    only ocx files. I selected to show all files and the dll was then listed.
    If I selected this I received a message
    The file 'C:\WINNT\system32\AcroPDF.dll' was not registerable as an ActiveX component.
    Adding Adobe Acrobat Browser Control type Library 1.0 as a reference did not show anything in the toolbox.
    There was no red logo in the toolbox items.
    I definitely selected the General list and there was no sign of any Adobe or Acrobat item
    I then tried right click on toolbox, selected Components and Adobe Acrobat Browser Control type Library 1.0
    was not there.
    Stuart

  • FSG Reports using Parent/Child relationships

    All,
    We have recently progressed to using Parent and Child values with our Cost Centres (segment1) and we now are looking at the use of these with FSG Reports.
    Is it possible, or has anyone got any experience with using, an FSG report which picks up the Parent Value description without the need for manually typing it into Row Sets when totalling all the child values (inc child value descriptions).
    Any advice would be appreciated.
    Regards,
    Gary Lythgoe

    Hi Gary,
    Account assignments level we are selecting Accounts whether it is parent or child, but not at row line level, there is no builtin functionality as per your request.
    Regards
    Prasanth

  • TileList Report Error While used in Child SWF

    My Photo SWF used TileList to show a list of photos, It works
    fine if I launch the Photo.swf seperately.
    But, when Photo.swf was loaded from another swf, It report
    "TypeError: Error #2007".
    The Call Stack is,
    TypeError: Error #2007: parameter child can not be null.
    at flash.display::DisplayObjectContainer/addChildAt()
    at
    fl.controls::BaseButton/fl.controls:BaseButton::drawBackground()
    at fl.controls::LabelButton/fl.controls:LabelButton::draw()
    at
    fl.controls.listClasses::ImageCell/fl.controls.listClasses:ImageCell::draw()
    at fl.core::UIComponent/drawNow()
    at fl.controls::TileList/fl.controls:TileList::drawList()
    at fl.controls::TileList/fl.controls:TileList::draw()
    at fl.core::UIComponent/::callLaterDispatcher()
    Any suggestions?
    Thx!
    Walter

    Hi Sunny,
    Narrowed down the root-case. EHP4 was inially tried to install in this sandbox system. Then it was decided to cancel it before it reached the downtime. RESET was performed.
    Now when we start EHP3, there are objects that was part of EHP3 and also touched by EHP4. So the reset does not reset them all. In fact the database side was not clean properly, so some tables are in EHP4 format.
    EHP3 finally complete, after several manual activation of objects (programs and tables).
    We are still getting several syntax error but minimal now - again, manually resolving each time.
    Thanks,
    Terry

  • Simulate 1-N relationship as N-N by using Parent-Child structure

    Hi,
    i have a 1-N relationship between SKILL and USER tables meaning 1 skill can be applied to several users. A skill can have a parent skill meaning that a ParentSkill inherits all privileges of it's child.
    I would like to simulate a N-N relationship between users and skills by building a view which goes through the parent-child relationship... Can this be accomplished by building a view?
    Current structure:
    |USERID | USERNAME | SKILLID  |
    +-------+----------+----------+
    |   1   |  Jack    |      1   |
    |   2   |  Simon   |      1   |
    |   3   |  Fred    |      3   |
    +-------+----------+----------+
    |SKILLID | DESCRIPTION   | PARENTSKILL  |
    +--------+---------------+--------------+
    |   1    |  Mechanic     |      2       |
    |   2    |  Inspector    |      3       |
    |   3    |  Supervisor   |      null    |
    +--------+---------------+--------------+Preferred output (ordering of skillid is not important):
    |USERID | USERNAME | SKILLID  |
    +-------+----------+----------+
    |   1   |  Jack    |      1   |
    |   2   |  Simon   |      1   |
    |   3   |  Fred    |      3   |
    |   3   |  Fred    |      2   |
    |   3   |  Fred    |      1   |
    +-------+----------+----------+

    Hopefully this meets your needs:
    WITH
    users as
        SELECT 1 as USERID, 'Jack' as USERNAME, 1 as SKILLID FROM DUAL UNION ALL
        SELECT 2 as USERID, 'Simon' as USERNAME, 1 as SKILLID FROM DUAL UNION ALL
        SELECT 3 as USERID, 'Fred' as USERNAME, 3 as SKILLID FROM DUAL
    skills as
        SELECT SKILLID,CONNECT_BY_ROOT SKILLID AS ANCESTORS
        FROM
                SELECT 1 as SKILLID, 'Mechanic' as DESCRIPTION, 2 as PARENTSKILL FROM DUAL UNION ALL
                SELECT 2, 'Inspector', 3 FROM DUAL UNION ALL
                SELECT 3, 'Supervisor', NULL FROM DUAL
        CONNECT BY PRIOR PARENTSKILL = SKILLID
    SELECT USERID,USERNAME,ANCESTORS
    FROM skills, users
    WHERE users.skillid = skills.skillid
        USERID USERN  ANCESTORS
             1 Jack           1
             2 Simon          1
             3 Fred           3
             3 Fred           2
             3 Fred           1Hope this helps!

  • Want to use popup child window

    Hi everybody.....
    In my page i have a button. on clicking this button another window is opened which contain only a single textarea and a button. I want to get the text (written in the text area) when user click on that button of the new window i come back to original window with that text information. how can i do this? i know that with DOM i can do in my jsp. but how? Can anybody know this?
    - Jignesh

    window.opener will give you a reference to the parent window.
    My preferred method is to write a javascript function inside the parent window which is called by the child window, rather than the child window directly accessing fields/properties on the main window.
      // in child.jsp
      var value = document.forms[0].txtInput.value;
      window.opener.callBackFunction(value)
      // in parent.jsp
      function callBackFunction(text){
        // do something with this text value

  • Using a child as a button

    Hi,
    Two (hopefully) quick questions:
    1) Basically, I have my controls on the main timeline. From here, I have a movieclip. I now want to spawn a Child within this movieclip, through actionscript, that is capable of being a button. How would I do this, and how would the eventlistener look?
    this.mc_1.mc_2["step"+String(i)].addEventListener(MouseEvent.CLICK, stairs, false, 0, true);
    Did not work.
    2) Also, how can I have a button within a movieclip within a movieclip? (mc_1. links into the movieclip, but I need to link one deeper, and doing mc_1.mc_2. doesn't work)
    Cheers.

    Answers to both of your questions depend on how you create the button. If you show that code someone may be able to help you.

  • REGEXP_SUBSTR - using nth occurence, how can I include null?

    Hi
    Running the following:
    select REGEXP_SUBSTR('1|2|3|4|5||7|8|9|10','[^|]+', 1, 5) from dual
    UNION ALL
    select REGEXP_SUBSTR('1|2|3|4|5||7|8|9|10','[^|]+', 1, 6) from dual
    UNION ALL
    select REGEXP_SUBSTR('1|2|3|4|5||7|8|9|10','[^|]+', 1, 7) from dual
    UNION ALL
    select REGEXP_SUBSTR('1|2|3|4|5||7|8|9|10','[^|]+', 1, 8) from dualGives:
    5
    7
    8
    9
    How can I get it to produce:
    5
    7
    8
    Please?
    In other words, I want to not skip the null.
    Thanks

    Perhaps using a replace of || to | | in the statement will do the trick :)
    I want to avoid writing a procedure.You have problems on inputs with | as first character too, replacing || with | | won't solve that problem. That's why I suggest you to don't try that way.
    The solution I posted before, the one using regexp_replace instead of regexp_substr, was good for it.
    Processing ...
    with input as (
              select '|2|3|4|5||7|8|9|10' as chars
              from dual
         ),positions as (
              select 5 as pos
              from dual
              union all
              select 6 as pos
              from dual
              union all
              select 7 as pos
              from dual
              union all
              select 8 as pos
              from dual
    select regexp_replace(chars,'^([^|]*\|?){'||to_char(pos-1)||'}([^|]*).*$','\2'),
         nullif(regexp_substr(replace(chars,'||','| |'),'[^|]+',1,pos),' ')
    from input
         cross join positions
    Query finished, retrieving results...
        REGEXP_REPLACE(CHARS,'^([^|]*\|?){'||TO_CHAR(POS-1)||'}([^|]*).*$','\2')           NULLIF(REGEXP_SUBSTR(REPLACE(CHARS,'||','||'),'[^|]+',1,POS),'')      
    5                                                                                                                                                            
                                                                                     7                                                                           
    7                                                                                8                                                                           
    8                                                                                9                                                                           
    4 row(s) retrievedBye Alessandro

  • Problem with hierachy aggregation, only using last child to populate parent

    The following is a report that is dynamically generated:
    ACCOUNT         Cash
    2003 JAN          978,940
    2003 FEB          1,141,812
    2003 MAR          1,435,928
    2003 Q1          1,435,928
    2003 APR          1,663,463
    2003 MAY          1,740,351
    2003 JUN          1,758,067
    2003 Q2          1,758,067
    2003 JUL          2,124,283
    2003 AUG          2,022,984
    2003 SEP          2,470,520
    2003 Q3          2,470,520
    2003 OCT          1,522,778
    2003 NOV          1,550,067
    2003 DEC          2,741,664
    2003 Q4          2,741,664
    2003 TOTAL          2,741,664
    You can see that for some reason the hierachy is not adding correctly, as it is solely taking the last month of the quarter and saying that it is the quarter's numbers. And taking the last quarter's numbers and saying that it is the year's.
    I've also verified that it only occurs on asset and liability type accounts and not income and expense type accounts.
    How is this occuring? 
    Thanks,
    Michelle

    Hi Michelle,
    The data that you attached is totally correct from an accounting perspective. Since BPC is used mainly by finance people, it follows this perspective.
    Let me try to explain why this is correct;
    There is one big difference between balancesheet accounts (AST/LEQ in BPC) and profit and loss accounts (INC/EXP);
    Balance sheet accounts are always referring to a Period End closing amount which should always be the same for the total year, Q4 and the last month of a year (as shown in your example).
    Profit and loss accounts on the other hand should only show the amount that are posted to these accounts for the selected period, so the total year should be added up from jan-dec, and Q4 should be an adding up of oct-dec, etc.
    Periodic values (this period -/- previous period) for balancesheet accounts are only relevant for Cash-flow calculations and some movements that need to be reported on a periodic bases (ie Investments). Cash-flow is mostly calculated into a seperate account tree, Periodic investments, when a seperate subtable dimension (type s) is used, can standardly not directly be reported in Excel, but can be calculated in Excel by retrieving this period, the previous period and than calculate the difference for these two. Another solution might be to use a custom measure to do the trick.
    Hope this helps,
    Alwin

  • Can't get the iPad to use my child's number for texting? All of my personal texts go on their iPad and there texts show up on my phone? How do I change the number?

    Need help changing phone number on iPad to my child's number instead of mine.

    You're welcome
    Merry Christmas to you, too.

  • CSS Class Synonyms

    Imagine the following styles:
    tr.Fish { background: #00f; color: #fff; }
    tr.Firefly { background: #000; color: #ff0; }
    I have a third class, .linkDark, which modifies link colors. Is there a way to make the two styles above inherit .linkDark's styles, even though they aren't the same class?
    I know how to create multiple classes - [tr class="Fish linkDark"] but that might be kind of difficult in this case. I'm working in a reference table with rows for different plant and animal species, only a few of which will have dark backgrounds requiring .linkDark styled URL's.
    Anyway, if I've defined .linkDark higher up the food chain, could I write something like this?:
    tr.Fish = .linkDark
    so that it incorporates the styles from both classes - tr.Fish and .linkDark?
    Thanks.

    For zebra tables, I like to use the Nth-child pseudo-selector.  It's very convenient for this.
    Below are working demos with code example:
    http://alt-web.com/DEMOS/CSS3-zebra-table.shtml
    http://css-tricks.com/useful-nth-child-recipies/
    Nancy O.

Maybe you are looking for