[website-critique] Re: Difference between align and style float

  • From: "Peter" <lists@xxxxxxxxxxxxxxxxxxx>
  • To: <websitecritique@xxxxxxxxxxxxx>
  • Date: Tue, 22 Jan 2002 16:51:22 -0500

In theory, they are both the same. I have found that some browsers play
tricks with the standard align="left" tag.

style="float: left" [right], in my experience, floats left and aligns all
text along side of that particular image.

Example: When I created the following page, using the standard align="left"
tag, it look good in IE, but horrible in Opera and NS. Appling the
style="float: left" tag, the page looked the way it should in all three
browsers.

http://peterszaro.com/desktop/

~~~~~~~~~~~
Peter


-----Original Message-----
From: websitecritique-bounce@xxxxxxxxxxxxx
[mailto:websitecritique-bounce@xxxxxxxxxxxxx]On Behalf Of Nice Tang
Sent: Tuesday, January 22, 2002 1:11 PM
To: websitecritique@xxxxxxxxxxxxx
Subject: [website-critique] Difference between align and style float



Can anyone tell me the difference in the attributes of a image tag  of

1)style="float: left"
2)align="left"

<img
src="hello.gif" width="180" height="276" align="left">

<img
src="hello.gif" width="180" height="276" style="float: left">


I find that they do the same thing , so what the difference ?

thanks


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Free Domain To List Members: http://szaroconsulting.com/freedomain.htm

~~~~~~~~~~~~~~~~~~~~~~
List Info:
http://www.freelists.org/cgi-bin/webpage?webpage_id=websitecritique
~~~~~~~~~~~~~~~~~~~~~~


Free Domain To List Members: http://szaroconsulting.com/freedomain.htm

~~~~~~~~~~~~~~~~~~~~~~
List Info: http://www.freelists.org/cgi-bin/webpage?webpage_id=websitecritique 
~~~~~~~~~~~~~~~~~~~~~~

Other related posts: