As a newcomer to CSS, I have encountered some issues when working with properties in different sections of code. For example:
P1: Please review the implementation of #menu
and #menu a
. The code can be found here.
P2: Also, take a look at #menu a
specifically. You can find the corresponding code here.
I have noticed that applying properties such as float: right
, position: relative
, among others, seems to yield similar results whether placed within #menu{ }
or #menu a{ }
...
Now I'm struggling to determine the appropriate placement for these properties. Can someone provide me with some basic guidelines on when and where to apply them correctly? :)