<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Basic lessons in HTML, CGI, SEO, domain registration, hosting - build an on line business! &#187; HTML</title>
	<atom:link href="http://powertoearnmoney.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://powertoearnmoney.com</link>
	<description>Learn to write HTML, CGI, SEO tips, domain setup- to build a website or blog to earn money from home</description>
	<lastBuildDate>Mon, 07 May 2012 19:50:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSS Vertical Menu Using Unordered Lists</title>
		<link>http://powertoearnmoney.com/html/css-vertical-menu-using-unordered-lists/</link>
		<comments>http://powertoearnmoney.com/html/css-vertical-menu-using-unordered-lists/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 19:31:22 +0000</pubDate>
		<dc:creator>AdminP</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Easy Vertical Menu]]></category>
		<category><![CDATA[Vertoca; CSS Drop Down Menu]]></category>

		<guid isPermaLink="false">http://powertoearnmoney.com/?p=3422</guid>
		<description><![CDATA[<p>A couple of weeks back we covered CSS horizontal drop down menus, today we&#8217;ll see how to code a vertical menu using CSS where the sub-level links display to the side. As before, I&#8217;ll not go into a lengthy discussion of what each line of code means, however, the link below is for those that [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks back we covered CSS horizontal drop down menus, today we&#8217;ll see how to code a vertical menu using CSS where the sub-level links display to the side. As before, I&#8217;ll not go into a lengthy discussion of what each line of code means, however, the link below is for those that would like to read a detailed explanation of each line. This will be helpful for those wanting to make changes to display sizes, background colors, fonts, etc.</p>
<p>Vertical code explanation &#8211; <a title="CSS Vertical menu explained in detail " href="http://www.devinrolsen.com/pure-css-vertical-menu" target="_blank">http://www.devinrolsen.com/pure-css-vertical-menu</a></p>
<p>Some of the information covered is:</p>
<ul>
<li>How the HTML structure of menu / sub-menu is written</li>
<li>How to set the color of the background for menu and sub-menu</li>
<li>How to set the color of the fonts for menu and sub-menu</li>
<li>How to set font size</li>
</ul>
<p>&nbsp;</p>
<div id="attachment_3425" class="wp-caption alignnone" style="width: 392px"><a href="http://www.powertoearnmoney.com/sampleverticalmenu.html"><img class="size-full wp-image-3425" title="CSS Vertical Menu" src="http://powertoearnmoney.com/wp-content/uploads/2012/04/VerticalCSSMenu1.jpg" alt="" width="382" height="206" /></a><p class="wp-caption-text">Visit this link to see menu in action</p></div>
<p>&nbsp;</p>
<p>For convenience, we&#8217;ve included a link below to  the CSS code we used for our sample so that you can just copy/paste it to get links like ours. Of course the colors, size and number of links, and levels can be modified to accommodate your website. If you need more than one (1) sub-level of links, please visit the information link above for details on how to do this.</p>
<p style="padding-left: 30px;"><strong>Remember:</strong> When coding the CSS code to use on your own website, don&#8217;t forget that it MUST be saved in a Text Editor as a TEXT ONLY document with the extension .css after the name, i.e., mymenu.css &#8211; otherwise it will not work.</p>
<p><strong> Get CSS Code:  </strong>  <a title="Get CSS Code we used in our sample" href="http://powertoearnmoney.com/vertical-drop-down-menu-css/" target="_blank"> http://powertoearnmoney.com/vertical-drop-down-menu-css/</a></p>
<p><span style="text-decoration: underline;">NOTE</span>: The colors for backgrounds and fonts are in hex triplet colors &#8211; not hexadecimal. This is a <a title="Get triplet color code here" href="http://web.njit.edu/~kevin/rgb.txt.html" target="_blank">link</a> to a page where you can get hex triplet colors designations for use. <span style="text-decoration: underline;">Note</span>: Not all hexadecimal colors have a corresponding hex triplet color.</p>
<p>The HTML code for the sample page can be found at the link below. Again, just copy and paste, then replace the Menu, Sub-menu titles with your own names and put in your links. For the sample, there are seven (7) main menu links each one with 3 sub-levels. You can adjust these to meet your needs.   To remove a line in the sub-level menu, simply delete one of the &lt;li&gt; . . . &lt;/li&gt; lines; to increase the number of sub-level lines, add in a &lt;li&gt; &#8230; &lt;/li&gt;  for each new sub-level link needed.  Do this by using an HTML editor and saving the  page with the usual .html extension.</p>
<p>In our HTML sample code, note the &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;<span style="color: #0000ff;">sample.css</span>&#8221; /&gt;  bit of code in the header that references the .css document.  For our Text Only .css document we named it  &#8216;sample&#8217;.   You would replace &#8216;sample&#8217; with the name you choose to call your .css document.</p>
<p><strong>Get HTML Code</strong> - <a title="Get HTML Code for or sample vertical CSS menu " href="http://powertoearnmoney.com/vertical-drop-down-menu-html-unordered-list/" target="_blank">http://powertoearnmoney.com/vertical-drop-down-menu-html-unordered-list/</a></p>
<p>The CSS code can be on the page, or uploaded to the domain&#8217;s root directory using an FTP program. If you choose to upload the CSS code, make sure you reference the stylesheet in the &lt;head&gt; section of each of the HTML document&#8217;s pages where you want the vertical menu to appear using the following string of code shown below -  where <span style="color: #0000ff;">sample.css</span> would be the name you have given to your .css page &#8211; or it will not work.</p>
<p><strong>Header Code:</strong>    &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;<span style="color: #0000ff;">sample.css</span>&#8221; /&gt;</p>
<p>Using Cascading Style Sheets on your website for menus and various other apsects of the page can make managing your website easier, since any changes you make to the CSS code affects every page where that uniquely named style sheet code appeaers in the header.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fpowertoearnmoney.com%2Fhtml%2Fcss-vertical-menu-using-unordered-lists%2F&amp;title=CSS%20Vertical%20Menu%20Using%20Unordered%20Lists" id="wpa2a_2"><img src="http://powertoearnmoney.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://powertoearnmoney.com/html/css-vertical-menu-using-unordered-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horizontal Drop-Down Menu Using CSS</title>
		<link>http://powertoearnmoney.com/html/horizontal-drop-down-menu-using-css/</link>
		<comments>http://powertoearnmoney.com/html/horizontal-drop-down-menu-using-css/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 15:46:22 +0000</pubDate>
		<dc:creator>AdminP</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[horizontal drop-down menu using css]]></category>

		<guid isPermaLink="false">http://powertoearnmoney.com/?p=3384</guid>
		<description><![CDATA[<p>Using a drop-down menu to display sub-menus can make your page look more professional. But, if you&#8217;re like me, rather than use JAVA or jQuery, you&#8217;ll look for the easiest way to do this. And, as far as I&#8217;m concerned, those nice drop-down menus can easily be had using basic HTML to write an unordered list, and then [...]]]></description>
			<content:encoded><![CDATA[<p>Using a drop-down menu to display sub-menus can make your page look more professional. But, if you&#8217;re like me, rather than use JAVA or jQuery, you&#8217;ll look for the easiest way to do this. And, as far as I&#8217;m concerned, those nice drop-down menus can easily be had using basic HTML to write an unordered list, and then configuring the display in a CSS (Cascading Style Sheet) bit of code.</p>
<p>I&#8217;m not one to re-invent the wheel, so I&#8217;m giving you the link where all of this is explained in detail. <a title="Get complete explanation of CSS code here" href="http://www.devinrolsen.com/pure-css-horizontal-menu/" target="_blank">Get details here</a>.  However, to make things easier so you don&#8217;t have to create the documents as you read, I have placed the complete CSS code on a page <em>(link below)</em> where all you have to do is copy and paste it into a Text Editor. Once this is done, you MUST save the CSS code as a Text Only document giving it a name with the extension .css, i.e,<em> mymenu.css</em>, or it will not work.</p>
<p>&nbsp;</p>
<div id="attachment_3387" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.powertoearnmoney.com/PTEMCSS.html"><img class="size-full wp-image-3387" title="CSS_menu" src="http://powertoearnmoney.com/wp-content/uploads/2012/03/CSS_menu1.jpg" alt="" width="500" height="132" /></a><p class="wp-caption-text">Visit this link to see the menu in action</p></div>
<p>&nbsp;</p>
<p>Depending on your website, you can customize the HTML code for the number of Menu Headings and Sub-menu headings that you need. You can also make any changes to the CSS text document if you want to change the background or font colors to blend with your website. Otherwise leave as is. Before starting any of this, take a few minutes to read through the information at the other link to understand how the CSS works and how the code is structured.</p>
<p>The information covered there includes:</p>
<ul>
<li> How the HTML structure of menu / sub-menu is written</li>
<li>How the menu displays &#8211; left or right justification</li>
<li>How to determine the color of the background for menu and sub-menu</li>
<li>How to determine the color of the fonts for menu and sub-menu</li>
<li>How to set font size</li>
</ul>
<p><strong>NOTE:</strong> The colors for backgrounds and fonts are in hex triplet colors &#8211; not hexadecimal. This is a <a title="Visit this page for hex triplet color code" href="http://web.njit.edu/~kevin/rgb.txt.html" target="_blank">link to a page </a>where you can get hex triplet colors designations for use.  Not all hexadecimal colors have a corresponding hex triplet color.</p>
<p>The HTML code for the sample page can be found <a title="HTML code for drop-down menu using unordered list" href="http://powertoearnmoney.com/horizontal-drop-down-menu-html-unordered-list/" target="_blank">here</a>. Again, just copy and paste, then replace the Menu, Sub-menu titles with your own names and put in the links. For the sample, there are seven (7) main menu links with six (6) of them having three (3) sub-menus each. You can adjust these to meet your needs. Place into an HTML document and save.</p>
<p>The CSS code can be on the page<em> (placed in the &lt;head&gt; section),</em> or uploaded to the domain&#8217;s root directory using an FTP program. If you upload the CSS code, make sure you reference the stylesheet in the HTML document&#8217;s &lt;head&gt; section using the following string of code, where ptem.css would be replaced with the name you have given to your .css page.   Get the CSS code <a title="Get CSS code for drop down menu" href="http://powertoearnmoney.com/horizontal-drop-down-menu-css-code/" target="_blank">here.</a></p>
<p style="padding-left: 30px;"> &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;ptem.css&#8221; /&gt;</p>
<p> Want to use a vertical menu, where the sub-menus display to the side? Check back next time where we&#8217;ll cover how to do this.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fpowertoearnmoney.com%2Fhtml%2Fhorizontal-drop-down-menu-using-css%2F&amp;title=Horizontal%20Drop-Down%20Menu%20Using%20CSS" id="wpa2a_4"><img src="http://powertoearnmoney.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://powertoearnmoney.com/html/horizontal-drop-down-menu-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floating Images &#8211; Part II</title>
		<link>http://powertoearnmoney.com/html/floating-images-part-ii/</link>
		<comments>http://powertoearnmoney.com/html/floating-images-part-ii/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 19:44:28 +0000</pubDate>
		<dc:creator>AdminP</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Floating images without wrapping text]]></category>
		<category><![CDATA[Images with horizontal and vertical space]]></category>

		<guid isPermaLink="false">http://powertoearnmoney.com/?p=3223</guid>
		<description><![CDATA[<p>We&#8217;ve seen how to use the align tag to make images &#8216;float&#8217; to one side or the other of your page. We&#8217;ve also seen how the text will wrap around these images.  But what if you don&#8217;t want the text to wrap?</p>
<p>Since a floated image will affect all the elements that follow it, you will [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-3225" title="floatinglady2" src="http://powertoearnmoney.com/wp-content/uploads/2011/08/floatinglady2.jpg" alt="" width="102" height="105" />We&#8217;ve seen how to use the <span style="color: #0000ff;"><strong><em>align</em></strong></span> tag to make images &#8216;float&#8217; to one side or the other of your page. We&#8217;ve also seen how the text will wrap around these images.  But what if you don&#8217;t want the text to wrap?</p>
<p>Since a floated image will affect all the elements that follow it, you will need to insert a special line break: <span style="color: #0000ff;"><strong><em>clear</em></strong></span> to control the text. Using the <span style="color: #0000ff;"><strong><em>clear</em></strong></span> attribute along with the regular <span style="color: #0000ff;"><strong><em>br</em></strong></span> tag indicates that the text should not start until the specified margin is cleared. This &#8216;specified margin&#8217; would be at the end of the image or images.</p>
<h4>How to Stop Text from Wrapping</h4>
<p>To stop the text from wrapping you would place the cursor at the place where you want to stop wrapping text and elements to the side of the image.  In most cases this will follow the image.  The code used would look like:</p>
<p><strong><span style="color: #0000ff;">&lt;br clear=&#8221;left&#8221; /&gt;</span></strong> &#8211; to stop flowing content until there are no more floating images aligned to the left margin</p>
<p><span style="color: #0000ff;"><strong>&lt;br clear=&#8221;right&#8221; /&gt;</strong></span> &#8211; to stop flowing content until there are no more floating images aligned to the right margin</p>
<p>You can use <strong><span style="color: #0000ff;">&lt;br clear=&#8221;all&#8221; /&gt;</span></strong> &#8211; to stop flowing content until there are no more floating images on either margin</p>
<p>To see how this might look, we&#8217;ve taken the same HTML code we used for our last sample, but this time we&#8217;ve included the <strong><em><span style="color: #0000ff;">clear</span></em></strong> attribute to see how the text is affected.</p>
<p><strong>Begin HTML Code Sample</strong> <em>(<span style="text-decoration: underline;">Using <strong><span style="color: #0000ff; text-decoration: underline;">clear</span></strong> Attribute</span>):</em></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;table width=&#8221;400&#8243;&gt;&lt;tr&gt;&lt;td&gt;</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;center&gt;&lt;font face=&#8221;arial&#8221;&gt;&lt;b&gt;&lt;u&gt;</span></strong>SAMPLE PAGE WITH FLOATING IMAGES &amp; CLEAR ATTRIBUTE<strong><span style="color: #0000ff;">&lt;/u&gt;&lt;/b&gt;&lt;/font&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;img src=&#8221;/leftfloatimage.jpg&#8221; align=&#8221;left&#8221; width=&#8221;150&#8243; height=&#8221;75&#8243; /&gt;</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;br clear=&#8221;left&#8221; /&gt;</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;font face=&#8221;arial&#8221;&gt;&lt;b&gt;</span></strong>Floating Image . . . Left Side<strong><span style="color: #0000ff;">&lt;/b&gt;&lt;br&gt;&lt;br&gt;</span></strong> This image has been coded to float to the left of the page using a clear attribute. Notice how the heading and text now display below the image around the image<span style="color: #0000ff;"><strong>.&lt;br&gt;&lt;br&gt;&lt;br&gt;</strong></span></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;img src=&#8221;/rightfloatimage.jpg&#8221; width=&#8221;150&#8243; height=&#8221;75&#8243; align=&#8221;right&#8221; /&gt;</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;br clear=&#8221;right&#8221; /&gt;</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;b&gt;</span></strong>Floating Image . . . Right Side<strong><span style="color: #0000ff;">&lt;/b&gt;&lt;br&gt;&lt;br&gt;</span></strong>Notice how the image floats to the right side of the page&#8230; but since we&#8217;ve used a clear attribute, the text and heading appear below the image. <strong><span style="color: #0000ff;">&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span></strong></p>
<p>&nbsp;</p>
<p><img title="floatingimagesclear" src="http://powertoearnmoney.com/wp-content/uploads/2011/08/floatingimagesclear.jpg" alt="" width="413" height="413" /></p>
<h4></h4>
<h4>How to Add  Space Around an Image</h4>
<p>If you look at the sample above, you&#8217;ll see that the text and heading associated with the second image are butted right up next to the images. However, you can use the <strong><em><span style="color: #0000ff;">vspace</span></em></strong> and <strong><em><span style="color: #0000ff;">hspace</span></em></strong> attributes to add a margin of space around the images. Both of these are included in the same line of code you would use for the image.  For example, to add space around an image you would use the following:</p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">hspace=&#8221;x&#8221;</span></strong>   for horizontal space where <em>x</em> is the number of pixels you want to add on both the right and left sides of the image</p>
<p style="padding-left: 30px;"><strong><em><span style="color: #0000ff;">vspace=&#8221;x&#8221;</span></em></strong>   for vertical space where x is the number of pixels you want to add on both the top and bottom sides of the image</p>
<p>Your code might look like &#8230;</p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;img src=&#8221;image_name.jpg&#8221; align=&#8221;left&#8221; width=&#8221;150&#8243; height=&#8221;100&#8243; hspace=&#8221;10&#8243; vspace=&#8221;5&#8243; /&gt;</span></strong></p>
<p>&#8230; where we&#8217;ve placed <span style="text-decoration: underline;">10 pixels</span> on the left and right side; and <span style="text-decoration: underline;">5 pixels</span> on the top and bottom.</p>
<p>Note that you do not have to add both horizontal and vertical space at the same time.   However, using this attribute does not allow for adding space to only one side of the image. If you want to have space on only one side of the image or if the space needs to be uneven, you would do better to use a graphics program to add in the blank space.</p>
<p>Don&#8217;t miss our post next week, we&#8217;ve got a super new FREE program to tell you about.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fpowertoearnmoney.com%2Fhtml%2Ffloating-images-part-ii%2F&amp;title=Floating%20Images%20%E2%80%93%20Part%20II" id="wpa2a_6"><img src="http://powertoearnmoney.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://powertoearnmoney.com/html/floating-images-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make Images Float</title>
		<link>http://powertoearnmoney.com/html/how-to-make-images-float/</link>
		<comments>http://powertoearnmoney.com/html/how-to-make-images-float/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 19:41:41 +0000</pubDate>
		<dc:creator>AdminP</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[How to align images]]></category>
		<category><![CDATA[how to use floating images]]></category>
		<category><![CDATA[HTML code to align images]]></category>

		<guid isPermaLink="false">http://powertoearnmoney.com/?p=3216</guid>
		<description><![CDATA[<p>We&#8217;ve seen how an image can be placed in a specific area of a page by using tables. However, you can also include images by using the &#8216;align&#8217; attribute to make images float along one side or other of the page. If you&#8217;re familiar with using Word Press, this &#8216;align&#8217; process is much the same [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-3217" title="floatinglady" src="http://powertoearnmoney.com/wp-content/uploads/2011/08/floatinglady.jpg" alt="" width="102" height="105" />We&#8217;ve seen how an image can be placed in a specific area of a page by using tables. However, you can also include images by using the <em>&#8216;align&#8217;</em> attribute to make images float along one side or other of the page. If you&#8217;re familiar with using Word Press, this <em>&#8216;align&#8217;</em> process is much the same as inserting images in your post. When you align an image on a page &#8211; left or right, you have the image display with the text and other elements wrapping around. The code used to accomplish this is within the page&#8217;s HTML code.</p>
<h4>Floating a Image on One-side</h4>
<p>Sample line of code:</p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;img src=&#8221;image_name.jpg&#8221; align=&#8221;left&#8221; width=&#8221;150&#8243; height=&#8221;100&#8243; /&gt;</span></strong></p>
<ol>
<li>Type <strong><span style="color: #0000ff;">&lt;img src=&#8221;image_name.jpg&#8221;</span></strong> <em>[ image_name.jpg is the image name and location of the image on the server ]</em></li>
<li>Type either <strong><span style="color: #0000ff;">align=&#8221;left&#8221;</span></strong> or <strong><span style="color: #0000ff;">align=&#8221;right&#8221;</span></strong> depending on which side you want the image to float to. Remember, any text associated will flow to the opposite side of the page.</li>
<li>Add other image attributes, i.e., width, height, border, etc. before you&#8230;.</li>
<li>Type the final <strong><span style="color: #0000ff;">/&gt;</span></strong> to close the line</li>
<li>Create the elements, text that should flow next to the image</li>
</ol>
<h4>Floating an Image on Both-sides</h4>
<p>To float both left and right side images on one page you put in two (2) lines of code; one for the left image and one for the right image. The screen capture below shows the results when having two (2) images float on one page.</p>
<p><img class="alignnone size-full wp-image-3218" title="imagetablecapture" src="http://powertoearnmoney.com/wp-content/uploads/2011/08/imagetablecapture.jpg" alt="" width="412" height="348" /></p>
<p>&nbsp;</p>
<p>To force the text to wrap for our sample, we&#8217;ve put our images inside of a table with a width of 400 pixels. We&#8217;ve placed the code used below for reference.</p>
<p>Note:   we&#8217;ve use the paragraph tag <strong><span style="color: #0000ff;">&lt;p&gt;</span></strong> to begin a new paragraph and have the text align with the new image. Use the <strong><span style="color: #0000ff;">&lt;/p&gt;</span></strong> tag to close paragraphs, text, etc.  associated with any image.</p>
<p><strong>HTML Code:</strong></p>
<p><strong><span style="color: #0000ff;">&lt;table width=&#8221;400&#8243;&gt;&lt;tr&gt;&lt;td&gt;</span></strong></p>
<p><strong><span style="color: #0000ff;">&lt;center&gt;&lt;font face=&#8221;arial&#8221;&gt;&lt;b&gt;&lt;u&gt;</span></strong>SAMPLE PAGE WITH FLOATING IMAGES<strong><span style="color: #0000ff;">&lt;/u&gt;&lt;/b&gt;&lt;/font&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;</span></strong></p>
<p><strong><span style="color: #0000ff;">&lt;img src=&#8221;/leftfloatimage.jpg&#8221; align=&#8221;left&#8221; width=&#8221;150&#8243; height=&#8221;75&#8243; /&gt;&lt;font face=&#8221;arial&#8221;&gt;&lt;p&gt;&lt;b&gt;</span></strong>Floating Image . . .</p>
<p>Left Side<strong><span style="color: #0000ff;">&lt;/b&gt;</span></strong> This image has been coded to float to the left of the page. Notice how the heading and text wrap around the image. <strong><span style="color: #0000ff;">&lt;/p&gt; &lt;img src=&#8221;/rightfloatimage.jpg&#8221; width=&#8221;150&#8243; height=&#8221;75&#8243; align=&#8221;right&#8221; /&gt;&lt;p&gt;</span></strong> <strong><span style="color: #0000ff;">&lt;b&gt;</span></strong>Floating Image . . . Right Side<strong><span style="color: #0000ff;">&lt;/b&gt;&lt;br&gt;&lt;br&gt;</span></strong>Notice how the image floats to the right side of the page, while the text and heading appear to the left. More text will continue to wrap around the image filling in the blank space<strong><span style="color: #0000ff;">.&lt;/p&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span></strong></p>
<h4>Helpful Tips</h4>
<ul>
<li>When aligning images, remember it will be the image that appears left or right &#8211; <em>not the text</em>.</li>
<li>Place the image directly before the text it is to &#8216;disrupt&#8217;.</li>
<li>The text will continue to appear on the opposite side from the image until there is no more text or a break is encountered.</li>
</ul>
<h4>Conclusion</h4>
<p>This is an easy way to include images and incorporate them with text without having to use tables. However, there may be times when you don&#8217;t want the text to wrap. Next week we&#8217;ll look at how to stop elements from wrapping and we&#8217;ll learn how to add space around a floating image.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fpowertoearnmoney.com%2Fhtml%2Fhow-to-make-images-float%2F&amp;title=How%20to%20Make%20Images%20Float" id="wpa2a_8"><img src="http://powertoearnmoney.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://powertoearnmoney.com/html/how-to-make-images-float/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML:    Creating a Marquee</title>
		<link>http://powertoearnmoney.com/html/html-creating-a-marquee/</link>
		<comments>http://powertoearnmoney.com/html/html-creating-a-marquee/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 19:14:18 +0000</pubDate>
		<dc:creator>AdminP</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML code for banner]]></category>
		<category><![CDATA[HTML Scrolling Banner]]></category>
		<category><![CDATA[Scrolling Marquee]]></category>

		<guid isPermaLink="false">http://powertoearnmoney.com/?p=3201</guid>
		<description><![CDATA[<p>If you want to have a marquee on your page without using JAVA, try using the following HTML code to insert a scrolling marquee anywhere on your web page. Your marquee can be words, sentences, or even images. The information contained in your marquee code will start at one point (on the screen) and float [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to have a marquee on your page without using <a title="JAVA Streaming Banner" href="http://powertoearnmoney.com/scripts-cgi-javascripts-php/streaming-horizontal-banner-java-script/" target="_blank">JAVA</a>, try using the following HTML code to insert a scrolling marquee anywhere on your web page. Your marquee can be words, sentences, or even images. The information contained in your marquee code will start at one point <em>(on the screen)</em> and float across much like the advertising marquees you see at some businesses.</p>
<p><strong>Marquee Code for our sample text:</strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;marquee width=&#8221;85%&#8221; height=&#8221;15&#8243; scrolldelay=&#8221;175&#8243; behavior=&#8221;scroll&#8221; direction=&#8221;left&#8221; loop=&#8221;infinite&gt;</span></strong> <strong>This is a sample marquee scroll <span style="color: #0000ff;">&lt;/marquee&gt;</span></strong></p>
<p style="text-align: left;"><span style="color: #000000;">To see this code in action, visit this link&#8230;. <span style="color: #ff0000;"><a title="See how this marquee scroll works" href="http://www.powertoearnmoney.com/HTML/marquee.html" target="_blank"><span style="color: #ff0000;">Marquee</span></a></span></span></p>
<p>For our sample, we&#8217;ve coded our text to scroll across <strong>85%</strong> of the screen with a height of <strong>15</strong> (pixels). We&#8217;ve set our delay at <strong>175</strong> milliseconds; our direction to scroll is &#8216;<strong>left</strong>&#8216; and we want our loop to be &#8216;<strong>infinite</strong>&#8216;.   <span style="text-decoration: underline;">Note</span>: You can use marquee code inside of tables also.</p>
<h4>Marquee Attributes</h4>
<p><strong>Width and Height</strong> &#8211; you can assign width and height to your marquee area as either a percentage of the area where the marquee is to display or in pixels. In our sample we&#8217;ve used a percentage for the width and a pixel designation for the height.</p>
<p><strong>Scroll Delay</strong> &#8211; use this attribute to control the amount of time <em>(in milliseconds)</em> that passes before the text scrolls again.</p>
<p><strong>Behavior</strong> &#8211; allows you to select the type of movement you want to use:</p>
<p style="padding-left: 30px;"><strong>Scroll</strong> &#8211; use this for text that starts at one side of the screen and disappears off the other side.</p>
<p style="padding-left: 30px;"><strong>Slide</strong> &#8211; use this for text that starts at one side and stops when it reaches the other side.</p>
<p style="padding-left: 30px;"><strong>Alternate</strong> &#8211; use this for text that starts at one side and bounces back when it reaches the other side.</p>
<p><strong>Direction</strong> &#8211; this determines the direction the text starts from <em>(left or right).</em></p>
<p><strong>Loop</strong> &#8211; allows you to select the number of times the marquee is to pass across the screen. You can also make the text appear continuously by using &#8216;infinite&#8217; in place of a number.</p>
<p><strong>Other</strong> &#8211; additional placement and attributes of the marquee can also be controlled by using the following attributes as well. This information is contained in the first <strong><span style="color: #0000ff;">&lt;marquee&gt;</span></strong> tag.</p>
<p style="padding-left: 30px;">HSPACE (Horizontal space)</p>
<p style="padding-left: 30px;">VSPACE (Vertical Space)</p>
<p style="padding-left: 30px;">ALIGN  (Align &#8211; left, right, center)</p>
<p style="padding-left: 30px;">BGCOLOR  (Background color)</p>
<h4>Marquee Content</h4>
<p>This code is placed between the beginning and ending marquee tags <strong><span style="color: #0000ff;">&lt;marquee&gt;</span></strong> <strong><em>HTML Code for Content Goes Here</em> <span style="color: #0000ff;">&lt;/marquee&gt;</span></strong></p>
<p><strong>Images</strong> &#8211; If you want to use images inside the scroll, keep them as small and as few as possible.</p>
<p><strong>Font</strong> &#8211; color, face and size: use the same code you would use anywhere else in your HTML docuement to control how the text displays.</p>
<p>A scrolling marquee can be used to highlight a specific section of a page, draw attention to a special offer or display a larger quantity of information that you might think you have space for. Hope you have fun using this bit of code.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fpowertoearnmoney.com%2Fhtml%2Fhtml-creating-a-marquee%2F&amp;title=HTML%3A%20%20%20%20Creating%20a%20Marquee" id="wpa2a_10"><img src="http://powertoearnmoney.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://powertoearnmoney.com/html/html-creating-a-marquee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

