<?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>Top Web2 &#187; design</title>
	<atom:link href="http://topweb2.net/blog/category/design/feed" rel="self" type="application/rss+xml" />
	<link>http://topweb2.net/blog</link>
	<description>Javascript , CSS , XHTML  , Web 2 ,PHP  and more</description>
	<lastBuildDate>Tue, 11 May 2010 13:56:31 +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>css3 magic</title>
		<link>http://topweb2.net/blog/css3-magic</link>
		<comments>http://topweb2.net/blog/css3-magic#comments</comments>
		<pubDate>Wed, 23 Sep 2009 19:39:07 +0000</pubDate>
		<dc:creator>Net Code</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[web2]]></category>

		<guid isPermaLink="false">http://topweb2.net/blog/?p=76</guid>
		<description><![CDATA[we will talking today about the awesome css3 features the implemented by w3 supported with many browsers on top of them safai and google chrome and of cource firefox
1- background image size:-
with css2 it was impossible to define a size to background image  but with css3 you can simply define the background image size by [...]]]></description>
			<content:encoded><![CDATA[<p>we will talking today about the awesome css3 features the implemented by w3 supported with many browsers on top of them safai and google chrome and of cource firefox</p>
<p>1- background image size:-</p>
<p>with css2 it was impossible to define a size to background image  but with css3 you can simply define the background image size by a few css lines</p>
<p>you can add something like that if we want 100% background size in css3</p>
<pre>background:transparent url(img/simplebg.jpg) no-repeat;</pre>
<pre>background-size: 100%;</pre>
<p>simple , isn&#8217;l <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , but wait</p>
<p>you tried it and it  didn&#8217;t work with you ??</p>
<p>unforunately that will face you much when you dealing with css 3 issues becasue it doesnt implemented the same way in all browsers and doesn&#8217;t implemented yet in browsers such as internet explorer</p>
<p>so we will add some lines to work in the most browsers</p>
<p>-o-background-size for opera browser</p>
<p>-webkit-background-size for webkit engine browsers -&gt; safari and google chrome</p>
<p>unfortunately it didn&#8217;t work with firefox</p>
<p>so our code will be</p>
<pre>background:transparent url(img/simplebg.jpg) no-repeat;</pre>
<pre>background-size: 100%;
-o-background-size: 100%;
-webkit-background-size: 100%</pre>
<p>2- multi background :-</p>
<p>another awesome feature in css3 is multi background</p>
<p>you can add multi background to one container , you think its hard look at this</p>
<pre>background:url(img/twiter.png) no-repeat top right,url(img/simplebg.jpg) no-repeat top left;</pre>
<p>simple and easy  thats it</p>
<p>important note :-</p>
<p>the order is very important here because the first image will be above the next one etc..</p>
<p>we can merge the previous features together like that</p>
<pre>background:url(img/twiter.png) no-repeat top right,url(img/simplebg.jpg) no-repeat top left;</pre>
<pre>-webkit-background-size:auto  auto, 100%;</pre>
<p>3 - background-border :-</p>
<p>yes you can now define a background to be a border to a container</p>
<p>see the  next image</p>
<p><img class="alignnone" title="css3 border image" src="http://www.w3.org/TR/2008/WD-css3-background-20080910/slice" alt="" width="388" height="304" /></p>
<p>you can define the border cordinations like that</p>
<pre>border-image:url("img/simpleborder.png") 25% 30% 12% 20%</pre>
<p>we can use some reserved words like (stretch,repeat,round)</p>
<p>and we will add some extentions to work with most common browsers</p>
<pre>-webkit-border-image:url("img/simpleborder.png") 25% 30% 12% 20%;</pre>
<pre>-moz-border-image: url("img/simpleborder.png") 25% 30% 12% 20%;</pre>
<pre>-o-border-image: url("img/simpleborder.png") 25% 30% 12% 20%;</pre>
<pre>-khtml-border-image: url("img/simpleborder.png") 25% 30% 12% 20%;</pre>
<p>4-  transparent colors:-</p>
<p>we was doing transparent colors by making the global container transparent via obacity features  but now you can simply make the  background colors only transparent by rgba</p>
<pre>rgba(0,0,0,0.5)</pre>
<p>the first 3 values is the rgb  values and the last value is the obacity value</p>
<p>note: there is a code from webdesignerdepot <a href="http://www.webdesignerdepot.com/2009/08/5-css3-design-enhancements-that-you-can-use-today/" target="_blank">http://www.webdesignerdepot.com/2009/08/5-css3-design-enhancements-that-you-can-use-today</p>
]]></content:encoded>
			<wfw:commentRss>http://topweb2.net/blog/css3-magic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css is not only for screen its for print too</title>
		<link>http://topweb2.net/blog/css-print-stylesheet</link>
		<comments>http://topweb2.net/blog/css-print-stylesheet#comments</comments>
		<pubDate>Wed, 08 Apr 2009 16:33:40 +0000</pubDate>
		<dc:creator>Net Code</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[web2]]></category>

		<guid isPermaLink="false">http://topweb2.net/?p=30</guid>
		<description><![CDATA[CSS Print Stylesheet:-
many of us working on css to style web page for the visitors
you may added this line before in your page

&#60;link rel="stylesheet" type="text/css" href="cssfile.css" /&#62;

ok the css file now will affect the screen but what if we want the css affect the print
yes we want the visitor print the page but without the [...]]]></description>
			<content:encoded><![CDATA[<h2>CSS Print Stylesheet:-</h2>
<p>many of us working on css to style web page for the visitors<br />
you may added this line before in your page<br />
<code><br />
&lt;link rel="stylesheet" type="text/css" href="cssfile.css" /&gt;<br />
</code><br />
ok the css file now will affect the screen but what if we want the css affect the print</p>
<p>yes we want the visitor print the page but without the menu , advertisement .. etc</p>
<p>ok we will now create a  css file and we will name it print.css</p>
<p><span id="more-30"></span></p>
<p>now add this line to your page</p>
<p><code>&lt;link rel="stylesheet" type="text/css" href="print.css" media="print" /&gt;</code></p>
<p>do you notice someting ??<br />
yes , media=&#8221;print&#8221; this tells the browser to use this css file when print</p>
<h3>concepts of print style sheet:-</h3>
<p>1- adjust body margin</p>
<p>adjust the body margin so printed page margin will be as you want not the browser default<br />
you can use this for example<br />
<code><br />
body{margin:0;</p>
<p>border:1px solid #000000;</p>
<p>}</p>
<p>2- use one measure for your fonts and line height and related things:</p>
<p></code></p>
<p>you must use one measure for font size and related things like pt , em so it can display good on your printer</p>
<p> <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>3- page break</p>
<p>the biggest problem will face any developer in print issues is page break , the browsers differ in page break , many times before i used print css if web page is longer than one page it cause pagebreak but if there is image in the middle of that break it will cut and there is a disaster</p>
<p>so you can adjust the page break by<br />
<code><br />
page-break-beforepage-break-after</p>
<p>it tells the browser where to break the page before or after element</p>
<p></code></p>
<p>for example if you want page to break after the div named &#8220;break-div&#8221; you may type this line in print.css<br />
<code><br />
#break-div{page-break-after:always;</p>
<p>}</p>
<p>4- other tips:</p>
<p></code></p>
<p>- don&#8217;t ever use background color or background image in your print stylesheet the visitor will hate you <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>- try to be very simple the visitor when he wants to print your page he wants to keep the information in your page not the design</p>
<p>- just use the print css <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  its better and more professional</p>
<p>enjoy and see you in another post <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://topweb2.net/blog/css-print-stylesheet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIMP VS PhotoShop</title>
		<link>http://topweb2.net/blog/gimp-vs-photoshop</link>
		<comments>http://topweb2.net/blog/gimp-vs-photoshop#comments</comments>
		<pubDate>Mon, 06 Apr 2009 15:16:16 +0000</pubDate>
		<dc:creator>Net Code</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[gimp]]></category>

		<guid isPermaLink="false">http://topweb2.net/?p=22</guid>
		<description><![CDATA[GIMP
may be you saw gimp before or may be better than that you may be worked on it and may be you working on it now , but unfortunately may be you never heard about it , in all cases this article will be useful for you
ok lets start

&#8212; GIMP is not totally different from [...]]]></description>
			<content:encoded><![CDATA[<h2>GIMP</h2>
<p>may be you saw gimp before or may be better than that you may be worked on it and may be you working on it now , but unfortunately may be you never heard about it , in all cases this article will be useful for you</p>
<p>ok lets start<br />
<span id="more-22"></span></p>
<h3>&#8212; GIMP is not totally different from PhotoShop :-</h3>
<p>if you are a photoshop designer dont worry about your previous exerience of photoshop gimp also has similar functions as photoshop you will not feel strange when you open gimp</p>
<p>take alook</p>
<div id="attachment_24" class="wp-caption alignnone" style="width: 490px"><img class="size-full wp-image-24" title="gimp screenshot" src="http://topweb2.net/wp-content/uploads/2009/04/gimp2.jpg" alt="gimp first look" width="480" height="192" /><p class="wp-caption-text">gimp first look</p></div>
<p>as you can see there is main three windows in gimp<br />
toolbox:</p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 148px"><img class="size-full wp-image-25" title="toolbox" src="http://topweb2.net/wp-content/uploads/2009/04/toolbox.jpg" alt="gimp tool box" width="138" height="614" /><p class="wp-caption-text">gimp tool box</p></div>
<p>there is  some tools is similat to photoshop like select tools &amp; also lisso and magic tools &#8230;. etc</p>
<p>the gimp tool box is so simple except some advanced tools may be i will go to discuss further in next chapters ( don&#8217;t worry <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>main work area:</p>
<p>its your work area</p>
<div id="attachment_26" class="wp-caption alignnone" style="width: 84px"><img class="size-medium wp-image-26" title="layerspanel" src="http://topweb2.net/wp-content/uploads/2009/04/layerspanel-74x300.jpg" alt="gimp layer , options and navigation panel" width="74" height="300" /><p class="wp-caption-text">gimp layer , options and navigation panel</p></div>
<p>and finall layers , options and navigation panels<br />
as you can see in layers panel  there is opacity and mode level for every layer<br />
and below the layer panel there is navigation panel you can zoom in and zoom out the work and select any area in your design so you can control your large size design in a click</p>
<h3>&#8212; PhotoShop plugins, brushes and filters in gimp ?!!!!  :-</h3>
<p>yes its totally true , you can move your plugins and filters to your gimp very simple so you can use your familiar plugins , brushes and filters<br />
using the awesome gimp plugin <strong>PSPI</strong><br />
first down load the plugin from here <a title="Gimp PSPI" href="http://www.gimp.org/~tml/gimp/win32/pspi.html" target="_blank">PSPI</a><br />
move the entire content of PSPI plugin to plugin folder in your gimp<br />
then restart gimp and in the bottom you will see<br />
Photopshop Filters Plug-In Settings<br />
select it and you will see a dialog just type your photoshop plugin location<br />
enjoy <img src='http://topweb2.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://topweb2.net/blog/gimp-vs-photoshop/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
