First to start off, I just bought Eric Meyer on CSS and it is an awesome book. I am going to be going to the site pretty soon to check out his work. Now, on to the questions.
Going through the book, i have come across several things that have puzzled me.
I understand if between the <style></style> tags you have
because that means that any table elements in the page will have a 2 pixeled solid red border with a margin of 3 pixels aroundCode:table {border: 2px solid red; margin: 3px;}
I also understand that when you have this:
That all table cells will have a 0 width border, blah blah.Code:table td {padding: 0; border-width: 0' blah blah blah}
Now is where I get lost, and the book doesn't clear it up for me.
instead of just having #title, it is read as
what does that preceding element represent. Obviously a table cell, but why does it procede the ID?Code:td#title {attributes here}
And to further my confusion, this is thrown in
I completely understand after the pound sign, that is the ID and its attributes. I can't figure out now why a table row with a table cell would procede it. Notice the bold so you know what I am talking aboutCode:tr td#crumbs {attributes here}
One more for the road.
This is from the book
Can you break that down for me.Code:<td id="leftside"> then in the style they have td#leftside {width: 120px; background: #EBDAC6;} td#leftside td {whatever in here} td#leftside table {whatever in here}
Thanks
Bryan







Bookmarks