<?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; Web Tips</title>
	<atom:link href="http://www.webstylepress.com/category/web-tips/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>What Makes Comment &#8211; A Genuine Comment</title>
		<link>http://www.webstylepress.com/what-makes-comment-a-genuine-comment/</link>
		<comments>http://www.webstylepress.com/what-makes-comment-a-genuine-comment/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 17:53:33 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[blog spam]]></category>
		<category><![CDATA[blog spamming]]></category>
		<category><![CDATA[bloggers]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[webmasters]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=703</guid>
		<description><![CDATA[Lot of bloggers and webmasters are spammers. Spammers have got their own websites full of crap and they want to promote these. New bloggers find it tempting to post spammy comments only to get attention towards their own sites. So they come to your blog and post spammy comments to get traffic towards their sites. [...]<p><a href="http://www.webstylepress.com/what-makes-comment-a-genuine-comment/">What Makes Comment &#8211; A Genuine Comment</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>Lot of bloggers and webmasters are spammers. Spammers have got their own websites full of crap and they want to promote these. New bloggers find it tempting to post spammy comments only to get attention towards their own sites. So they come to your blog and post spammy comments to get traffic towards their sites. I get a lot of spam at daily basis. I have implemented some checks / controls but I still get spammy comments. I had allowed website URL field in comments section but then people used to post comments only to register their website URL at my site so I dropped that field from many of my websites. I moderate all the comments. When you keep doing the same thing you find yourself good at it by the end of the day, so here is a clue about how you can spot genuine comments out of spam quickly and get rid of it. Commenters can also learn something from this about how to comment the right way and what to avoid.</p>
<p><span id="more-703"></span></p>
<p>Genuine commenter would fill all the form field correct.<br />
In place of his name, he would type his name. not &#8216;Download Trance&#8217; or &#8216;teaching guides&#8217; or &#8216;Trance Music&#8217; or even weirder term like &#8216;lebron james shoes&#8217;.<br />
These are not names right?<br />
Obviously somebody wants to promote illegal trance music he has got at his website.</p>
<p>Look at the comment text below. This kind of spam comment will even escape &#8216;Akismet&#8217; and will land in pending comments queue.</p>
<blockquote><p>
By DevWebPro Peer Reviewer lebron james 7 kobe bryant v 0 lebron james shoes Well…My initial impressions were good, until I realised my eyes weren’t going blurry – it was the graphics…Then there was the “Done, but with errors on page” message.I opened the site in Opera 6.05, IE 6.026 and Mozilla 1.1. I tried to view the shipping Kevin Durant Shoes page in Mozilla (as I’m an Aussie – I wanted to see what there Australian connection was). The page half loaded, but the source code displayed on the top of the page. – then the server went into some weird never ending loop…So far my impressions aren’t very good.And I don’t even really know what the company does yet – the errors have got in the way…three thumbs downPeter GrayPeer reviewers volunteer their time and effort to help other site owners with their websites. Please take time to vi…
</p></blockquote>
<p>This comment makes no sense. Spammer wants to make this comment look like genuine by kindly informing you that your website is acting weird. But its not. He is kind of hoping that you will approve the comment in hurry or panic.</p>
<blockquote><p>Terrific post. Thanks.</p></blockquote>
<p>Obviously we publishers put lot of efforts into writing good stuff. Its all terrific. Do not comment that its terrific.</p>
<p>So (newbie blogger) if you want to comment, here is a little piece of advice for you.</p>
<ul>
<li>Type your original name or nick name.</li>
<li>Do not tell us that its terrific post. We already know it is.</li>
<li>Contribute something. Tell something useful to other users about the topic.</li>
<li>Read the post first and then go for comment.</li>
<li>Only comment if you need to say something in the context of the post.</li>
<li>Do not just type that here is the resource you would find useful &#8230; http://www.crappysiteurl.com &#8230;. whatever. Give link if its really useful.</li>
<li>Do not appreciate any post if you are not genuinely impressed by it. We can spot if you only want attention.</li>
</ul>
<p>These kind of spammers just waste others time. I wonder and just feel pity for them. Nobody is going to click at your links. Webmasters hit &#8216;trash&#8217; link at once as soon as they spot such comment. So spammers are still little looser. People will never trust you again, your comment will never get approval and you are spoiling your website reputation by trying to post its link everywhere.</p>
<p><a href="http://www.webstylepress.com/what-makes-comment-a-genuine-comment/">What Makes Comment &#8211; A Genuine Comment</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/microsoft-word-to-wordpress/" title="Blog Using Microsoft Word &#8211; Microsoft Word to WordPress">Blog Using Microsoft Word &#8211; Microsoft Word to WordPress</a></li><li><a href="http://www.webstylepress.com/spamming-techniques-evolved/" title="Spamming Techniques Evolved">Spamming Techniques Evolved</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/what-makes-comment-a-genuine-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIV Issues, Problems and Solutions</title>
		<link>http://www.webstylepress.com/div-issues-problems-and-solution/</link>
		<comments>http://www.webstylepress.com/div-issues-problems-and-solution/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 20:48:04 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[DIV]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=323</guid>
		<description><![CDATA[DIV based table less websites are common (essential, precisely speaking) now a days. Web 2.0 Web style is also about DIV based Validated websites. DIV is a little bit tricky to handle than simple tables. Here are few very essential known issues which I have been facing and their solutions. Blank Line Spaces Problem Sometimes [...]<p><a href="http://www.webstylepress.com/div-issues-problems-and-solution/">DIV Issues, Problems and Solutions</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>DIV based table less websites are common (essential, precisely speaking) now a days. Web 2.0 Web style is also about DIV based Validated websites. DIV is a little bit tricky to handle than simple tables. Here are few very essential known issues which I have been facing and their solutions.</p>
<p><span id="more-323"></span></p>
<h4>Blank Line Spaces Problem</h4>
<p>Sometimes we use blank DIV. Suppose we use a DIV of 1px height. But its empty. Its behavior in IE and Firefox will be different. To avoid that use [ &#038; n b s p ; ] or place blank gif image of 1px height in that.</p>
<h4>Top-Padding Issue</h4>
<p>Do not give top-padding to any element which is in div containing id as in example beneath:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;some-id&quot;&gt;
 &lt;div class=&quot;some-class&quot;&gt;
  text
 &lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p>In above case top padding will be applied at class named as <em>some-class</em> and not at id named <em>some-id</em>.</p>
<h4>Content Overlaps In spite of Not Using BR (line breaks)</h4>
<p>Well, consider header, content and footer. These are three parts of website and in some cases if they just overlaps then you are missing clear both property of CSS.</p>
<p>Use clear:both; in css for every different part of website, for line break.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">~~ Header ~~
&lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;
~~ Body ~~
&lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;
~~ Footer ~~</pre></div></div>

<h4>Vertical Alignment of Content In DIV</h4>
<p>Things will be always top aligned in case of DIV.<br />
So when placing images in the center of box then you will have to use top padding for that image via CSS.</p>
<h4>UL LI List Padding Margin Problem In DIV</h4>
<p>UL, LI have default spacings (padding and margin). Whether you define these 0 in CSS or whatever, the spacing between li will be different in IE and Firefox which is not ok when you are placing two lists besides each other and you require same height for both Lists.</p>
<p>Use line-height for li distances and not padding or margin and define max-height property in CSS for UL tag.</p>
<h4>Naming Classes</h4>
<p>Start class or id names with text and not with numbers.</p>
<p>i.e.<br />
class=&#8221;<strong>nav</strong>&#8221; is ok<br />
class=&#8221;<strong>2-nav</strong>&#8221; is not ok</p>
<h4>Blocked Elements and Inline Elements</h4>
<p>Tags with default line breaks are blocked elements while tags with no default line break are inline elements. You can write inline elements in the same line but not blocked elements.<br />
i.e.<br />
DIV, p are blocked elements.<br />
strong, a, span are inline elements.</p>
<h4>Difference Between ID and Class</h4>
<p>Id is unique throughout the website. Id can not be used more than once in a web page. While you can use the same class for many tags in html.<br />
id is unique and is not repeated throughout site but class can be applied at multiple tags.</p>
<h4>Div With Blank Bottom Padding</h4>
<p>Sometimes even when we define div height and there are no breaks after that but it takes some space or bottom padding and pushes next content a little more down.</p>
<p>Use overflow hidden property at that div via CSS, containing image, data or whatever which is causing bottom blank space (this problem occurs usually in i.e.6).</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span></pre></div></div>

<h4>Float and Align</h4>
<p>mozilla firefox looks for float for alignment and not the text-align. Floating for DIV is shifting Whole DIV to right or left while aligning left or right for DIV is left or right alignment of data or content containing that DIV.</p>
<p><a href="http://www.webstylepress.com/div-issues-problems-and-solution/">DIV Issues, Problems and Solutions</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/redesign-brainstorming-keep-in-mind-before-you-redesign/" title="Redesign Brainstorming &#8211; Keep in Mind Before you Redesign">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a></li><li><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/" title="Protect Your WordPress Blog From Hotlinking">Protect Your WordPress Blog From Hotlinking</a></li><li><a href="http://www.webstylepress.com/fav-icon-tutorial/" title="Fav Icon Tutorial">Fav Icon Tutorial</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/div-issues-problems-and-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Rounded Flexible Div Without Images</title>
		<link>http://www.webstylepress.com/rounded-div-without-images/</link>
		<comments>http://www.webstylepress.com/rounded-div-without-images/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 17:59:12 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[DIV]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=306</guid>
		<description><![CDATA[Nifty Corners Cube is a solution to get rounded corners without images, and this third version is build by three main components: A javascript file, named &#8220;niftycornerscube.js&#8221; A CSS file, named &#8220;niftycorners.css&#8221; The javascript calls specific for the pages Nifty Corners Cube Create Rounded Flexible Div Without Images is a post from: Web Style Press, [...]<p><a href="http://www.webstylepress.com/rounded-div-without-images/">Create Rounded Flexible Div Without Images</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><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/curves-without-images-nifty-cube.gif" alt="" title="curves-without-images-nifty-cube" width="300" height="77" class="alignnone size-full wp-image-307" /></p>
<p>Nifty Corners Cube is a solution to get rounded corners without images, and this third version is build by three main components:</p>
<p><span id="more-306"></span></p>
<ul>
<li>A javascript file, named &#8220;niftycornerscube.js&#8221;</li>
<li>A CSS file, named &#8220;niftycorners.css&#8221;</li>
<li>The javascript calls specific for the pages</li>
</ul>
<p><a rel="nofollow" target="_blank" href="http://www.html.it/articoli/niftycube/index.html">Nifty Corners Cube</a></p>
<p><a href="http://www.webstylepress.com/rounded-div-without-images/">Create Rounded Flexible Div Without Images</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/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/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/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><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/rounded-div-without-images/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>Embed SWF Files Via Javascript &#8211; Active Content Script</title>
		<link>http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/</link>
		<comments>http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 17:54:25 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Web Guidelines]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[active content]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash tips]]></category>
		<category><![CDATA[swf]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=156</guid>
		<description><![CDATA[Previously We used to embed flash files in web pages via simple embed method which pops up flash settings alert or Flash Settings Manager. Following way is to embed Flash movie (swf file) in web page using Javascript which will play for all browsers and will not alert you for flash settings. Old Way Of [...]<p><a href="http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/">Embed SWF Files Via Javascript &#8211; Active Content Script</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>Previously We used to embed flash files in web pages via simple embed method which pops up flash settings alert or <a rel="nofollow" target="_blank" href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html">Flash Settings Manager</a>. Following way is to embed Flash movie (swf file) in web page using Javascript which will play for all browsers and will not alert you for flash settings.</p>
<p><span id="more-156"></span></p>
<h5>Old Way Of Embeding SWF In Web Pages</h5>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;
&lt;param name=&quot;movie&quot; value=&quot;mymovie.swf&quot;&gt;
&lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
&lt;param name=&quot;menu&quot; value=&quot;false&quot;&gt;
&lt;embed src=&quot;mymovie.swf&quot; width=&quot;200&quot; height=&quot;100&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; type=&quot;application/x-shockwave-flash&quot; menu=&quot;false&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;</pre></div></div>

<p>We had to go to <a rel="nofollow" target="_blank" href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html" target="_blank">Flash Global Settings Manager</a> to set settings to stop that pop up window.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/flash-settings-panel.gif" alt="" title="flash-settings-panel" width="397" height="272" class="alignnone size-full wp-image-158" /></p>
<p><strong>New Adobe Dreamweaver CS3</strong> provides a way to embed flash files in web pages via javascript by using <strong>AC_RunActiveContent.js</strong> file.</p>
<p>Suppose I have swf movie named as <strong>mymovie.swf</strong>. I will embed it in web page by using following method. You will need <strong>AC_RunActiveContent.js</strong> file which Adobe Dreamweaver provides while you embed swf in web pages.</p>
<h5>For Head Section Of Page</h5>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;AC_RunActiveContent.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<h5>Embeding SWF Via Javascript</h5>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot;&gt;
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','200','height','100','src','mymovie','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','mymovie' ); //end AC code
&lt;/script&gt;&lt;noscript&gt;&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;
  &lt;param name=&quot;movie&quot; value=&quot;mymovie.swf&quot;&gt;
  &lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
  &lt;embed src=&quot;mymovie.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;&lt;/noscript&gt;</pre></div></div>

<p>* For above example, you will have to change the movie name at four places. Two times it appears as <strong>mymovie.swf</strong> and two times as <strong>mymovie</strong> in code above and movie&#8217;s height and width three times too.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/embed-flash-via-new-script.rar'>Download Full Script</a></span></p>
<p><a href="http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/">Embed SWF Files Via Javascript &#8211; Active Content Script</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/browser-control-from-flash/" title="Browser Control From Flash">Browser Control From Flash</a></li><li><a href="http://www.webstylepress.com/random-bubble-animation-in-flash/" title="Create Random Bubble Animation In Flash">Create Random Bubble Animation In Flash</a></li><li><a href="http://www.webstylepress.com/flash-random-text-animation/" title="Create Flash Random 3D Text Animation">Create Flash Random 3D Text Animation</a></li><li><a href="http://www.webstylepress.com/flash-resources-and-tutorials/" title="Flash Resources and Tutorials">Flash Resources and Tutorials</a></li><li><a href="http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/" title="Scrollbars In flash &#8211; Flash Content Scroll">Scrollbars In flash &#8211; Flash Content Scroll</a></li><li><a href="http://www.webstylepress.com/flash-mouse-effects/" title="Flash Mouse Effects">Flash Mouse Effects</a></li><li><a href="http://www.webstylepress.com/google-search-from-flash/" title="Google Search From Flash Using ActionScript">Google Search From Flash Using ActionScript</a></li><li><a href="http://www.webstylepress.com/flash-hit-counter/" title="Flash Hit Counter Using ActionScript and PHP">Flash Hit Counter Using ActionScript and PHP</a></li><li><a href="http://www.webstylepress.com/swap-depth-in-flash/" title="Swap Depth In Flash">Swap Depth In Flash</a></li><li><a href="http://www.webstylepress.com/flash-slide-shows/" title="Create Flash Slide Shows Using ActionScript &#8211; Example Downloads">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Riddler &#8211; Secure Email Link</title>
		<link>http://www.webstylepress.com/email-riddler-secure-email-link/</link>
		<comments>http://www.webstylepress.com/email-riddler-secure-email-link/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 17:47:46 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email link]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=65</guid>
		<description><![CDATA[Email Riddler is an online tool that encrypts and transform your email address into a series of numbers when displaying it, making it virtually impossible for spam harvesters to crawl and add your email to their list. Generate Secure Email Link Email Riddler &#8211; Secure Email Link is a post from: Web Style Press, Best [...]<p><a href="http://www.webstylepress.com/email-riddler-secure-email-link/">Email Riddler &#8211; Secure Email Link</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>Email Riddler is an online tool that encrypts and transform your email address into a series of numbers when displaying it, making it virtually impossible for spam harvesters to crawl and add your email to their list.</p>
<p><span id="more-49"></span></p>
<p><a rel="nofollow" target="_blank" href="http://dynamicdrive.com/emailriddler/">Generate Secure Email Link</a></p>
<p><a href="http://www.webstylepress.com/email-riddler-secure-email-link/">Email Riddler &#8211; Secure Email Link</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/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/mail-to-friend-gmail-compose-email-link-safe-recommend/" title="Mail To Friend &#8211; Gmail Compose Email link &#8211; Safe Recommend">Mail To Friend &#8211; Gmail Compose Email link &#8211; Safe Recommend</a></li><li><a href="http://www.webstylepress.com/flash-and-php-form-submission-send-email-via-flash-and-php/" title="Flash and PHP &#8211; Form Submission &#8211; Send Email Via Flash and PHP">Flash and PHP &#8211; Form Submission &#8211; Send Email Via Flash and PHP</a></li><li><a href="http://www.webstylepress.com/email-link-customization/" title="Email Link Customization">Email Link Customization</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/email-riddler-secure-email-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Link Customization</title>
		<link>http://www.webstylepress.com/email-link-customization/</link>
		<comments>http://www.webstylepress.com/email-link-customization/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 17:39:03 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=61</guid>
		<description><![CDATA[Following is a standard way of adding an email link to a web page. &#60;a href=&#34;mailto:name@gmail.com&#34;&#62;Mail Me&#60;/a&#62; Lets customize its details. Email Link Customization This is how we customize it in detail. &#60;a href=&#34;mailto:name@gmail.com ?Subject=feedback &#38;Cc=someone@somewhere.com &#38;Bcc=jadi@msn.com &#38;amp;Body=Please contact me about some web services&#34;&#62; Mail Me&#60;/a&#62; Email Link Customization is a post from: Web Style [...]<p><a href="http://www.webstylepress.com/email-link-customization/">Email Link Customization</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><img src="http://www.webstylepress.com/wp-content/uploads/2008/09/simple-link.gif" alt="simple email link" title="simple-link" width="399" height="420" class="size-full wp-image-62" /></p>
<p>Following is a standard way of adding an email link to a web page.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;mailto:name@gmail.com&quot;&gt;Mail Me&lt;/a&gt;</pre></div></div>

<p>Lets customize its details.</p>
<p><span id="more-47"></span></p>
<p><strong>Email Link Customization</strong></p>
<p>This is how we customize it in detail.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;mailto:name@gmail.com
?Subject=feedback
&amp;Cc=someone@somewhere.com
&amp;Bcc=jadi@msn.com
&amp;amp;Body=Please contact me about some web services&quot;&gt;
Mail Me&lt;/a&gt;</pre></div></div>

<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/09/customized-link.gif" alt="Email customization" title="customized-link" width="400" height="419" class="size-full wp-image-63" /></p>
<p><a href="http://www.webstylepress.com/email-link-customization/">Email Link Customization</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/flash-and-php-form-submission-send-email-via-flash-and-php/" title="Flash and PHP &#8211; Form Submission &#8211; Send Email Via Flash and PHP">Flash and PHP &#8211; Form Submission &#8211; Send Email Via Flash and PHP</a></li><li><a href="http://www.webstylepress.com/mail-to-friend-gmail-compose-email-link-safe-recommend/" title="Mail To Friend &#8211; Gmail Compose Email link &#8211; Safe Recommend">Mail To Friend &#8211; Gmail Compose Email link &#8211; Safe Recommend</a></li><li><a href="http://www.webstylepress.com/email-riddler-secure-email-link/" title="Email Riddler &#8211; Secure Email Link">Email Riddler &#8211; Secure Email Link</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/email-link-customization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fav Icon Tutorial</title>
		<link>http://www.webstylepress.com/fav-icon-tutorial/</link>
		<comments>http://www.webstylepress.com/fav-icon-tutorial/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 17:25:29 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[ico]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=58</guid>
		<description><![CDATA[Place favicon.ico file in root directory of your web host (public_html or www) and add following code into head section of your web page. &#60;link rel=&#34;Shortcut icon&#34; href=&#34;/favicon.ico&#34;&#62; OR &#60;link rel=&#34;icon&#34; href=&#34;http://www.url/favicon.ico&#34; type=&#34;images/x-icon&#34; /&#62; How To Create .ico file? I create it using my Adobe Photoshop. I have icoformat plugin file which I add in [...]<p><a href="http://www.webstylepress.com/fav-icon-tutorial/">Fav Icon Tutorial</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>Place favicon.ico file in root directory of your web host (public_html or www) and add following code into head section of your web page.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;Shortcut icon&quot; href=&quot;/favicon.ico&quot;&gt;</pre></div></div>

<p>OR</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;icon&quot; href=&quot;http://www.url/favicon.ico&quot; type=&quot;images/x-icon&quot; /&gt;</pre></div></div>

<p><span id="more-45"></span></p>
<h4>How To Create .ico file?</h4>
<p>I create it using my Adobe Photoshop. I have icoformat plugin file which I add in adobe photoshop plugins for having an option of save as .ico file.</p>
<h4>Path to add plugin</h4>
<p>In my case<br />
C:\Program Files\Adobe\Adobe Photoshop CS3\Plug-Ins\Extensions</p>
<p>Place there icoformat plugin file and while saving file photoshop will offer option of saving as .ico file. We usually create 16&#215;16 px file for icon and save as filename.ico.</p>
<p><a href='http://www.webstylepress.com/wp-content/uploads/2008/09/photoshopiconformat.rar'>Download Photoshop Icon Format Plugin</a></p>
<p><a href="http://www.webstylepress.com/fav-icon-tutorial/">Fav Icon Tutorial</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/redesign-brainstorming-keep-in-mind-before-you-redesign/" title="Redesign Brainstorming &#8211; Keep in Mind Before you Redesign">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a></li><li><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/" title="Protect Your WordPress Blog From Hotlinking">Protect Your WordPress Blog From Hotlinking</a></li><li><a href="http://www.webstylepress.com/jquery-fancy-date-picker/" title="jQuery Fancy Date Picker">jQuery Fancy Date Picker</a></li><li><a href="http://www.webstylepress.com/div-issues-problems-and-solution/" title="DIV Issues, Problems and Solutions">DIV Issues, Problems and Solutions</a></li><li><a href="http://www.webstylepress.com/accessible-news-slider/" title="Accessible News Slider jQuery Plugin Download">Accessible News Slider jQuery Plugin Download</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/jcarousel-lite-scroll/" title="jCarousel Lite Scroll &#8211; Fancy Scroll">jCarousel Lite Scroll &#8211; Fancy Scroll</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/fav-icon-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing HR</title>
		<link>http://www.webstylepress.com/customizing-hr/</link>
		<comments>http://www.webstylepress.com/customizing-hr/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 16:20:14 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[hr]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=56</guid>
		<description><![CDATA[Default HR is boring and fat. We can customize it in a way that it looks thin and light which serves the purpose while not disturbing our web page design. Add following css to your web page, customize its properties according to your needs. hr &#123; clear : both; color : #cccccc; background : inherit; [...]<p><a href="http://www.webstylepress.com/customizing-hr/">Customizing HR</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>Default HR is boring and fat. We can customize it in a way that it looks thin and light which serves the purpose while not disturbing our web page design.</p>
<p><span id="more-43"></span></p>
<p>Add following css to your web page, customize its properties according to your needs.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">hr
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">clear</span> <span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span> <span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span> <span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">height</span> <span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span> <span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-top</span> <span style="color: #00AA00;">:</span> <span style="color: #993333;">dotted</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-bottom</span> <span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p><a href="http://www.webstylepress.com/customizing-hr/">Customizing HR</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/microsoft-word-to-wordpress/" title="Blog Using Microsoft Word &#8211; Microsoft Word to WordPress">Blog Using Microsoft Word &#8211; Microsoft Word to WordPress</a></li><li><a href="http://www.webstylepress.com/convert-inpage-to-urdu-text/" title="Convert from InPage to Urdu Unicode Text">Convert from InPage to Urdu Unicode Text</a></li><li><a href="http://www.webstylepress.com/random-bubble-animation-in-flash/" title="Create Random Bubble Animation In Flash">Create Random Bubble Animation In Flash</a></li><li><a href="http://www.webstylepress.com/what-makes-comment-a-genuine-comment/" title="What Makes Comment &#8211; A Genuine Comment">What Makes Comment &#8211; A Genuine Comment</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li><li><a href="http://www.webstylepress.com/remove-single-post-title-self-link-wordpress/" title="Remove Single Post Title Self Link in WordPress Themes">Remove Single Post Title Self Link in WordPress Themes</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/website-standards-2/" title="Website Standards">Website Standards</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><li><a href="http://www.webstylepress.com/flash-random-text-animation/" title="Create Flash Random 3D Text Animation">Create Flash Random 3D Text Animation</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/customizing-hr/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>
	</channel>
</rss>

