<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.asterix.co.za/html/index.php?action=history&amp;feed=atom&amp;title=Float</id>
	<title>Float - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.asterix.co.za/html/index.php?action=history&amp;feed=atom&amp;title=Float"/>
	<link rel="alternate" type="text/html" href="http://wiki.asterix.co.za/html/index.php?title=Float&amp;action=history"/>
	<updated>2026-09-20T05:24:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://wiki.asterix.co.za/html/index.php?title=Float&amp;diff=27&amp;oldid=prev</id>
		<title>Peter: Created page with &quot;Using floats to set the structure of your web page   HTML tables vs CSS floats  == Upgrade your code! ==  To upgrade from a main page table, to using floats instead, is painless  == An example! ==  * [http://red.asterix.co.za/build/ Red&#039;s /buld] website uses a main page table * [http://red.asterix.co.za/demo/ Red&#039;s /demo] website uses floats  …tables are messy and floats are easy  === Float left and right ===  First build your Home page....&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.asterix.co.za/html/index.php?title=Float&amp;diff=27&amp;oldid=prev"/>
		<updated>2023-11-25T18:48:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Using floats to set the structure of your &lt;a href=&quot;/html/index.php?title=Web_page&quot; title=&quot;Web page&quot;&gt;web page&lt;/a&gt;   &lt;a href=&quot;/html/index.php?title=Main_page_table&quot; title=&quot;Main page table&quot;&gt;HTML tables&lt;/a&gt; vs CSS floats  == Upgrade your code! ==  To upgrade from a &lt;a href=&quot;/html/index.php?title=Main_page_table&quot; title=&quot;Main page table&quot;&gt;main page table&lt;/a&gt;, to using floats instead, is painless  == An example! ==  * [http://red.asterix.co.za/build/ Red&amp;#039;s /buld] website uses a &lt;a href=&quot;/html/index.php?title=Main_page_table&quot; title=&quot;Main page table&quot;&gt;main page table&lt;/a&gt; * [http://red.asterix.co.za/demo/ Red&amp;#039;s /demo] website uses floats  …tables are messy and floats are easy  === Float left and right ===  First build your Home page....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Using floats to set the structure of your [[web page]]&lt;br /&gt;
&lt;br /&gt;
 [[main page table|HTML tables]] vs CSS floats&lt;br /&gt;
&lt;br /&gt;
== Upgrade your code! ==&lt;br /&gt;
&lt;br /&gt;
To upgrade from a [[main page table]], to using floats instead, is painless&lt;br /&gt;
&lt;br /&gt;
== An example! ==&lt;br /&gt;
&lt;br /&gt;
* [http://red.asterix.co.za/build/ Red&amp;#039;s /buld] website uses a [[main page table]]&lt;br /&gt;
* [http://red.asterix.co.za/demo/ Red&amp;#039;s /demo] website uses floats&lt;br /&gt;
&lt;br /&gt;
…tables are messy and floats are easy&lt;br /&gt;
&lt;br /&gt;
=== Float left and right ===&lt;br /&gt;
&lt;br /&gt;
First build your Home page..&lt;br /&gt;
&lt;br /&gt;
* Place your [http://red.asterix.co.za/demo/float_1.html logo], almost full width of screen&lt;br /&gt;
* Float your [http://red.asterix.co.za/demo/float_2.html collaboration] division (with a table) to the right hand side&lt;br /&gt;
* Float your [http://red.asterix.co.za/demo/float_3.html menus] division (with tables) to the left hand side&lt;br /&gt;
* Add your [http://red.asterix.co.za/demo/float_4.html centre] division (a single column table)&lt;br /&gt;
&lt;br /&gt;
==== Clear fix ====&lt;br /&gt;
&lt;br /&gt;
* Add your [http://red.asterix.co.za/demo/index.html footer] with a clear fix (to keep your footer at the bottom)&lt;br /&gt;
&lt;br /&gt;
==== Template ====&lt;br /&gt;
&lt;br /&gt;
* Finally, remove your [http://red.asterix.co.za/demo/template.html centre] to obtain your template!&lt;br /&gt;
&lt;br /&gt;
Now use your template to create your [[web page|other pages]].  Also watch what [http://www.asterix.co.za/build/ Asterix&amp;#039;s /build] website for additional training on how to do this&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* The structure of your [[web page]]s must be replicated consistently across all your [[web page]]s.  Starting from a template helps you to do this!&lt;br /&gt;
* For first term, everything on your [[web page]] had to be in a [[main page table]], but now we have upgraded to using floats&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
[[Main Page]] |&lt;br /&gt;
[[Basic web design]] |&lt;br /&gt;
[[navigation table|Navigation]] |&lt;br /&gt;
[[Ranking]] |&lt;br /&gt;
[[support website|Support]] |&lt;br /&gt;
[http://www.asterix.co.za/ Asterix Home]&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Design]]&lt;/div&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
</feed>