Page 1 of 1

Interpretation of Code Comments

Posted: Fri Aug 08, 2014 6:11 pm
by KitchM
I find it good to have the supplied comments within the template coding. However, sometimes they need interpretation.

Here's one I can't figure out:

Code: Select all

{* note this is the right side, when you float: divs you need to have float: right; divs first *}
1. Does the first part mean "Note: This is for the right side of the page when you float"?
2. Does the next part mean "The following are the divs you need to create the float"?
3. Does the last part mean "Yes, divs go first"?
4. Where is the instruction for the left side of the page?

Thanks to any who can interpret into exact computer usage.

Re: Interpretation of Code Comments

Posted: Wed Aug 13, 2014 2:45 pm
by pete290
when you float something right it always has to be the top div. So if you are floating something left and something right - the right div would be first. O0

Re: Interpretation of Code Comments

Posted: Wed Aug 13, 2014 3:33 pm
by KitchM
Thanks pete290. That does help to explain things a great deal. I always wonder by people don't just say what they mean.

Thanks again.