Why a "ul" is placed at the beginning AND at the end of a class selector?

I'm quite confused something.  I thought that a rule CSS selector for bulleted lists was written like this:

. List ul li {}

margin-top: 1px;

float: left;

etc...

{

But I see in places different, written like this:

UL. List ul li {}

margin-top: 1px;

float: left;

etc...

{

The difference being that a "ul" is placed at the beginning of all the class selectors unordered list, in addition to the 'ul' as a result of the selection.

There must be a reason to make it in two places... I was wondering if someone could explain it to me.

Your selector down, .list ul li, means (read from right to left):

  • a list item
  • inside or after a list unordered
  • inside or after a class element = "list"

Your selector down, ul.list ul li, means

  • a list item
  • inside or after a list unordered
  • inside or after a list of unordered class = "list"

In the first case, class = "list" could be assigned to ANY element, for example, a div or a li.

In the second case, class = "list" is attributed mostly to an unordered list.

The only time where it's the same rule is what class = 'list' is assigned to an unordered list.

It is not necessary to repeat the ul to start both and inside the selection, but it is necessary if you want only a list item of the profile given in the second example above in style.

Beth

Tags: Dreamweaver

Similar Questions

  • Why Thunderbird adds an A at the end of sentences when I save an email that I work on the drafts folder and then open it to work on it at a later date?

    Twice now I work on one e-mail then saved in the drafts folder to finish later and I supported then out of Thunderbird. From the opening of Thunderbird once more and goes to the open drafts folder and to work on the new Thunderbird email, the first time had added an A or an EA at the end of each sentence. I then had to go through the entire email to remove these letters. Today I saved a mail to the drafts folder, as before, and this time when I opened the e-mail again an A had been placed randomly at the end of some sentences, but not all. Yet once I had to go through the entire email and delete adding A I have not had a problem with Thunderbird that in the past. This has been the case during the past two weeks. I received a laptop computer and downloaded the latest version of Thunderbird on it, and it is the version that this happens with. I do not understand why the addition or the letters are added to the email. They are not something I typed in the email.

    I guess right, but sometimes, you can see an A type character when instead of an ordinary space, there is a space specially coded (and it is not decoding in a space of ugly).

    You type a space between sentences? If you type several spaces, it is possible that all but one of them could get specially coded because otherwise HTML will collapse into a single space.

  • flash_portfolio_300x250.js? 1465837255984 why these numbers are added at the end of my js file?

    So I have a javascript file named "flash_portfolio_300x250.js", but inside my index of the referencing file ' flash_portfolio_300x250.js? 1465837255984 '. so I have a client trying to download this on google display network and they get an error message and are far from happy at the moment. I didn't know they used the google display network so I had no idea what it was. Once I discovered they were using it I ran my files through their validator and found the question

    < script src = "flash_portfolio_300x250.js? 1465837255984" > < / script >

    I do not have a file named that. the name of the file is the following

    < script src = "flash_portfolio_300x250.js" > < / script >

    Once I got rid of those numbers at the end of the name of the file the validator came back as good.

    Anyone know why its adding this?

    This apear in random numbers when you test applications. They apear to prevent caching of the browser. It is better to publish and test the published file.

  • Why block my music momentarily at the end of each track?

    When you listen to music on Windows media Player, EACH track is momentarily suspended towards the end of the track. I run Windows Vista

    Hello

    1. what format of music do you play?

    2. What if this problem occurs with all the music files?

    I suggest you to follow the links and check out them.

    How can I stop my music skip or break down when I play?

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-stop-my-music-from-skipping-or-breaking-up-when-I-play-it

  • Why this purple rectangle appears at the end of each clip?

    Before the update to 2014 PPCC, I don't see this purple whenever the playback cursor reaches the end of a clip. Is this normal?

    Screen Shot 2014-06-18 at 7.34.51 PM.png

    This means that you are on the last image.

    It used to be black now its purple.

  • Why do I get \09 at the end of the data file on a measure with timestamp file writable

    Hello everyone, I've been checking this article of knowledge...

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/3659

    and

    http://digital.NI.com/public.nsf/allkb/68806B93A21355E98625726F0064822B

    and I observed that I get \09 end of file data, all the world noted this? is there a u-turn for this?

    Thanks in advance

    Of course.

    Remove the tab constant and function of string concatenation.

  • First broadcast 13 items under Windows 7 64 fading little problem to black at the end of the video.

    With 13 items first, on Windows 7 64 bit, I try to put an end to a video with a fade to black transition.  For some reason, it fades to black and then return.  Yes, I have tried all three ways, left and right between the two, but the computer keeps fading out and then in.  And yes the transition is at the end of the clip.

    morrisst

    I have the first elements 13 on Windows 7 64 bit.

    When I apply the video black Dip transition to the last video for editing, alignment is Clip on the left. You have been there and done that.

    You can post a screenshot of what you see when the Dip to black rocking stops on your Timeline?

    When I do as you suggested, I see this

    You've expanded the Timeline with the - + cursor above the timeline and inspect the end of the clip as well as

    another lead content above or below, you detect a fragments that could be a factor in what you see?

    If you start a new project, do you have the same result?

    Could you post a screenshot showing what you see with the Dip in the video transition black, placed at the end

    the last item on your Timeline (alignment: left Clip)?

    Thank you.

    RTA

    Add on... I posted this reply earlier today, but somehow the last part did not appear in the thread. So I am adding that now to the original content.

  • Almost done with my first vid. Looking for advice on the ending credits...

    What I would do for my closing credits, before the band title turnover is to introduce viewers each actor with a 3-4 sec clip their main role in the film without sound (except the background music) and then pause the clip for a few seconds, all text rolls with their name. Not sure if I explained myself well enough, but of course at this point I won't have a problem cutting the clips of the film to be placed at the end, with no background noise (under music). What I can't understand is how pause the video at some point while the music audio is still rolling and then be able to overlay text next to the actor. Thanks in advance.

    Steve

    I think it's more effective.

  • Active forms appears only if placed at the beginning of the timeline or not more than 1.5 sec. ?

    Why is my Smart Forms (form of the legend) appears only when published if it is placed at the beginning of the timeline or Timing > appear after moved to no more than 1.5 sec 6 Captivate?

    You have another object on the slide, such as a button, click on the box, or smart shape, converted to a button?

    I suspect that you have a button on this slide, which is put on pause to 1.5 seconds by default. Everything that is on your timeline after this point does not appear when you preview or publish, because the project will pause to 1.5 seconds.

  • Why Photoshop keep opening in the workspace of beginning and not Essentials workspace since the last update?

    Why Photoshop keep opening in the workspace of beginning and not Essentials workspace since the last update?

    Hi GMinert,

    Beginning workspace is a new feature that was added in the release of CC2015.1 However, you can disable it by going to the Photoshop preferences > General > uncheck 'display space to start work '.

  • Why the blocks of temporary tables are placed in the buffer cache?

    I read the following statement, which seems quite plausible to me: "Oracle7.3 and generates from close db file sequential reading of the events when a dedicated server process reads data from temporary segment of the disc." Older versions of Oracle would read temporary segment data in the database buffer cache using db file scattered reads. Releases latest exploit heuristics that data of temporary segment is not likely to be shareable or revisited, then reads it directly to a server process programs global (PGA). »

    To verify this statement (and also for the pleasure of seeing one of these rare close db file sequential read events), I ran a little experiment on my Oracle 10.2 Linux (see below). Not only it seems that different this v above, the blocks of temporary tables are placed in the buffer cache, but also$ BH. OBJD for these blocks does not refer to an object in the database's existing (at least not one that is listed in DBA_OBJECTS). Either incidentally, I traced the session and have not seen any file db close sequential read events.

    So, I have the following questions:
    (1) is my experimental set-up and correct my conclusions (i.e. are blocks of temporary tables really placed in the buffer cache)?
    (2) if so, what is the reason for placing blocks of temporary tables in the buffer cache? As these blocks contain private session data, the blocks in the buffer cache can be reused by another session. So why do all cache buffer management fees to the blocks in the buffer cache (and possibly remove) rather than their caching in a private in-memory session?
    (3) what V$ BH. OBJD consult for blocks belonging to temporary tables?

    Thanks for any help and information
    Kind regards
    Martin

    Experience I ran (on 10.2 /Linux)
    =============================
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Oct 24 22:25:07 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> create global temporary table temp_tab_4 on commit preserve rows as select * from dba_objects;
    
    Table created.
    
    SQL> alter system flush buffer_cache;
    
    System altered.
    
    SQL> select count(*), status from v$bh group by status order by 1 desc;
    
      COUNT(*) STATUS
    ---------- -------
          4208 free
          3 xcur
    
    SQL> select count(*) from temp_tab_4;
    
      COUNT(*)
    ----------
         11417
    
    SQL> -- NOW THE BUFFER CACHE CONTAINS USED BLOCKS, THERE WAS NO OTHER ACTIVITY ON THE DATABASE
    select count(*), status from v$bh group by status order by 1 desc;
    SQL> 
      COUNT(*) STATUS
    ---------- -------
          4060 free
           151 xcur
    
    SQL> -- THE BLOCKS WITH THE "STRANGE" OBJD HAVE BLOCK# THAT CORRESPOND TO THE TEMPORARY SEGMENT DISPLAYED
    -- IN V$TEMPSEG_USAGE
    select count(*), status, objd from v$bh where status != 'free' group by status, objd order by 1 desc;
    SQL> SQL> 
      COUNT(*) STATUS      OBJD
    ---------- ------- ----------
           145 xcur       4220937
          2 xcur        257
          2 xcur        237
          1 xcur        239
          1 xcur    4294967295
    
    SQL> -- THE OBJECT REFERENCED BY THE NEWLY USED BLOCKS IS NOT LISTED IN DBA_OBJECTS
    select * from dba_objects where object_id = 4220937 or data_object_id = 4220937;
    
    SQL> 
    no rows selected
    
    SQL> SQL> -- THE BLOCKS WITH THE "STRANGE" OBJD ARE MARKED AS TEMP IN V$BH
    select distinct temp from v$bh where objd = 4220937;
    SQL> 
    T
    -
    Y
    
    SQL> 
    Edited by: user4530562 the 25.10.2010 01:12

    Edited by: user4530562 the 25.10.2010 04:57

    The reason to put the blocks to the global temporary table in the buffer cache is the same thing why you put ordinary table blocks in the cache buffers-> you want some of them to be in memory.

    If you ask why don't keep us somehow temporary tables in the PGA - well what happens if this temporary table will be 50 GB? 32-bit platforms cannot even handle this and you do not want a process of becoming uncontrollable so great.

    Moreover, TWG will allow you to restore, back to a backup (or savepoint implied when an error occurs during a call DML), and this requires protection by the cancellation. Place lines / revenge in PGA would have complicated the implementation even further... now GTT is almost of the regular tables which just happened to reside in temporary files.

    If you really want to put data in the PGA only, then you can create collections of PL/SQL and even access through the use of SQL (coll CAST AS xyz_type) where xyz_type is a TABLE of an object any.

    --
    Tanel Poder
    New online seminars!
    http://tech.e2sn.com/Oracle-training-seminars

  • How to make new bookmarks appear at the end of the toolbar of bookmarks instead of beginning?

    I drag the bookmarks toolbar to add the tabs. They appear at the end, but now they appear at the beginning. I can't find a setting to change it back. I tried an add-on called spacious bookmarks, but who did the same thing and does not have a setting to change also.

    The tab bookmark must be placed at the point where you drop it on the toolbar of bookmarks.

    Do you at least see the selection arrows when you are between two bookmarks?

    You can drag a link or tab or the globe/lock (the Site identity button) on the bookmark star or 'Show your bookmarks' move the bookmark button to open the drop-down list in the position where you want.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox, Tools/menu key > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox, Tools/menu key > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Why should I pay $ 28 on the App Store for Pages on my old MacBook Pro when I have it for free on my new MacBook Pro on my iPad on my iPhone?

    Why should I pay $ 28 on the App Store for Pages on my old MacBook Pro when I have it for free on my new MacBook Pro on my iPad on my iPhone?

    And I could ask the same question for the calculator on the iPad?

    Something I don't understand here...

    Nice day!

    Yanick

    If you have used any other processor of professional quality (for example, Microsoft Word), and then just go ahead and use the current culture of free (financially) applications on devices you mention. It will not take too long before you understand point Apple of giving them. No application in the world can open documents Pages but the most recent version.

    Free will begin to erode when Pages for Mac forget how to open a perfectly fine document that you saved an hour or two ago. Or you realize you have to press the SHIFT key every time you want a first word in a sentence. Or you can not bind the text boxes to the text layout advanced stream. Or you can't do data merge / e-mail. Table of contents page links or comments will not export to PDF.

    Pages is not a clone of Word, and you'll quickly realize that Pages input/export deal with the translation. Open a blank document. Type the letter "A". Export to Word .docx. It will be 494KO in size. Do the same thing in LibreOffice or MS Word and it will be 8 KB.

  • My Windows Live Mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.

    My direct mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.  How to load the list of contacts to organize all contacts, including contacts, in alphabetical order by family name?

    E-mail address is removed from the privacy *.

    My direct mail is sorted in alphabetical order by family name,

    It is not clear what you mean by this statement.

    • There is an option in the contacts window in kind (names) of > name -is that what you mean?
    • Or that, when you open / switch to the contacts window, you see a list sorted by last name?
    • Or that when you click on to... or start typing in the to... box in a message composition window, you see a list ('contact selector') sorted by family name?

    Only in contact with an e-mail address will appear in the "Chooser". The list includes names in alphabetical order. For contacts with a first name and a registered name , the list will be sorted based on the preference granted to sort by in the Contacts window. Contacts with multiple email addresses will appear once for each address with the address in brackets after the name.

    Name is a special value built by WLMail contact data fields. It will consist of the first match found during the analysis of the data fields in the following order:

    1. Nickname
    2. First name + last name (in the order specified to sort by in the Contacts window)
    3. First name or last name
    4. Company
    5. E-mail address
    As you start typing in of... box, WLMail will present a list of matching entries in your contacts list. You can start typing username, first name, first name, company, e-mail address to a contact or any significant word in the Notes field for this contact. So, if you type bil, for example, the list that appears will include
    • any person whose nickname starts with Bil, e.g. Billyboy
    • any person whose first name begins with Bil, e.g. of Bilbo Baggins
    • anyone whose first name begins with Bil, for example Jim Bilko
    • everyone whose company name starts with Bil, e.g. Billingsgate Market
    • everyone with an address of e-mail from bil bil or just after a period or the ' @' symbol, for example "the bilbo at hotmail dot com" or "jim to billingsgate dot com" or "jim.bilko at hotmail dot com.
    • all categories whose name contains a word starting with bil

    If this does not solve your problem, please post your question in the forum dedicated to contacts in Windows Live Mail.

    Noel

  • Noise at the beginning and end of the songs?

    I get a humming sound for a split second at the beginning and end of the songs which can be heard at high volume.  The sound only comes from the left atrium.  I tried a few different pairs of headphones and get the same result, then it is definitely the Clip.

    It of just a feature of the Sansa Clip or is there something wrong with my drive?

    TIA

    I tried ripping the mp3 with two different programs, and it does not solve the problem.  Mind you, these are the same files of music that I had installed on my iPod Shuffle 2nd without noise.

    Today I bought another Sansa Clip and it does the same thing only for the straight path instead of the left.

    My conclusion is that it is an inherent problem with the Sansa Clip.  The reason why some of you can't hear this 'noise', I'm talking about is because I have the ears of a bat.

Maybe you are looking for

  • 'get' button missing in the Appstore (iPad)

    The app of Hangouts was having some problems, so I uninstalled. Then when I went back in the App Store to get it again, there is no way to download it. As you can see, the button is available on other applications. I tried to restart my device (iPad

  • 15-ro36tu HP: hp 15-ro36tu cannot perform mirroring of the screen

    I have a laptop hp with pentium core 15-ro36tu. I tried to connect it to my samsung smart tv, who says that he accepts the mirroring of the screen. So I tried projecting my laptop on the tv screen by going to the project, add a new device. But my lap

  • Satellite A300 - 15G: can I replace the video card?

    I bought my laptop about half a year ago.Because I am a linux user, I reinstall Windows Vista Linux Fedora 10. But our 'friends' ATI just create normal, 100% usable drivers for linux.NVIDIA create drivers normal, and it works perfectly. Support quest

  • Get a message the message "Outlook has encountered an error and needs to close" when you add a contact.

    Original title: when adding a friend perspective encounters an error and needs to close. Windows XP: I'm under Outlook Express.  I also have the total package of McAfee.  Recently, I tried to add a friend to spam, and whenever I try (different email

  • Cannot send email from OE6

    Since yesterday I couldn't send emails from OE6 (can receive without problem) the error message is An unknown error has occurred. ' Subject 'Thank you!', account: 'pop3.hosts.co.uk', server: 'smtp.namesco.net', Protocol: SMTP, server response: ' 550