![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
#12
| |||
| |||
|
|
Thanks to you all for the comments. I can't get my head around a couple things (among others). First what does relative positioning accomplish? I've read the Wc3 bit on it and a couple others, but still. (der...) Your layout does not need any of the positioning you've employed. Take a |
#13
| |||
| |||
|
|
Steve Gibons wrote: [...] First what does relative positioning accomplish? Your layout does not need any of the positioning you've employed. Take a look at <http://www.sohnen-moe.com/test/test.html>. It has a single float:left and no positioning. |
#14
| |||
| |||
|
|
Jim, Thank you tons! This was just what I needed to understand. Do I understand this correctly? .textbox h2 refers to <h2> within .textbox, and .textbox p refers to elements in <p Yes. It is the Cascading part of CSS (Cascading Style Sheets). So if I had, say, .blahbox p { text-indent: 1em; margin: .2em;} the <p>'s in .blahbox would be different than those in .textbox? Yes, for those properties you specify. Otherwise it inherits whatever |
#15
| |||
| |||
|
|
Steve Gibons wrote: Jim, Thank you tons! This was just what I needed to understand. Do I understand this correctly? |
|
Yes. It is the Cascading part of CSS (Cascading Style Sheets). So if I had, say, [...] |
|
Yes, for those properties you specify. Otherwise it inherits whatever styles are defined in the parent which could be the default styles. |
#16
| |||
| |||
|
|
Jim, Thanks again, my learning just took a nice leap ahead. :-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |