Worked on a couple mlm's that had the exact same landing page just different urls. This made today pretty easy and I had a chance to go over floats in CSS. If using floats to create a webpage:
* Design the layout (on paper or in a graphics tool or in my head).
* Determine where the site divisions are going to be.
* Determine the widths of the various containers and the elements within them.
* Float everything.
Even the outermost container element is floated to the left so that I know where it will be in relation to the browser view port.
As long as you know the widths (percentages are fine) of your layout sections, you can use the float property to put them where they belong on the page. And the nice thing is, you don't have to worry as much about the box model being different for IE or Firefox.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment