Basic CSS Question - But Can't Sort Out for Self

On my index page, I am creating two divs within my template: .property#links and .property#listings
http://12caliboguecay.com/index.htm
I have tried applying css to these elements, but nothing seems to happen and I am flummoxed as to why. Help?
Also, a refresher on this...why am I applying a class to the div to make it work? why not just call an element a div? what does the class do for me?
Thanks for any assistance.
Samantha

.property#links and .property#listings are valid CSS selectors.
.property #links (with whitespace between them) is a descendant selector:
<div class="property">
<div id="links>
whereas
.property#links (no whitespace between) is a multiple selector where class="property" and id="links" are found within the same tag:
<div class="property" id="links">

Similar Messages

Maybe you are looking for

  • Alpha channel from photoshop changes on import to FCP

    I'm new to alpha channels. I have an image, to which I added an alpha channel in Photoshop, which now gives me a cut-out of the image. I imported the psd of this into FCP 5.0.4 (I was not allowed by FCP to import a tiff with an alpha channel.) Howeve

  • How to use calender component in data table

    How can we use calender components in datatable properly. We can show the date using calender components, but the problem is on changing any date using calender the new date is only going to the first row of the table. Can any one tell me how we can

  • Create App From Spreadsheet: "column name is an Oracle reserved word"

    I'm creating an App from a spreadsheet on apex.oracle.com (3.0.0.00.20 at time of writing) and receiving the error "The identified column name is an Oracle reserved word. Please choose another name." I've tried adding an underscore to the end of each

  • Historical Data Models

    I'm looking for case studies on historical data models, because I'd like to know how other analysts had overcome this subject. Please, can anyone help me?. Thanks

  • Can't Access Wi Fi

    I used a linksys router password protected. On my mac, i have to type in a "$" before the password. I've tried just the password and added the "$" at the beginning. Still can't connect. Any suggestions?