Interpretation of Code Comments

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Interpretation of Code Comments

Post 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.
pete290
Forum Members
Forum Members
Posts: 54
Joined: Sat Aug 22, 2009 5:55 pm

Re: Interpretation of Code Comments

Post 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
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: Interpretation of Code Comments

Post 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.
Post Reply

Return to “Layout and Design (CSS & HTML)”