www.webdeveloper.com
Results 1 to 3 of 3

Thread: beginner question

  1. #1
    Join Date
    Aug 2012
    Posts
    1

    beginner question

    hi all
    Can you please explain what the marked line:

    #topWrapper
    {
    width:100%;
    height:200px;
    background-color:${topWrapper.bg.color};
    background-image:url(images/css/topWrapper-bg.jpg);
    background-position:center top ;
    background-repeat:repeat-x;
    }

    I can't understand the $ sign and the use of topWrapper inside topWrapper definition.

    Thanks

  2. #2
    Join Date
    Dec 2011
    Posts
    74
    I believe the dollar symbol refers to the end of a string, although I'm not entirely sure it works in this application.

    A good reference to use regarding selectors is the following:

    http://net.tutsplus.com/tutorials/ht...must-memorize/

  3. #3
    Join Date
    Mar 2012
    Posts
    1,651
    I do not recognise the syntax, perhaps it is JS or something new in CSS3? Anyway, I'm not sure it is doing much anyway, because of the background image. I'd try commenting it out to see if it makes any difference!!!
    Last edited by jedaisoul; 08-23-2012 at 12:52 PM.

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