Trebor MultiMedia
Web design from the ground up
  • About Me
  • Blog Purpose
  • Topics
  • Read Me
  • TMM website
You are here: Home / 2013 / May / 09 / Float

Float

By Robert Harding on May 9, 2013

Today I’m discussing float.  This feature in conjunction with earlier DIV tags can alter the inherent layout of a web page.  This is the technique used in the earlier DIV post that rearranged the page.

The inherent layout is the normal top to bottom flow of a web page.  Those elements appearing first in the code will be first on the web page.  This is the normal flow of typed pages.

To float an element means to take it out of the normal flow and have it move up the page to the first available slot or open space.  Also any elements below the floated element will move up and occupy the spot vacated by the moved floated element.  If the slot is not large enough, then the floated element will not move up and will remain in it’s original position.

Click here to see diagrams of various float layouts.  Notice the alternate format for the element style coding.  It all works.

 

Posted in Float | Tagged DIV
← Previous Next →

Search

Authors

  • Robert Harding

Calendar

May 2013
SunMonTueWedThuFriSat
« Apr  
 1234
567891011
12131415161718
19202122232425
262728293031 

Recent Posts

  • Positioning
  • Float
  • DIV tags
  • Selectors, con't
  • Selectors
  • Colors
  • Typography
  • Computer monitors
  • Images, two
  • Box Model
  • Lorem Ipsum
  • Images
  • Tags and elements
  • Web page structure
  • Introduction

What people are saying

  • Robert Harding on Web page structure
  • good is i kissed a dog and i liked it t shirt on Web page structure
  • Generic doctor on Web page structure
  • Robert Harding on Web page structure
  • Robert Harding on Web page structure

Archives

  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013

Categories

  • Box Model
  • Color
  • CSS
  • Definitions
  • DIV tags
  • Float
  • HTML
  • Images
  • Javascript
  • jQuery
  • Monitors
  • PHP
  • Positioning
  • Selectors
  • Structure
  • Type

Tags

absolute position alt animation borders class selector CMYK compression directories DIV dummy text element external script file external style sheet Fixed position frameset gif hexadecimal code ID selector internal style sheet jpeg Latin lossless lossy margins padding pixels png relative position RGB strict styles syntax tag title transitional transparency white space

Copyright © 2024 Trebor MultiMedia.

Powered by WordPress