www.webdeveloper.com
Results 1 to 4 of 4

Thread: Whats is > this about in CSS?

  1. #1
    Join Date
    Dec 2002
    Location
    US
    Posts
    128

    Whats is > this about in CSS?

    Typically I usually see something like this:

    header h1 { ... }.

    But the other day I was looking at some variety of templates on freehtml5templates.com and found the Rings of Time template using something I never seen before.

    Code:
    header>h1 {
    float: left;
    margin: 0 0 18px 10px;
    width: 600px;
    font-size: 50px;
    line-height: 36px;
    }
    Would someone happened to explain what the > sign is about?

  2. #2
    Join Date
    Dec 2011
    Posts
    74
    It refers to the direct child. see the below link for more information

    http://www.w3.org/TR/CSS21/selector....hild-selectors

  3. #3
    Join Date
    May 2012
    Posts
    29
    CSS defines HOW HTML elements are to be displayed.Styles are normally saved in external .css files.Cascading Style Sheets is a style sheet language used for describing the presentation semantics of a document written in a markup language.

  4. #4
    Join Date
    Dec 2011
    Posts
    74
    Quote Originally Posted by perfectionsu View Post
    CSS defines HOW HTML elements are to be displayed.Styles are normally saved in external .css files.Cascading Style Sheets is a style sheet language used for describing the presentation semantics of a document written in a markup language.
    Well done answering a question that wasn't asked!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles