<?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>Web Style Press, Best Practices from all the Web, Build Better Websites &#187; HTML</title>
	<atom:link href="http://www.webstylepress.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Lorem ipsum Ready to Use</title>
		<link>http://www.webstylepress.com/lorem-ipsum-ready/</link>
		<comments>http://www.webstylepress.com/lorem-ipsum-ready/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 20:17:10 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[bulk]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[ipsum]]></category>
		<category><![CDATA[lorem]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=784</guid>
		<description><![CDATA[Lorem ipsum is a place holder text. Publishers and graphic designers need it every day in almost every task. Lorem ipsum is commonly used to demonstrate the visual presentation of fonts, typography or layout. An example of lorem ipsum paragraph is below: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt [...]<p><a href="http://www.webstylepress.com/lorem-ipsum-ready/">Lorem ipsum Ready to Use</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Lorem ipsum is a place holder text. Publishers and graphic designers need it every day in almost every task. Lorem ipsum is commonly used to demonstrate the visual presentation of fonts, typography or layout. An example of lorem ipsum paragraph is below:</p>
<blockquote><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></blockquote>
<p>What if you need lorem ipsum ready to use in different forms. e.g. lorem ipsum long paragraph, lorem ipsum medium paragraph, lorem ipsum one sentence, lorem ipsum ordered lists, lorem ipsum unordered lists, lorem ipsum form, lorem ipsum definition list, lorem ipsum navigation and more?</p>
<p><span id="more-784"></span></p>
<p>HTML Ipsum is a resource that offers ready to use Lorem Ipsum text in many forms. If you do not know HTML and want to use HTML elements, then this is a handy site for that as well. HTML Ipsum will make adding tables, ordered lists, and more headache-free. Find the HTML you’re after, copy and paste it into your HTML editor, and replace the text with your own. No sign-up, invite-requesting, tweeting or liking required. Just head to the site and use it.</p>
<p><a href="http://www.webstylepress.com/wp-content/uploads/2011/04/lorem-ipsum.jpg"><img src="http://www.webstylepress.com/wp-content/uploads/2011/04/lorem-ipsum.jpg" alt="lorem-ipsum" title="lorem-ipsum" width="600" height="342" class="aligncenter size-full wp-image-785" /></a></p>
<p><a rel="nofollow" target="_blank" href="http://html-ipsum.com">HTML Ipsum</a><br />
<a rel="nofollow" target="_blank" href="http://www.lipsum.com/">What is Lorem Ipsum</a><br />
<a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Lorem_ipsum">Lorem Ipsum at Wikipedia</a></p>
<p><a href="http://www.webstylepress.com/lorem-ipsum-ready/">Lorem ipsum Ready to Use</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/chatbox-for-websites-blogs-forums/" title="Chatbox For Websites and Blogs">Chatbox For Websites and Blogs</a></li><li><a href="http://www.webstylepress.com/add-media-player-with-playlist-to-any-website/" title="Add Media Player With Playlist to Any Website">Add Media Player With Playlist to Any Website</a></li><li><a href="http://www.webstylepress.com/code-hider-tool-lock-webpage-code/" title="Code Hider Tool &#8211; Lock Webpage Code">Code Hider Tool &#8211; Lock Webpage Code</a></li><li><a href="http://www.webstylepress.com/visually-inspect-edit-css-html/" title="Visually Inspect and Edit CSS and HTML To Perfection">Visually Inspect and Edit CSS and HTML To Perfection</a></li><li><a href="http://www.webstylepress.com/full-free-xml-sitemap-generator/" title="Online Full Free XML Sitemap Generator">Online Full Free XML Sitemap Generator</a></li><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/using-clear-looking-fonts-in-flash/" title="Using Clear looking Fonts In Flash">Using Clear looking Fonts In Flash</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/lorem-ipsum-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Any Font in Webpages As Text</title>
		<link>http://www.webstylepress.com/use-any-font-in-webpages-as-text/</link>
		<comments>http://www.webstylepress.com/use-any-font-in-webpages-as-text/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 10:06:43 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Advanced]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[essential]]></category>
		<category><![CDATA[facelift]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[smoothness]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[typeface]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=481</guid>
		<description><![CDATA[Now using javascript we can use any font in web page by using techniques such as Typeface and Facelift Image Replacement (or FLIR) or sIFR. sIFR needs flash while others do not. sIFR is for smoothness look of fonts. Instead of creating images or using flash just to show your site&#8217;s graphic text in the [...]<p><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/">Use Any Font in Webpages As Text</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/"><img src="http://www.webstylepress.com/wp-content/uploads/2009/01/use-any-fonts.png" alt="use-any-fonts" title="use-any-fonts" width="490" height="440" class="alignnone size-full wp-image-493" /></a></p>
<p>Now using javascript we can use any font in web page by using techniques such as <strong>Typeface</strong> and <strong>Facelift Image Replacement</strong> (or FLIR) or <strong>sIFR</strong>. sIFR needs flash while others do not. sIFR is for smoothness look of fonts.</p>
<p>Instead of creating images or using flash just to show your site&#8217;s graphic text in the font you want, you can use typeface.js and write in plain HTML and CSS and get original smooth font look whatever you specify, even if the user machine have not those fonts. This technique is limited yet with limited fonts support and also it is recommended to use it for title of headings of web page. All the font at the web page using this technique can heavy things up at server and page might load very slow. Even then it is cool. Type face is easy, flexible and open source.</p>
<p><span id="more-481"></span></p>
<p>Using FLIR to display any font in web page is even easy. <a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/" target="_blank">Here</a> they have got complete instructions for just that.</p>
<p>I have tried type face method and here is its example to download.</p>
<p><a href='http://www.webstylepress.com/use-any-font-in-webpages-as-text/type-face/' rel='attachment wp-att-490' class="download">Type Face Example Download</a></p>
<p><strong>Related Resources </strong></p>
<p><a rel="nofollow" target="_blank" href="http://facelift.mawhorter.net/">Facelift</a><br />
<a rel="nofollow" target="_blank" href="http://novemberborn.net/">Novemberborn</a><br />
<a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-implement-sifr3-into-your-website/">Implementing sIFR for smoothness of fonts in webpages</a><br />
<a rel="nofollow" target="_blank" href="http://typeface.neocracy.org">http://typeface.neocracy.org</a><br />
<a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/">http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/</a></p>
<p><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/">Use Any Font in Webpages As Text</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-1/" title="Javascript Essentials Part 1">Javascript Essentials Part 1</a></li><li><a href="http://www.webstylepress.com/simple-rollover-swap-image/" title="Simple RollOver Swap Image">Simple RollOver Swap Image</a></li><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/use-any-font-in-webpages-as-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modern Font Styles For Websites</title>
		<link>http://www.webstylepress.com/modern-font-styles-for-websites/</link>
		<comments>http://www.webstylepress.com/modern-font-styles-for-websites/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 17:45:27 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Guidelines]]></category>
		<category><![CDATA[Web Tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=304</guid>
		<description><![CDATA[I have described about using nice and clean fonts in web page. Now lets see some more details about using fonts in web pages. As we know Verdana, Arial and Tahoma are being used from the beginning. In Web 2.0 Style, and many open source softwares such as WordPress, now-a-days some other fonts are being [...]<p><a href="http://www.webstylepress.com/modern-font-styles-for-websites/">Modern Font Styles For Websites</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I have described <a href="http://www.webstylepress.com/fonts-for-web-using-nice-and-clean-fonts-in-web-page/">about using nice and clean fonts in web page</a>. Now lets see some more details about using fonts in web pages.</p>
<p>As we know <strong>Verdana</strong>, <strong>Arial</strong> and <strong>Tahoma</strong> are being used from the beginning. In Web 2.0 Style, and many open source softwares such as WordPress, now-a-days some other fonts are being used which are neat and clean and stylish too. Best part is, to use these, no installation of fonts is needed. In Windows XP these are present by default. I have selected some examples of look and feel of some chosen fonts over here.</p>
<p><span id="more-304"></span></p>
<h5>Font Styles Comparison</h5>
<p style="font-family:arial;"><strong>Arial</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:Verdana;"><strong>Verdana</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:Tahoma;"><strong>Tahoma</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:Trebuchet MS;"><strong>Trebuchet MS</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:Georgia;"><strong>Georgia</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:Lucida Grande;"><strong>Lucida Grande</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:Lucida Sans Unicode;"><strong>Lucida Sans Unicode</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<p style="font-family:sans-serif;"><strong>sans-serif</strong> &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&#8221;</p>
<h5>Font Families</h5>
<p>It happens so that we can define a family of fonts while creating web page. If one font is not available in user&#8217;s machine; then next font style will be displayed. i.e</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;style type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #00AA00;">&gt;</span>
<span style="color: #6666ff;">.myfont</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Geneva<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&lt;/style<span style="color: #00AA00;">&gt;</span></pre></div></div>

<p>Suppose Geneva is not present in user&#8217;s machine, then system will pick next font Arial for style. So it is recommended to use font-families.</p>
<p>The font-family property is a prioritized list of font family names and/or generic family names for an element. The browser will use the first value it recognizes.</p>
<p>There are two types of font-family values:<br />
<strong>* family-name:</strong> The name of a font-family, like &#8220;times&#8221;, &#8220;courier&#8221;, &#8220;arial&#8221;, etc.<br />
<strong>* generic-family:</strong> The name of a generic-family, like &#8220;serif&#8221;, &#8220;sans-serif&#8221;, &#8220;cursive&#8221;, &#8220;fantasy&#8221;, &#8220;monospace&#8221;.</p>
<p>Separate each value with a comma, and always offer a generic-family name as the last alternative.</p>
<p>If a family-name contains white-space, it should be quoted. Single quotes must be used when using the &#8220;style&#8221; attribute in HTML.</p>
<p>Here is the list of font families commonly available on all systems.</p>
<p>Arial, Helvetica, sans-serif<br />
&#8216;Times New Roman&#8217;, Times, serif<br />
&#8216;Courier New&#8217;, Courier, monospace<br />
Georgia, &#8216;Times New Roman&#8217;, Times, serif<br />
Verdana, Arial, Helvetica, sans-serif<br />
Geneva, Arial, Helvetica, sans-serif</p>
<p><a href="http://www.webstylepress.com/modern-font-styles-for-websites/">Modern Font Styles For Websites</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li><li><a href="http://www.webstylepress.com/w3c-validation-tips/" title="W3C Validation Tips and Best Practices">W3C Validation Tips and Best Practices</a></li><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/how-to-control-font-size-in-percentage/" title="How to Control Font Size in Percentage">How to Control Font Size in Percentage</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/css-maximum-benefits/" title="How to Gain Maximum from CSS">How to Gain Maximum from CSS</a></li><li><a href="http://www.webstylepress.com/rounded-div-without-images/" title="Create Rounded Flexible Div Without Images">Create Rounded Flexible Div Without Images</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/superscript-and-subscript/" title="What is Superscript and Subscript in HTML">What is Superscript and Subscript in HTML</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/modern-font-styles-for-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wrapping Text &#8211; Breaking Text with No Spaces into New Line</title>
		<link>http://www.webstylepress.com/wrapping-text/</link>
		<comments>http://www.webstylepress.com/wrapping-text/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 16:16:40 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[wrap]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=53</guid>
		<description><![CDATA[Text like, a b c d e f and so on written in HTML will do fine in any browser, we all know that. What about the following! abcdefghijklmnopqrstuvwxyz&#8230;.NoWordBreaksAndSentenceGoesOnAndOn&#8230; The text with no spaces. If there are no breaks in words then the sentence will proceed straight and cause horizontal scroll in web page. In [...]<p><a href="http://www.webstylepress.com/wrapping-text/">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Text like, <strong>a b c d e f and so on</strong> written in HTML will do fine in any browser, we all know that.</p>
<p>What about the following!<br />
<strong>abcdefghijklmnopqrstuvwxyz&#8230;.NoWordBreaksAndSentenceGoesOnAndOn&#8230;</strong><br />
The text with no spaces.</p>
<p>If there are no breaks in words then the sentence will proceed straight and cause horizontal scroll in web page. In blogs or in any other applications where users can comment or put some data, they can write such spam or anything that can cause your web page layout to break. We have a solution to that. Write text in pre tag and apply following CSS to it.</p>
<p><span id="more-41"></span></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">pre <span style="color: #00AA00;">&#123;</span>
 overflow-x<span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */</span>
 <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* css-3 */</span>
 <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -moz-pre-wrap !important<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Mozilla, since 1999 */</span>
 <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 4-6 */</span>
 <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> -o-pre-wrap<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 7 */</span>
 <span style="color: #808080; font-style: italic;">/* width: 99%; */</span>
 word-wrap<span style="color: #00AA00;">:</span> break-word<span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Internet Explorer 5.5+ */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>This will fix the problem and in IE it will cause line break and avoid horizontal scroll while in Mozilla Firefox it will add an inline frame and put all the data in it.</p>
<p><a href='http://www.webstylepress.com/wp-content/uploads/2008/09/wrapped.rar'>Download Example</a><br />
<a rel="nofollow" target="_blank" href="http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/" target="_blank">More Detail and Examples</a></p>
<p><a href="http://www.webstylepress.com/wrapping-text/">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/w3c-validation-tips/" title="W3C Validation Tips and Best Practices">W3C Validation Tips and Best Practices</a></li><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/css-maximum-benefits/" title="How to Gain Maximum from CSS">How to Gain Maximum from CSS</a></li><li><a href="http://www.webstylepress.com/rounded-div-without-images/" title="Create Rounded Flexible Div Without Images">Create Rounded Flexible Div Without Images</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/superscript-and-subscript/" title="What is Superscript and Subscript in HTML">What is Superscript and Subscript in HTML</a></li><li><a href="http://www.webstylepress.com/list-style-types/" title="List Style Types Examples and Best Practices">List Style Types Examples and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/wrapping-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Superscript and Subscript in HTML</title>
		<link>http://www.webstylepress.com/superscript-and-subscript/</link>
		<comments>http://www.webstylepress.com/superscript-and-subscript/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 14:46:14 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=43</guid>
		<description><![CDATA[In HTML we use tags for subscript and superscript like below: Subscript ABCDEF av Superscript ABCDEF 12 i.e. ABCDEF &#60;sub&#62;av&#60;/sub&#62; ABCDEF &#60;sup&#62;12&#60;/sup&#62; What is Superscript and Subscript in HTML is a post from: Web Style Press, Best Practices from all the Web, Build Better Websites Related PostsList Style Types Examples and Best PracticesLorem ipsum Ready [...]<p><a href="http://www.webstylepress.com/superscript-and-subscript/">What is Superscript and Subscript in HTML</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In HTML we use tags for subscript and superscript like below:</p>
<p><span id="more-36"></span></p>
<h5>Subscript</h5>
<p>ABCDEF <sub>av</sub></p>
<h5>Superscript</h5>
<p>ABCDEF <sup>12</sup></p>
<p>i.e.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">ABCDEF &lt;sub&gt;av&lt;/sub&gt;
ABCDEF &lt;sup&gt;12&lt;/sup&gt;</pre></div></div>

<p><a href="http://www.webstylepress.com/superscript-and-subscript/">What is Superscript and Subscript in HTML</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/list-style-types/" title="List Style Types Examples and Best Practices">List Style Types Examples and Best Practices</a></li><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li><li><a href="http://www.webstylepress.com/w3c-validation-tips/" title="W3C Validation Tips and Best Practices">W3C Validation Tips and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/superscript-and-subscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List Style Types Examples and Best Practices</title>
		<link>http://www.webstylepress.com/list-style-types/</link>
		<comments>http://www.webstylepress.com/list-style-types/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 06:09:10 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[li]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[ul]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=28</guid>
		<description><![CDATA[Many options are available for list styles as following. We can define a disc style like below. ul &#123; list-style: disc; &#125; And a custom image replacing disc or any style like below. ul &#123; list-style: disc url&#40;arrow.gif&#41;; &#125; Here is the list of possible styling. View In Browser and Download List Style Types Examples [...]<p><a href="http://www.webstylepress.com/list-style-types/">List Style Types Examples and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Many options are available for list styles as following.  </p>
<p><span id="more-27"></span></p>
<p>We can define a disc style like below.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">ul <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">disc</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>And a custom image replacing disc or any style like below.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">ul <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">disc</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">arrow.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Here is the list of possible styling.</p>
<p><a href="http://www.webstylepress.com/wp-content/uploads/2008/09/list-styles.gif" target="_blank"><img src="http://www.webstylepress.com/wp-content/uploads/2008/09/list-styles.gif" alt="list styles" title="list-styles" width="338" height="2312" class="size-full wp-image-32" /></a></p>
<p><a rel="nofollow" target="_blank" href="http://www.techmynd.com/blogFiles/lists.html">View In Browser and Download</a></p>
<p><a href="http://www.webstylepress.com/list-style-types/">List Style Types Examples and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/superscript-and-subscript/" title="What is Superscript and Subscript in HTML">What is Superscript and Subscript in HTML</a></li><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/html-quick-reference/" title="HTML Quick Reference &#8211; Complete Guide">HTML Quick Reference &#8211; Complete Guide</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li><li><a href="http://www.webstylepress.com/w3c-validation-tips/" title="W3C Validation Tips and Best Practices">W3C Validation Tips and Best Practices</a></li><li><a href="http://www.webstylepress.com/seo-resources/" title="SEO Tips, Search Engines and Directories Links to Submit Website &#8211; Website Promotion">SEO Tips, Search Engines and Directories Links to Submit Website &#8211; Website Promotion</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/list-style-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>W3C Validation Tips and Best Practices</title>
		<link>http://www.webstylepress.com/w3c-validation-tips/</link>
		<comments>http://www.webstylepress.com/w3c-validation-tips/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 23:15:52 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[standards]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=23</guid>
		<description><![CDATA[Markup language validation is very important. Without it your web page will not be indexed in Google. Google crawlers will just avoid the invalid markup and errors in HTML. Here is a complete list of tips you can use to avoid HTML markup errors and warnings so that you write valid HTML or XHTML. Advices [...]<p><a href="http://www.webstylepress.com/w3c-validation-tips/">W3C Validation Tips and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Markup language validation is very important. Without it your web page will not be indexed in Google. Google crawlers will just avoid the invalid markup and errors in HTML. Here is a complete list of tips you can use to avoid HTML markup errors and warnings so that you write valid HTML or XHTML.</p>
<p><span id="more-23"></span></p>
<h5>Advices For Valid Markup</h5>
<ul>
<li>Use (define) backgrounds in CSS, not in html, TD, TR or Table</li>
<li>Do not define height of table or tr</li>
<li>Use alt=&#8221;" at every image even at spacer and separator</li>
<li>Place form tag b4 and after table tag and not td</li>
<li>Use correct doctype i.e.<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></li>
<li>Use all attributes for tags, i.e. script tags and css link tags. i.e.<br />
<script language="JavaScript" type="text/javascript" src="scripts/filename.js"></script></p>
<link href="css/filename.css" rel="stylesheet" type="text/css">
<li>In Anchor link where u have to use &#038; use its code like &amp;</li>
</ul>
<h5>Advices For Valid CSS</h5>
<ul>
<li>Define background color with color, and for transparent use inherit i.e.<br />
color : #000000;<br />
background-color: inherit;<br />
Use these both even one is not necessary to define, second with inherit property</li>
<li>Use shorthand for properties</li>
<li>Use generic font family i.e.<br />
font-family : verdana, arial, sans-serif;<br />
or<br />
font-family : &#8220;trebuchet ms&#8221;, geneva, sans-serif;</li>
<li>For background and backgriund position use different lines. i.e.<br />
background: url(../images/menulinebg.jpg) no-repeat;<br />
background-position:left center;</li>
</ul>
<h5>Validate HTML, XHTML and CSS</h5>
<h4>W3C HTML Validator</h4>
<p><a rel="nofollow" target="_blank" href="http://validator.w3.org/">http://validator.w3.org</a></p>
<h4>CSS Validator</h4>
<p><a rel="nofollow" target="_blank" href="http://jigsaw.w3.org/css-validator/" target="_blank">http://jigsaw.w3.org/css-validator/</a></p>
<p><a href="http://www.webstylepress.com/w3c-validation-tips/">W3C Validation Tips and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/css-maximum-benefits/" title="How to Gain Maximum from CSS">How to Gain Maximum from CSS</a></li><li><a href="http://www.webstylepress.com/rounded-div-without-images/" title="Create Rounded Flexible Div Without Images">Create Rounded Flexible Div Without Images</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/simple-and-powerful-form-validation/" title="Simple and Powerful Form Validation">Simple and Powerful Form Validation</a></li><li><a href="http://www.webstylepress.com/superscript-and-subscript/" title="What is Superscript and Subscript in HTML">What is Superscript and Subscript in HTML</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/w3c-validation-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

