Orlando Web Design: CSS Page Layout – Understanding CSS Positioning

web design orlando lesson 6

Orlando Web Design & Development

CSS Page Layout: Understanding CSS Positioning

There are 3 ways of creating CSS layouts:

  1. Using floats & margins
  2. Using absolute positioning
  3. Using relative positioning

So, what technique should you use? Without a doubt the easiest & cleanest way to create a layout is using floats & margins.

Using floats and margins requires less code than using relative and absolute positioning and this technique also takes advantage of the cascading properties of CSS.

One layout 3 techniques:

Let’s take a simple HTML page like this:

web design before

And change the layout like the image below using:

  1. Floats & margins
  2. Absolute positioning
  3. Relative positioning

web design after

1. CSS Page layout using floats & margins:

css layout using floats & margins

2. CSS Page layout using absolute positioning:

css layout absolute positioning

2. CSS Page layout using relative positioning:

css layout using relative positioning

Category: Orlando Web Design Tags: , , No Comments

Author

M5 Design Studio

We are a small, but creative and passionate team of designers and developers specializing in web design, graphic design, branding & digital marketing.


what are the types of websites

What Are the Types of Websites?

Website Company There are dozens of different types of websites, but in this article, we’ll focus on the four main ki
orlando web design

How Much Does It Cost to Build a Website?

Website Design Company Building a new website is all about creating a streamlined, inviting experience for your potenti
How to Create a Landing Page

How to Create a Landing Page

Orlando Web Design Landing pages are a necessity if you need to create sales from online traffic, whether paid or organ


Comments are closed.