1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Please, explain as simply as possible: what are "floats" ??

Discussion in 'CSS' started by tayiper, Aug 1, 2006.

  1. #1
    The thread's title says it all: if you could please explain to me in an as simply as possible "manner": what are the so-called "floats" ?? You see, it's that I am seeing this particular term being used numerous times in design forums etc. (and on various occasions), but so far not in a such context that I could realize its meaning by the context itself.


    P.S. -- I somehow know that I shuould Google (a bit more) first, but anyway ...


    tayiper
     
    tayiper, Aug 1, 2006 IP
  2. 1EightT

    1EightT Guest

    Messages:
    2,646
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it's part of css design. You float things around a page to place them where you want them instead of using tables. Read some css2 design tutorials and you will understand.
     
    1EightT, Aug 1, 2006 IP
    tayiper likes this.
  3. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Thanks much for the quick reply ...


    tayiper
     
    tayiper, Aug 1, 2006 IP
  4. 1EightT

    1EightT Guest

    Messages:
    2,646
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    0
    #4
    anytime :).
     
    1EightT, Aug 1, 2006 IP
  5. swirl1980

    swirl1980 Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    so wots the diff between a float and a layer?
     
    swirl1980, Aug 2, 2006 IP
  6. safe_reader

    safe_reader Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Just wait till you get to the fun part.. how to clear floats, and all the bugs that apply from one browser to the next... ughhh.
     
    safe_reader, Aug 2, 2006 IP
  7. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #7
    There is no such animal as a layer in html, except as NN4's proprietary element.

    Float is a style property. An element may be given the float property value of left|right|none|inherit. An element with the float value or left or right is often referred to as a float or float element.

    cheers,

    gary
     
    kk5st, Aug 2, 2006 IP
    tayiper likes this.