<?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>WebDea</title>
	<atom:link href="http://www.webdea.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webdea.com</link>
	<description>Converting PSD 2 HTML, xHTML, CSS, Wordpress, Joomla, Drupal</description>
	<lastBuildDate>Tue, 27 Jul 2010 13:06:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Class Attribute</title>
		<link>http://www.webdea.com/class-attribute.html</link>
		<comments>http://www.webdea.com/class-attribute.html#comments</comments>
		<pubDate>Tue, 27 Jul 2010 13:06:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[class attribute]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=349</guid>
		<description><![CDATA[<a href="http://www.webdea.com/class-attribute.html"><img src="http://farm5.static.flickr.com/4139/4752025868_73619971dd_m.jpg" alt="class attribute tips to know" align="left"></a>Classes help you to structure your document as well as add semantic meaning to elements where html falls short. It is better not to apply too many classes on one single element and avoid classes that contain behavior instead of semantic meaning. In case you use the class attributes correctly, you will get flexible and future proof structure to your documents. ]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm5.static.flickr.com/4076/4752026416_6739b222b0_m.jpg" alt="class attribute to remember" align="right">In case you need to target a range of identical elements and elements that occur several times on a single page, you should use the class attribute. According to w3c class attribute can be explained as following:  </p>
<p>This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters. </p>
<p>In other words, we can highlight three main things concerning class attribute: </p>
<ul>
<li>It allows to assign more than one class name to a single element (separated by white space characters)</li>
<li>You can use a class name or a combination of class names more than once within the same document</li>
<li>You can assign a class name or a combination of class names to different elements</li>
</ul>
<p>Thus, class attribute provides you with more opportunities than id attribute. </p>
<h3>When Use the Class Attribute</h3>
<p>First of all, decide whether an element will be repeated more than once on the same page or on any other page within the same project. If yes, you should use class attribute instead of id attribute. Thus, you make it possible for javascript and CSS as well as for other processes to retrieve elements within one document and process them all together. In such a way you can define a box for product descriptions, put multiple instances of this box on the same page and have them styled identically by one single piece of css.</p>
<p>Note that there are the same restrictions for the class attribute as for the id attribute. Here they are:</p>
<p>Not valid in base, head, html, meta, param, script, style, and title elements.<img src="http://farm5.static.flickr.com/4098/4751385915_e7b7116b7e_m.jpg" alt="class attribute for all" align="right"></p>
<p>You can assign multiple classes to a single element. In other words, an element can be given a base class, then can be further specified by adding extra classes. Seems to be quite simple, but still some errors occur. First of all, you should decide whether you are further specifying a certain element by itself, or just trying to adapt an element according to its context. In case you choose the latter, classes or ids higher up in the structure should be used in combination with the element class to target these elements. </p>
<p>You can add as much classes to one element as you need. However, it is not recommended to add 10 classes to one element because of code readability. </p>
<p>The order of the specified classes on an element is not important. Thus, class=&#8221;product promo&#8221; is the same as class=&#8221;promo product&#8221;.</p>
<p>Anyway, if you use extra classes to specify element, it is better to keep a logical ordering where base class comes first. </p>
<h3>Apply Unrelated Class to One Element</h3>
<p>You also can add two semantically unrelated classes to a single element or contain fixes and apply them to elements through one class. If you need examples, &#8220;clearfix&#8221; class and &#8220;hidden&#8221; class are the most popular. </p>
<p>The other way to use unrelated classes is to apply common behavior to a class. For example, you can contain recurring visual characteristics (1 pixel gray border with 0.5em padding) and have them applied to an element by simply adding the class. </p>
<h3>Apply the Same Class on Unrelated Elements</h3>
<p>It is not advisable because such practice may lead to unexpected results when code gets copied across pages. Remember that it is better to use classes to identify elements that can be repeated within a single document.</p>
<p><em>Reference: www.onderhond.com/blog/work/class-attribute</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/class-attribute.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog Promotion Tips</title>
		<link>http://www.webdea.com/blog-promotion-tips.html</link>
		<comments>http://www.webdea.com/blog-promotion-tips.html#comments</comments>
		<pubDate>Tue, 20 Jul 2010 11:33:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[blog promotion tips]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[stumbleupon]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=344</guid>
		<description><![CDATA[<a href="http://www.webdea.com/blog-promotion-tips.html"><img src="http://farm2.static.flickr.com/1185/4732926624_32ecfe473b_m.jpg" alt="blog promotion tips to know" align="left"></a>Talking about blog promotion you should differ genuine promotion and spam. There are quite a lot of articles on the web that offer you various methods to make your blog popular. However, most of them are ordinary spam methods. Here you can find promotion methods that give you a good conscience.]]></description>
			<content:encoded><![CDATA[<p>Talking about blog promotion you should differ genuine promotion and spam. There are quite a lot of articles on the web that offer you various methods to make your blog popular. However, most of them are ordinary spam methods. Here you can find promotion methods that give you a good conscience. </p>
<h3>Use Other Blogs</h3>
<p><img src="http://farm2.static.flickr.com/1125/4732926984_ee82061756_m.jpg" alt="blog promotion tips to remember" align="right"></p>
<p>It is popular method to get noticed. However, there are also several ways to use it.</p>
<p>Some people prefer to use trackback links within the comment section. It can be quite annoying, because it breaks the flow of the comments and some people even suppose that such trackbacks are just spam. Some blogs put the trackback links in a separate section.</p>
<p>The other thing you can do to be noticed is to post related articles in the comment section. It is appropriate if you post article that answers the bloggers questions. If you just post an article with similar theme this also may look like ordinary spam. So, ask yourself whether readers of the blog will find something useful in your article that you can’t express in small post.  </p>
<p>And the final method to use is to add a link to your blog in your name in the comments. It is a standard feature on every blog so why not use it for your purpose? Especially if you post a relevant and interesting comment. </p>
<h3>Use Others</h3>
<p><img src="http://farm2.static.flickr.com/1104/4732927326_2a8bddd381_m.jpg" alt="blog promotion tips for all" align="right">The effectiveness of this method is also depends on the quality of your content. You can submit your articles to recaps of the most interesting articles of the last week or month. Of course you will be included in case your information is valuable or quite entertaining. In such a way, you can reach an interested audience. </p>
<p>This method is not about promoting your blog. It is all about providing high quality content to interested parties. </p>
<h3>Use Web 2.0</h3>
<p>This method allows you to communicate with other people interested in your business as well as allows you to attract potential clients. This time you also need to have valuable content and time to search for interesting topics or some other creative ideas to share with others. You can get noticed with del.icio.us, ma.gnolia, dig, stumbleupon, technocrati, twitter, facebook, etc. </p>
<p>There are quite a lot of techniques concerning Web 2.0. For example, you can submit excerpts of your articles with links to the full post, search for other articles in your niche and twitter or stubleupon them, you also can create your own online group, etc. The main thing is to start and be consistent as well as always try something new to improve. </p>
<p><em>Reference: www.onderhond.com/blog/work/blog-promotion</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/blog-promotion-tips.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Address Tag</title>
		<link>http://www.webdea.com/address-tag.html</link>
		<comments>http://www.webdea.com/address-tag.html#comments</comments>
		<pubDate>Tue, 13 Jul 2010 11:24:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[address tag]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://www.webdea.com/the-address-tag.html</guid>
		<description><![CDATA[<a href="http://www.webdea.com/address-tag.html"><img src="http://farm2.static.flickr.com/1437/4732924148_1582dcf5cc_m.jpg" alt="Address Tag tips to know" align="left"></a>Trying to be a professional web designer we try to learn everything necessary about web standards and even more. Now you know a lot about screen readers and people with disabilities browsing the web, how machines differ from humans as well as about semantics and syntax. All this is quite useful.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm2.static.flickr.com/1174/4732924814_9a9448b510_m.jpg" alt="Address Tag to remember" align="right" />Trying to be a professional web designer we try to learn everything necessary about web standards and even more. Now you know a lot about screen readers and people with disabilities browsing the web, how machines differ from humans as well as about semantics and syntax. All this is quite useful. However, sometimes it is also required to forget about standards and create something new in your code.</p>
<p>Perhaps, you have already visited w3schools and check up on the available xhtml tags. Here is the actual definition of the address tag according to w3c site:</p>
<p>The address element may be used by authors to supply contact information for a document or a major part of a document such as a form. This element often appears at the beginning or end of a document.</p>
<p>Seems to be confusing? Well, the purpose of the address tag is to provide a means of contact for a specific piece of information on the document. However, the definition is quite vague and you can suggest that it can be used for any address stated within a document. Thus, w3schools give an explanation:</p>
<p>Note: The address tag should NOT be used as describing a postal address, unless it is a part of the contact information.</p>
<p>Thus, the address tag is intended for visitors willing to contact the author of the web document. However, you can see an address tag and expect that it is used for marking up an actual address, not for general contact information regarding the author of the document. This is quite possible… if you forget about standards:<img src="http://farm2.static.flickr.com/1407/4732280845_654c8d0ee8_m.jpg" alt="Address Tag for all" align="right" /></p>
<p>&lt;address&gt;<br />
&lt;span class= &#8220;street&#8221;&gt;&#8230;&lt;/span&gt;<br />
&lt;span class=&#8221;city&#8221;&gt;&#8230;&lt;/span&gt;<br />
&lt;span class=&#8221;country&#8221;&gt;&#8230;&lt;/span&gt;<br />
&lt;/address&gt;</p>
<p>As you can see this article is quite ironical and of course, you should stick to the standards. But still sometimes it is rather interesting to be more creative and go against standards if it does no harm. This rule can be applied to web design as well as to life.</p>
<p><em>Reference: www.onderhond.com/blog/work/address-tag</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/address-tag.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips to Create Printer Friendly Web Pages</title>
		<link>http://www.webdea.com/create-printer-friendly-webpages.html</link>
		<comments>http://www.webdea.com/create-printer-friendly-webpages.html#comments</comments>
		<pubDate>Tue, 06 Jul 2010 12:04:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=325</guid>
		<description><![CDATA[<a href="http://www.webdea.com/create-printer-friendly-webpages.html"><img src="http://farm2.static.flickr.com/1239/4730196238_fee7f22a54_m.jpg" alt="Printer Friendly tips to know" align="left"></a>Trying to create great looking web page we add various logos, navigation links, forms, flash widgets, blogrolls, etc. However, the things that look cool inside the web browser are useless for people who want to print out your web pages on paper. Here is a decision to turn your blog into a printer friendly website. ]]></description>
			<content:encoded><![CDATA[<p>Trying to create great looking web page we add various logos, navigation links, forms, flash widgets, blogrolls, etc. However, the things that look cool inside the web browser are useless for people who want to print out your web pages on paper. Here is a decision to turn your blog into a printer friendly website and to allow your readers to consume less ink to print your articles.</p>
<h3>Step 1</h3>
<p><img src="http://farm2.static.flickr.com/1163/4729550605_2cca4ac139_m.jpg" alt="create printer friendly page" align="right" /></p>
<p>Create a new CSS file with the following:</p>
<p>body {font-family: arial,helvetica,sans; font-size: 13px; background:fff; color:000;}<br />
// Black Text on White Background<br />
a,a:visited,a:link {color:#000; text-decoration:none}<br />
// Do no underline links<br />
.noprint {display:none} //</p>
<h3>Step 2</h3>
<p>Then, open the HTML source of your main blog template and enclose sidebars, ad blocks, header logo, footers, etc (except the content) inside the following &lt;span&gt; tag to instruct the browser not to print anything that appears inside this tag:</p>
<p>&lt;span class=”noprint”&gt; ….. &lt;/span&gt;</p>
<h3>Step 3</h3>
<p><img src="http://farm2.static.flickr.com/1361/4730196846_d63ed47ed3_m.jpg" alt="printer friendly page for all" align="right" /></p>
<p>The last thing to do is to add the following line inside the &lt;HEAD&gt; tag of your blog template:</p>
<p>&lt;link rel=”stylesheet” media=”handheld,print” href=”print.css” /&gt;</p>
<p>That’s all. Such technique can also be used if your readers want to print your blog as a PDF document.</p>
<p><em>Reference: www.labnol.org/internet/design/create-printer-friendly-blog-css-trick/2109/</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/create-printer-friendly-webpages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inbound Marketing to Make Your Site Found</title>
		<link>http://www.webdea.com/inbound-marketing.html</link>
		<comments>http://www.webdea.com/inbound-marketing.html#comments</comments>
		<pubDate>Tue, 29 Jun 2010 11:57:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[dilicious]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[inbound marketing]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=320</guid>
		<description><![CDATA[<a href="http://www.webdea.com/inbound-marketing.html"><img src="http://farm2.static.flickr.com/1367/4729546863_75392bbefd_m.jpg" alt="Inbound Marketing tips to know" align="left"></a>Focus on finding customers or try to be found by customers? This is the main difference between outbound marketing and inbound marketing. Are you in places where your potential customers searching? If you are not sure about this or maybe just start your online project, inbound marketing will help you a lot to become popular on the Web.]]></description>
			<content:encoded><![CDATA[<p>Notwithstanding economic situation people continue to look for your business. <img src="http://farm2.static.flickr.com/1390/4730193152_b92ae5e44f_m.jpg" alt="Inbound Marketing to remember" align="right"> The other thing is whether you are found. In other words, are you in places where your potential customers searching? If you are not sure about this or maybe just start your online project, inbound marketing will help you a lot to become popular on the Web.</p>
<p>Focus on finding customers or try to be found by customers? This is the main difference between outbound marketing and inbound marketing. Outbound marketing uses print advertising, TV advertising, cold-calling, spam, junk mail or trade shows to attract customers. However, these techniques are poorly targeted and quite expensive. </p>
<p>The other thing is inbound marketing that is all about creating and providing information that can be really interesting for your customers. The tools of inbound marketing are social media sites (<a href="http://www.twitter.com" >Twitter</a>, <a href="http://www.delicious.com">Delicious</a>, <a href="http://www.facebook.com">Facebook</a>, <a href="http://www.digg.com">Digg</a>), your brain power and time. To do your best with inbound marketing techniques you should rely on the thickness of your brain instead of thickness of your wallet. </p>
<h3>Things to Start With</h3>
<p>The thing you should aim to is creating a site with engaging and useful information that meets all the needs of you potential customers as well as demonstrate your experience in some field. It is necessary to host such content on your main web site domain for search engine optimization purposes. However, if you are limited in resources, you can start with a free <a href="http://wordpress.com/">Wordpress</a> blog. All you need is to start creating valuable content and then develop a blog on your own domain as soon as you get extra resources.<img src="http://farm2.static.flickr.com/1330/4730193458_3cc6e73a90_m.jpg" alt="Inbound Marketing for all" align="right"></p>
<p>The next step is to engage with social media. You should create a <a href="https://twitter.com/signup">Twitter account</a> and start publishing excerpts of your articles with links to the full texts. You also can use Twitter account to follow other users with interests similar to yours and your customers, retweet the tweets that seem to be interesting as well as relevant, <a href=" http://blog.twitter.com/2007/09/tracking-twitter.html">search for keywords</a> related to your business and respond with helpful information. </p>
<p>To set up a Facebok page is much easier, but it can be only the second step after using Twitter effectively. And of course, don’t forget to use Delicious bookmarks that allow you to share your content with others. On the whole, there are quite a lot of techniques to attract potential clients via social media. My task is to make you start without too much information to consider. </p>
<h3>Is Social Media Enough?</h3>
<p>Social media is all about taking part in conversations going on in recognized places online. Inbound marketing is also creating content that is relevant and helpful. The other thing is to present it in a search engine friendly manner. And this time you need to know not only social media tips but also <a href="http://www.youtube.com/watch?v=4_1kfMR11wQ">Search Engine Optimization techniques</a>. For example, you can make keyword research to find out possible phrases your potential clients use looking for some information concerning your industry. There are quite a lot of resources on the web for training in case you want to do it yourself. You also can hire a web developer who will take your site for the next level. </p>
<p><em>Reference: www.aboundmarketing.com/1011/inbound-marketing-are-you-being-found/</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/inbound-marketing.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>At-Rules to Consider</title>
		<link>http://www.webdea.com/at-rules-to-consider.html</link>
		<comments>http://www.webdea.com/at-rules-to-consider.html#comments</comments>
		<pubDate>Fri, 25 Jun 2010 08:45:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[at-rules]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=313</guid>
		<description><![CDATA[<a href="http://www.webdea.com/at-rules-to-consider.html"><img src="http://farm5.static.flickr.com/4006/4621210146_c72e4a017e_o.jpg" alt="At-Rules to know" align="left"></a>At-rules are instructions or directives to the CSS and can be used for a variety of purposes. There are quite a lot of facets specific to the page at-rule. However, many at-rules don’t work on any browser, so we offer you the basic information concerning at-rules that help you to get the idea without wasting your time on reading a lot of stuff.  ]]></description>
			<content:encoded><![CDATA[<p>At-rules are instructions or directives to the CSS and can be used for a variety of purposes.</p>
<h3>Importing</h3>
<p>The import at-rule will bolt on another style sheet. Just add something like the following if you want to add the styles of another style sheet to your existing one:</p>
<p>@import url(addonstyles.css);<br />
As a rule, it is used in place of the link element to link a CSS file to an HTML page:</p>
<p>&lt;style type=&#8221;text/css&#8221; media=&#8221;all&#8221;&gt;@import url(monkey.css);&lt;/style&gt;</p>
<h3>Media Types</h3>
<p><img src="http://farm4.static.flickr.com/3201/4620599655_70381b8802_o.jpg" alt="At-Rules to remember" align="right" /></p>
<p>The media at-rule applies its contents to a specified media, such as print. For example:</p>
<blockquote><p>@media print {<br />
body {<br />
font-size: 10pt;<br />
font-family: times new roman, times, serif;<br />
}</p>
<p>#navigation {<br />
display: none;<br />
}<br />
}</p></blockquote>
<p>The media-type can be:</p>
<p><strong>all</strong> &#8211; for every media under, over, around and in the sun.</p>
<p><strong>aural</strong> &#8211; for speech synthesizers.</p>
<p><strong>handheld</strong> &#8211; for handheld devices.</p>
<p><strong>print</strong> &#8211; for printers.</p>
<p><strong>projection</strong> &#8211; for projectors.</p>
<p><strong>screen</strong> &#8211; for computer screens.</p>
<p>You can also use braille, embossed, tty or tv.</p>
<p>IE supports only the following media-types for now &#8211; all, screen and print.</p>
<h3>Character Sets</h3>
<p>The charset at-rule sets the character set encoding of an external stylesheet. It appears at the top of the stylesheet and looks something like</p>
<blockquote><p>@charset &#8220;ISO-8859-1&#8243;;</p></blockquote>
<h3>Font Faces</h3>
<p>The font-face at-rule is used for a detailed description of a font.</p>
<p>It requires a font-family descriptor, which the font can be referenced to. Use the src descriptor in order to embed a font. Other descriptors added to the font-face at-rule become conditions for that embedded font to be used.</p>
<p>Thus, adding a font-weight: bold style to the at-rule, the src of the font-family will only be applied to a selector with the font-family property if the font-weight property is also set to bold.<img src="http://farm4.static.flickr.com/3404/4621210634_442e57d9ff_o.jpg" alt="At-Rules for you" align="right" /></p>
<p>Here is the sample of a font-face at-rule you can use:</p>
<blockquote><p>@font-face {<br />
font-family: somerandomfontname;<br />
src: url(somefont.eot);<br />
font-weight: bold;<br />
}</p>
<p>p {<br />
font-family: somerandomfontname;<br />
font-weight: bold;<br />
}</p></blockquote>
<p>This will apply the somefont.eot font to paragraphs (it would not if the p selector was not set to font-weight: bold).</p>
<h3>Pages</h3>
<p>The page at-rule is for paged media and can apply styles to printed media. It defines a page block that extends on the box model. Thus, you can define the size and presentation of a single page.</p>
<p>You can use various specific properties such as size, which can be set to portrait, landscape, auto or a length. The marks property can also be used to define crop marks.</p>
<blockquote><p>@page {<br />
size: 15cm 20cm;<br />
margin: 3cm;<br />
marks: cross;<br />
}</p></blockquote>
<p>You can use three pseudo classes with the page at-rule, which would take the form of @page :pseudo-class { stuff }.</p>
<p>:first applies to the first page of the paged media.</p>
<p>:left and :right apply to left-facing and right-facing pages accordingly to specify a greater left margin on left-facing pages and a greater right margin on right-facing pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/at-rules-to-consider.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page Layout</title>
		<link>http://www.webdea.com/page-layout.html</link>
		<comments>http://www.webdea.com/page-layout.html#comments</comments>
		<pubDate>Tue, 22 Jun 2010 08:39:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[page layout]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=306</guid>
		<description><![CDATA[<a href="http://www.webdea.com/page-layout.html"><img src="http://farm5.static.flickr.com/4056/4620597043_004776a490_o.jpg" alt="Page Layout to know" align="left"></a>Here you can find some general information about position and floating. The main issue of this article is the larger chunks of a page. However, you can represent any web design with the right combination of positioning, floating, margins, padding and borders. Just look at each part of the page as individual chunk.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm4.static.flickr.com/3409/4620597293_224b30329c_o.jpg" alt="Page Layout to remember" align="right" />Here you can find some general information about position and floating. The main issue of this article is the larger chunks of a page. However, you can represent any web design with the right combination of positioning, floating, margins, padding and borders.</p>
<p>Layout with CSS is quite easy. It just differ from layout with tables and you should used to it. Look at each part of the page as individual chunk and place these chunks relatively or absolutely to another chunk.</p>
<h3>Positioning</h3>
<p>The position property defines whether an element is absolute, relative, static or fixed.</p>
<p><strong>static</strong> &#8211; the default value for elements. It renders the normal position of things, as they appear in the HTML.</p>
<p><strong>relative</strong> – similar to static, with the element that can be offset from its original position with the properties top, right, bottom and left.</p>
<p><strong>absolute</strong> &#8211; pulls an element out of the normal flow of the HTML. Thus, the absolute element can be placed anywhere on the page using top, right, bottom and left.</p>
<p><strong>fixed</strong> – much like absolute, but it will absolutely position an element in reference to the browser window as opposed to the web page. Thus, fixed elements will stay exactly where they are on the screen even when the page is scrolled. Note that it works in Mozilla and Opera, but it doesn’t work in IE.</p>
<h3>Absolute Positioning</h3>
<p>A traditional two-column layout with absolute positioning can be created in case you have something like the following HTML:</p>
<p>&lt;div id=&#8221;navigation&#8221;&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;this.html&#8221;&gt;This&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;that.html&#8221;&gt;That&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;theOther.html&#8221;&gt;The Other&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p>
<p>&lt;div id=&#8221;content&#8221;&gt;<br />
&lt;h1&gt;Ra ra banjo banjo&lt;/h1&gt;<br />
&lt;p&gt;Welcome to the Ra ra banjo banjo page. Ra ra banjo banjo. Ra ra banjo banjo. Ra ra banjo banjo.&lt;/p&gt;<br />
&lt;p&gt;(Ra ra banjo banjo)&lt;/p&gt;<br />
&lt;/div&gt;</p>
<p>And if you apply the following CSS:</p>
<blockquote><p>#navigation {<br />
position: absolute;<br />
top: 0;<br />
left: 0;<br />
width: 10em;<br />
}</p>
<p>#content {<br />
margin-left: 10em;<br />
}</p></blockquote>
<p>This sets the navigation bar to the left and the width to 10 em&#8217;s. With the absolutely positioned navigation, you need to set the left margin of the content area to be equal to the width of the navigation bar.</p>
<p>You also can arrange as many blocks as you like. For example, if a third column is necessary, you can add a &#8216;navigation2&#8242; chunk to the HTML and change the CSS to:<img src="http://farm4.static.flickr.com/3364/4620597521_fa43b5af41_o.jpg" alt="Page Layout to remember" align="right" /></p>
<blockquote><p>#navigation {<br />
position: absolute;<br />
top: 0;<br />
left: 0;<br />
width: 10em;<br />
}</p>
<p>#navigation2 {<br />
position: absolute;<br />
top: 0;<br />
right: 0;<br />
width: 10em;<br />
}</p>
<p>#content {<br />
margin: 0 10em; /* setting top and bottom margin to 0 and right and left margin to 10em */<br />
}</p></blockquote>
<p>However, there are drawbacks in absolutely positioned elements. For example, you can’t say for sure where they end. In other words, if you want to place anything below these elements (a footer, for example) you need to float your chunks.</p>
<h3>Floating</h3>
<p>Floating an element will shift it to the left or right of a line and surround content flowing around it.<br />
As a rule, floating is used to position smaller elements within a page, but it can also be used with bigger chunks (navigation columns).</p>
<blockquote><p>#navigation {<br />
float: left;<br />
width: 10em;<br />
}</p>
<p>#navigation2 {<br />
float: right;<br />
width: 10em;<br />
}</p>
<p>#content {<br />
margin: 0 10em;<br />
}</p></blockquote>
<p>Apply the clear property in case you don’t want the next element to wrap around the floating objects.</p>
<p><strong>clear: left</strong> &#8211; clear left floated elements</p>
<p><strong>clear: right</strong> &#8211; clear right floated elements</p>
<p><strong>clear: both</strong> &#8211; clear both left and right floated elements</p>
<p>Add a chunk of HTML with the id &#8216;footer&#8217; and then add the following CSS if you want a footer to your page:</p>
<blockquote><p>#footer {<br />
clear: both;<br />
}</p></blockquote>
<p>In such a way you will have a footer underneath all columns, regardless of the length of any of them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/page-layout.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Display Property</title>
		<link>http://www.webdea.com/display-property.html</link>
		<comments>http://www.webdea.com/display-property.html#comments</comments>
		<pubDate>Fri, 18 Jun 2010 13:32:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[display property]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[website design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=302</guid>
		<description><![CDATA[<a href="http://www.webdea.com/display-property.html"><img src="http://farm4.static.flickr.com/3335/4618092831_e42f358587_o.jpg" alt="Display Property to know" align="left"></a>There's nothing special about how most of HTML elements work. Thus, you can make up most pages from a few tags that can be styled as you wish. The browser's default visual representation of most HTML elements consist of varying font styles, margins, padding and display types.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm5.static.flickr.com/4041/4618093577_6b069cc4ba_o.jpg" alt="Display Property to remember" align="right">There&#8217;s nothing special about how most of HTML elements work. Thus, you can make up most pages from a few tags that can be styled as you wish. The browser&#8217;s default visual representation of most HTML elements consist of varying font styles, margins, padding and display types.<br />
The most fundamental types of display are inline, block-line and none and they can be manipulated with the display property and the values inline, block and none.</p>
<p><b>inline</b> &#8211; elements that are displayed inline follow the flow of a line. Strong, anchor and emphasis elements as a rule are displayed inline.</p>
<p><b>block</b> &#8211; adds a line break before and after the element. Header and paragraph elements are usually displayed block-line.</p>
<p><b>none</b> &#8211; doesn&#8217;t display the element.</p>
<p>The following enables the title and the tag-line to be displayed next to each other rather than above and below each other:</p>
<blockquote><p>h1 {<br />
	display: inline;<br />
	font-size: 2em;<br />
}</p>
<p>#header p {<br />
	display: inline;<br />
	font-size: 0.9em;<br />
	padding-left: 2em;<br />
}</p></blockquote>
<p>This code is used in the print-only styles to basically &#8216;turn-off&#8217; those elements, such as navigation:</p>
<blockquote><p>#navigation, #seeAlso, #comments, #standards {<br />
	display: none;<br />
}</p></blockquote>
<p>display: none and visibility: hidden vary in that display: none takes the element completely out of play, where as visibility: hidden keeps the element and its flow in place without visually representing its contents. </p>
<h3>Tables</h3>
<p><img src="http://farm4.static.flickr.com/3150/4618094073_91dc2d91de_o.jpg" alt="Display Property to remember" align="right"></p>
<p><b>table</b> &#8211; initial display and you can mimic the tr and td elements with the table-row and table-cell values respectively.</p>
<p>The display property goes further by offering table-column, table-row-group, table-column-group, table-header-group, table-footer-group and table-caption as values. The good thing about these values is that you can construct a table by columns instead of using the row-biased method usual for HTML.</p>
<h3>Other Display Types to Consider</h3>
<p><b>list-item</b> &#8211; displays as in the way that you would expect an li HTML element to. To work properly the elements displayed this way should be nested in a ul or ol element.</p>
<p><b>run-in</b> makes an element either in-line or block-line depending on the display of its parent. However, it doesn&#8217;t work on IE or Mozilla based browsers. </p>
<p><b>compact</b> makes the element inline or block-line depending on the context.</p>
<p><b>marker</b> is used only with the :before and :after pseudo elements to define the display of the value of the content property. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/display-property.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Declarations To Consider</title>
		<link>http://www.webdea.com/declarations-to-consider.html</link>
		<comments>http://www.webdea.com/declarations-to-consider.html#comments</comments>
		<pubDate>Tue, 15 Jun 2010 13:18:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[declarations]]></category>
		<category><![CDATA[doctype]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=290</guid>
		<description><![CDATA[<a href="http://www.webdea.com/declarations-to-consider.html"><img src="http://farm4.static.flickr.com/3303/4618088977_22ca253bc3_o.jpg" alt="Doctype Declarations to know" align="left"></a>Without specifying a doctype, your HTML is not valid and most browsers will switch to ‘quirks mode’. In other words, the browsers will think that you just don’t know what you are doing and decide what to do with your code on their own. Even perfect CSS is nothing without a document declaration as well as with a wrong document declaration. ]]></description>
			<content:encoded><![CDATA[<p>Here you can find out more about defining a valid XHTML document.</p>
<p>A document declaration should be at the very top of your web pages. Without specifying a doctype, your HTML is not valid and most browsers will switch to ‘quirks mode’. In other words, the browsers will think that you just don’t know that you are doing and decide what to do with your code on their own. Even perfect CSS is nothing without a document declaration as well as with a wrong document declaration.</p>
<p>So, the document declaration for <b>XHTML 1.0 Strict</b> looks like this:<img src="http://farm5.static.flickr.com/4020/4618702450_a2ea616316_o.jpg" alt="Doctype Declarations to remember" align="right" /></p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;</p>
<p>The following is the document declaration for <b>XHTML 1.1</b>:</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.1//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&#8221;&gt;</p>
<p>You can use <b>XHTML 1.0 Transitional</b> in case you prefer <b>HTML 4</b>:</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>If you use frames, the <b>XHTML 1.0 Frameset</b> document type declaration looks like this:</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Frameset//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd&#8221;&gt;</p>
<p>Note that the DOCTYPE tag should be written in upper case and adorned with an exclamation mark. It is the only tag that doesn&#8217;t need closing.</p>
<h3>Language Declarations</h3>
<p>To identify the primary language of a document have nothing to do with a valid HTML document. It is all about accessibility. Thus, you can indentify it through an HTTP header or with the xml:lang attribute inside the opening html tag. The value is an abbreviation, for example, &#8216;en&#8217; (English), &#8216;fr&#8217; (French) or &#8216;de&#8217; (German).</p>
<p>Here is the sample of a document with primarily English content:</p>
<p>&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221;&gt;</p>
<p>In case you use other languages than in your content, use use the xml:lang attribute in-line (such as &lt;span xml:lang=&#8221;fr&#8221;&gt;HTML règles&lt;/span&gt;).</p>
<h3>Content Types</h3>
<p><img src="http://farm4.static.flickr.com/3368/4618089737_1a55647b21_o.jpg" alt="Declarations to know" align="right" /></p>
<p>The following HTTP header specifies the media type and character set of an HTML document:</p>
<p>Content-Type: text/html; charset=UTF-8</p>
<p>Let’s describe this example in detail.</p>
<p>text/html &#8211; is the MIME type of the file, that lets the browser know what media type a file is and what to do with it. All files have some kind of MIME type. A CSS file is text/css, a JPEG image is image/jpeg and the type generally used for HTML is text/html.</p>
<p>UTF-8 &#8211; the second part of the HTTP header is the character set.</p>
<p>You can use an &#8216;HTTP-equivalent&#8217; meta tag in the HTML to set an HTTP header:</p>
<p>&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243; /&gt;</p>
<p>You also can use a server-side scripting language that with PHP may look like this:</p>
<p>&lt;? header(&#8220;Content-Type: text/html; charset= UTF-8&#8243;); ?&gt;</p>
<p>In case using a server-side scripting language is problematic for you, you can go straight to the server with an &#8216;.htaccess&#8217; file. Most servers (Apache compatible) can have a small text file with the file name &#8216;.htaccess&#8217; that is in the root directory. Using the following line in it, you can associate all files with the extension &#8216;.html&#8217; with a MIME type and character set:</p>
<p>AddType text/html;charset=UTF-8 html</p>
<p>Character sets include &#8216;ISO-8859-1&#8242; for many Western, Latin based languages, &#8216;SHIFT_JIS&#8217; for Japanese and &#8216;UTF-8&#8242;, a version of Unicode Transformation Format, which provides a wide range of unique characters used in most languages.</p>
<p>Of course, you can use a character set that will be recognized by the users of your site. For Latin-based language (including English) you can use ISO-8859-1, while UTF-8 can display most characters from most languages. What is more, the latter code is the safest one because it will work on most computers.</p>
<p>XHTML should be served by the MIME type application/xhtml+xml.</p>
<p>With most browsers having no clue what this is, you can use the MIME type text/html. According to W3C XHTML 1.0 may be served as text/html, but XHTML 1.1 should not.</p>
<p>Here is the sample of the script that placed at the top of every page of the site that uses PHP to serve XHTML 1.1 with an application/xhtml+xml MIME type to those browsers that understand the type (Mozilla) and XHTML1.0 Strict with the text/html type to other browsers (IE):</p>
<p>&lt;?<br />
if(stristr(\$_SERVER["HTTP_ACCEPT"],&#8221;application/xhtml+xml&#8221;)){<br />
header(&#8220;Content-Type: application/xhtml+xml; charset=UTF-8&#8243;);<br />
echo(&#8216;&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.1//EN&#8221; &#8220;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&#8221;&gt;&#8217;);<br />
} else {<br />
header(&#8220;Content-Type: text/html; charset=UTF-8&#8243;);<br />
echo (&#8216;&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;&#8217;);<br />
}<br />
?&gt;</p>
<p>If the browser accepts the application/xhtml+xml MIME, that MIME type is sent and the XHTML1.1 document type is written to the HTML. In case the MIME type isn&#8217;t recognized then the text/html MIME type is sent and the XHTML1.0 Strict document type is written in the HTML.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/declarations-to-consider.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessible Forms</title>
		<link>http://www.webdea.com/accessible-forms.html</link>
		<comments>http://www.webdea.com/accessible-forms.html#comments</comments>
		<pubDate>Fri, 11 Jun 2010 13:10:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[accessible forms]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=281</guid>
		<description><![CDATA[<a href="http://www.webdea.com/accessible-forms.html"><img src="http://farm5.static.flickr.com/4033/4618085111_08f31bfd1b_o.jpg" alt="accessible forms to know" align="left"></a>The accessibility for forms is important issue to consider for making site attractive for the users with disabilities, especially for those who are blind or visually impaired. Thus, it is better to add a number of elements to the form to improve the process of imputing information. 

]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm5.static.flickr.com/4041/4618699094_bdf86933b6_o.jpg" alt="Accessible Forms to remember" align="right" />The accessibility for forms is important issue to consider for making site attractive for the users with disabilities, especially for those who are blind or visually impaired. There can be no problem with navigating around a page with written content, but to determine the purpose of a specific form as well as interact with it can be a challenge. Thus, it is better to add a number of elements to the form to improve the process of imputing information.</p>
<h3>Labels</h3>
<p>Each form field should have its label. The label tag sorts this out, with the help of a for attribute that associates it to a form element:</p>
<p>&lt;form&gt;<br />
&lt;label for=&#8221;yourName&#8221;&gt;Your Name&lt;/label&gt; &lt;input type=&#8221;text&#8221; name=&#8221;yourName&#8221; id=&#8221;yourName&#8221; /&gt;<br />
&#8230;</p>
<p>Note: name and id are both required &#8211; the name for the form to handle that field and the id for the label to associate it to.</p>
<h3>Field Sets and Legends</h3>
<p>Using the fieldset tag you can group fields, for example address (line 1, line 2, county, country, postal code, country etc.) or name (first, last, middle, title etc.)</p>
<p>You can set a legend with the legend tag within the field set.</p>
<p>Note: Visual browsers represent field sets with a border surrounding them and legends breaking the left of the top border.</p>
<p>&lt;form action=&#8221;somescript.php&#8221; &gt;<br />
&lt;fieldset&gt;<br />
&lt;legend&gt;Name&lt;/legend&gt;<br />
&lt;p&gt;First name &lt;input type=&#8221;text&#8221; name=&#8221;firstName&#8221; /&gt;&lt;/p&gt;<br />
&lt;p&gt;Last name &lt;input type=&#8221;text&#8221; name=&#8221;lastName&#8221; /&gt;&lt;/p&gt;<br />
&lt;/fieldset&gt;<br />
&lt;fieldset&gt;<br />
&lt;legend&gt;Address&lt;/legend&gt;<br />
&lt;p&gt;Address &lt;textarea name=&#8221;address&#8221; &gt;&lt;/textarea&gt;&lt;/p&gt;<br />
&lt;p&gt;Postal code &lt;input type=&#8221;text&#8221; name=&#8221;postcode&#8221; /&gt;&lt;/p&gt;<br />
&lt;/fieldset&gt;<br />
&#8230;</p>
<h3>Option Groups</h3>
<p><img src="http://farm4.static.flickr.com/3403/4618086419_245b890089_o.jpg" alt="Accessible Forms to know" align="right" /></p>
<p>To group options in a select box you should use the optgroup tag. It requires a label attribute, the value of which is displayed as a non-selectable pseudo-heading preceding that group in the list of visual browsers.</p>
<p>&lt;select name=&#8221;country&#8221;&gt;<br />
&lt;optgroup label=&#8221;Africa&#8221;&gt;<br />
&lt;option value=&#8221;gam&#8221;&gt;Gambia&lt;/option&gt;<br />
&lt;option value=&#8221;mad&#8221;&gt;Madagascar&lt;/option&gt;<br />
&lt;option value=&#8221;nam&#8221;&gt;Namibia&lt;/option&gt;<br />
&lt;/optgroup&gt;<br />
&lt;optgroup label=&#8221;Europe&#8221;&gt;<br />
&lt;option value=&#8221;fra&#8221;&gt;France&lt;/option&gt;<br />
&lt;option value=&#8221;rus&#8221;&gt;Russia&lt;/option&gt;<br />
&lt;option value=&#8221;uk&#8221;&gt;UK&lt;/option&gt;<br />
&lt;/optgroup&gt;<br />
&lt;optgroup label=&#8221;North America&#8221;&gt;<br />
&lt;option value=&#8221;can&#8221;&gt;Canada&lt;/option&gt;<br />
&lt;option value=&#8221;mex&#8221;&gt;Mexico&lt;/option&gt;<br />
&lt;option value=&#8221;usa&#8221;&gt;USA&lt;/option&gt;<br />
&lt;/optgroup&gt;<br />
&lt;/select&gt;</p>
<h3>Navigating Fields</h3>
<p>To allow the users navigate from fields without the use of a pointing device you can use tab stops and access keys.<br />
The accesskey and tabindex attribute can be added to the individual form tags such as input and to legend tags.</p>
<p>&lt;input type=&#8221;text&#8221; name=&#8221;firstName&#8221; accesskey=&#8221;f&#8221; tabindex=&#8221;1&#8243; /&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/accessible-forms.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
