PC Review


Reply
Thread Tools Rate Thread

Alignment and float?

 
 
=?Utf-8?B?Q2F0dA==?=
Guest
Posts: n/a
 
      28th Feb 2006
Can someone explain the difference between these table options?
Does float mean that it will move in certain browsers?
Tia
Catt
 
Reply With Quote
 
 
 
 
Andrew Murray
Guest
Posts: n/a
 
      28th Feb 2006
Alignment to do with settings such as left, right centre (etc) (positioning
of the table within the viewing portal of the browser window.

"Float" is to do with absolute positioning (I think).



"Catt" <(E-Mail Removed)> wrote in message
news:50B62C3D-3B41-49F8-A85D-(E-Mail Removed)...
> Can someone explain the difference between these table options?
> Does float mean that it will move in certain browsers?
> Tia
> Catt



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      28th Feb 2006
Functionally, they are the same.

Float is CSS and can be applied to almost ANY element, including, but not
limited to <-p>, <table>, <img>, <h#>, etc.

Alignment is HTML, and can only be used in elements that accept the 'align'
attribute. The problem is that it means different things for different
elements, e.g.,

<div align="right"....

will right align the content of the div, while

<img align="right"...

will align the image itself to the right of the following content.

In distinction to the HTML align attribute, the CSS float is unambiguous in
its effect. It causes the element to be 'removed' from the flow of the
code, so that other adjacent code acts as if that element's code were not
there (although instead of ignoring it, it 'flows' around it, like a river
flows around an island).

The CSS 'float' style is the most useful style in the toolkit when it comes
to CSS layout. If you are interested in learning this method, get to know
float!

And read these - http://meyerweb.com/eric/css/edge/index.html

--
Murray
--------------
MVP FrontPage


"Catt" <(E-Mail Removed)> wrote in message
news:50B62C3D-3B41-49F8-A85D-(E-Mail Removed)...
> Can someone explain the difference between these table options?
> Does float mean that it will move in certain browsers?
> Tia
> Catt



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Cell alignment, how do I update the default vertical alignment How to update default cell alignment Microsoft Excel Setup 2 4th Feb 2009 02:25 PM
How can I add '+' or '-' before float value using float.ToString() ? cok119 Microsoft C# .NET 6 2nd Jan 2007 05:22 PM
array<float>^ to float* conversion xxx Microsoft VC .NET 5 4th Oct 2006 06:36 PM
managed float != unmanaged float Amir Kolsky via .NET 247 Microsoft VC .NET 1 6th Jul 2004 04:40 PM
TypeLoadException: C# interface member float a2[,], implemented as CPP float get_a2 __gc [,] =?Utf-8?B?SGFucyBCZXJlbmRl?= Microsoft C# .NET 0 8th Mar 2004 04:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:46 AM.