<?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>Dreamweaver, Flash, Photoshop, CSS, Fireworks and HTML Tips &#38; Tricks</title>
	<atom:link href="http://livetrainingsession.com/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://livetrainingsession.com/tips</link>
	<description>Get Quick Tips &#38; Tricks on Web Applications Development Tools</description>
	<lastBuildDate>Tue, 01 May 2012 13:00:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Building A Navigation Menu With HTML5 and CSS Part 3</title>
		<link>http://livetrainingsession.com/tips/2012/05/building-a-navigation-menu-with-html5-and-css-part-3/</link>
		<comments>http://livetrainingsession.com/tips/2012/05/building-a-navigation-menu-with-html5-and-css-part-3/#comments</comments>
		<pubDate>Tue, 01 May 2012 13:00:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS Tips and Tricks]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[floating]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[line-height]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[submenu]]></category>
		<category><![CDATA[vertical]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://livetrainingsession.com/tips/?p=497</guid>
		<description><![CDATA[We are now going to build a horizontal navigation menu with just HTML and CSS. In Part 1 we wrote the HTML snippet that we are using in both a vertical sidebar navigation and the horizontal bar navigation. In Part 2 we wrote the CSS styles needed for the vertical navigation. #topnav{ width:100%; height:30px; background:#e5e5e5; position:absolute; top:100px; [...]]]></description>
			<content:encoded><![CDATA[<p>We are now going to build a horizontal navigation menu with just HTML and CSS. In<a href="http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html-5-and-css-part-1/"> Part 1</a> we wrote the HTML snippet that we are using in both a <a href="http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html5-and-css-part-2/">vertical sidebar navigation</a> and the horizontal bar navigation. In <a href="http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html5-and-css-part-2/">Part 2</a> we wrote the CSS styles needed for the vertical navigation.</p>
<p><span id="more-497"></span></p>
<p>#topnav{<br />
width:100%;<br />
height:30px;<br />
background:#e5e5e5;<br />
position:absolute;<br />
top:100px;<br />
left:0;<br />
margin:0;<br />
padding:0;<br />
border:none;<br />
}</p>
<p>/* We keep the style of ul the same for both vertical and horizontal navigation layouts  */<br />
#topnav ul{<br />
width:100%;<br />
list-style:none;<br />
margin:0;<br />
padding:0;<br />
}</p>
<p>/*<br />
We add a 1px margin at the right hand-side to create a vertical separator by having the background color applied to #topnav (#E5E5E5) bleed through.<br />
*/<br />
#topnav ul li{<br />
position:relative;<br />
margin:0 1px 0 0;<br />
padding:0;<br />
float:left;<br />
clear:none;<br />
display:inline;<br />
}</p>
<p>/*<br />
<strong>#topnav ul li a:visited</strong> selector help keep the navigation links style remain the same whether the page is visited or not. Otherwise your link text may turn purple. That behavior can be user-friendly for links in a text section but will look just awful.<br />
*/<br />
#topnav ul li a, #topnav ul li a:visited {<br />
display:block;<br />
height:30px; /* vertically centers the hyperlink text  */<br />
text-align:center; /* better than adding padding to left and right sides */<br />
line-height:28px; /* vertical centering instead using padding to top and bottom sides. You can adjust this number as needed depending on the font used. */<br />
color:#000;<br />
background:#efefef;  /*  use a background color or background image to style these buttons  */<br />
text-decoration:none;  /* removes the default underline  */<br />
}</p>
<p>#topnav ul li ul{<br />
width:150px; /* default width for the sub-menus */<br />
height:auto;<br />
overflow:hidden;<br />
border:1px solid #ccc;<br />
position:absolute;<br />
top:30px;<br />
left:0;<br />
display:none; /* hide the sub-menus by default  */<br />
z-index:1000; /* or any number to ensure the sub-menus will appear on top of every other element in the page. */<br />
}</p>
<p>/* shows the sub-menu when the mouse is over the parent<strong> li</strong> element (i.e. li:hover) .  This selector will inherit all the styles applied to <strong>#topnav ul li ul</strong>. So we only need to override the display property to show the sub-menu during the hover state of the parent &lt;li&gt; container */<br />
#topnav ul li:hover ul{<br />
display:block;<br />
}</p>
<p>/*<br />
List items in a sub-menu should be vertically aligned. So, the floating will be set to none so these block-level elements can revert to their default alignment: stacked vertically.<br />
*/<br />
#topnav ul li ul li{<br />
float:none;<br />
margin:0;<br />
padding:0;<br />
}</p>
<p>/* Sub-menu links   */<br />
#topnav ul li ul li a, #topnav ul li ul li a:visited {<br />
display:block;<br />
height:30px; /* redundant but just in case */<br />
margin:0;<br />
padding:0;<br />
text-align:left; /* aligns sub-menu anchor text to the left */<br />
text-indent:5px; /*adds a 5px spacing between anchor text and sub-menu left border */<br />
text-decoration:none; /* redundant but just in case */<br />
line-height:28px; /* redundant but just in case */<br />
}</p>
<p>/* Because top level links such as home, services, &#8230; do not have the same number of text characters, it&#8217;s always a good idea to specify the width of each item proportionally to the amount of horizontal space needed.     */<br />
#topnav ul li#home{<br />
width:80px;<br />
}</p>
<p>#topnav ul li#services{<br />
width:120px;<br />
}</p>
<p>#topnav ul li#products{<br />
width:120px;<br />
}</p>
<p>#topnav ul li#contact{<br />
width:80px;<br />
}</p>
<p>#topnav ul li#testimonials{<br />
width:150px;<br />
}</p>
<p>#topnav ul li#about{<br />
width:80px;<br />
}</p>
<p>/* It&#8217;s also wise the specify the width for each sub-menu. It&#8217;s just a matter of general look-and-feel. */<br />
#topnav ul li#services ul{<br />
width:180px;<br />
}</p>
<p>#topnav ul li#products ul{<br />
width:200px;<br />
}</p>
<p>The main differences between the vertical and horizontal navigation layouts are:<br />
- the alignment of the top-level align items using the float property<br />
- the positioning of the sub-menu both vertically and horizontally.<br />
- the text alignment of the top-level links (centered) and the sub-links (left aligned)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2012/05/building-a-navigation-menu-with-html5-and-css-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building A Navigation Menu With HTML5 and CSS Part 2</title>
		<link>http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html5-and-css-part-2/</link>
		<comments>http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html5-and-css-part-2/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 13:00:07 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS Tips and Tricks]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[vertical]]></category>

		<guid isPermaLink="false">http://livetrainingsession.com/tips/?p=485</guid>
		<description><![CDATA[In the Building A Navigation Menu With HTML5 and CSS Part 1 post we wrote a sample HTML of your web site main navigation menu. In this article we will now write the CSS styles needed to both position and address the overall look-and-feel of a vertical navigation typically displayed in a sidebar. Assuming, your sidebar is [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html-5-and-css-part-1/">Building A Navigation Menu With HTML5 and CSS Part 1</a> post we wrote a sample HTML of your web site main navigation menu. In this article we will now write the CSS styles needed to both position and address the overall look-and-feel of a vertical navigation typically displayed in a sidebar. Assuming, your sidebar is placed on the left of your web pages, we&#8217;ll accordingly assign the CSS ID #leftnav to the HTML element wrapping that navigation (<strong>&lt;nav id=&#8221;leftnav&#8221;&gt;&#8230;.&lt;/nav&gt;</strong>). Now comes the CSS style sheet.</p>
<p><span id="more-485"></span></p>
<p><span style="color: #808080;"><em>#leftnav {</em></span><br />
<span style="color: #808080;"><em> width:200px;</em></span><br />
<span style="color: #808080;"><em> height:auto;</em></span><br />
<span style="color: #808080;"><em> overflow:hidden;</em></span><br />
<span style="color: #808080;"><em> margin:0;</em></span><br />
<span style="color: #808080;"><em> padding:0;</em></span><br />
<span style="color: #808080;"><em> background:#efefef; /*light grey background color */</em></span><br />
<span style="color: #808080;"><em> border:solid 2px #ccc; /* 2 pixels thick grey border  */</em></span><br />
<span style="color: #808080;"><em> border-radius:10px; /* round corners with a 10 pixels radius */</em></span><br />
<span style="color: #808080;"><em> -moz-border-radius:10px; /* mozilla Firefox web browsers */</em></span><br />
<span style="color: #808080;"><em> -webkit-border-radius:10px; /* Webkit Engine Bases Wed browsers: Google Chrome &amp; Apple Safari */</em></span><br />
<span style="color: #808080;"><em> -o-border-radius:10px; /* Opera web browser */</em></span><br />
<span style="color: #808080;"><em> -ms-border-radius:10px;</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul{</em></span><br />
<span style="color: #808080;"><em> width:100%; /* matches the width of its parent container #leftnav */</em></span><br />
<span style="color: #808080;"><em> list-style:none; /* prevent the display of bullets  decoration */</em></span><br />
<span style="color: #808080;"><em> margin:10px 0; /* makes sure the first and last &lt;li&gt;..&lt;/li&gt; elements are 10px away from the top and bottom edges */</em></span><br />
<span style="color: #808080;"><em> padding:0;</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li{</em></span><br />
<span style="color: #808080;"><em> float:none; /* just in case */</em></span><br />
<span style="color: #808080;"><em> margin:1px 0 0; /*   */</em></span><br />
<span style="color: #808080;"><em> padding:0;</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li a{</em></span><br />
<span style="color: #808080;"><em> display:block; /* Remove this rule and see what happens to help you understand its meaning    */</em></span><br />
<span style="color: #808080;"><em> height:30px; /* defines the height of each link */</em></span><br />
<span style="color: #808080;"><em> line-height:28px; /* use to vertically center the link text */</em></span><br />
<span style="color: #808080;"><em> text-align:left /* flushes the link text to left */</em></span><br />
<span style="color: #808080;"><em> color:#000; /* text color */</em></span><br />
<span style="color: #808080;"><em> text-decoration:none; /* prevent the underline */</em></span><br />
<span style="color: #808080;"><em> margin:0;</em></span><br />
<span style="color: #808080;"><em> padding:0;</em></span><br />
<span style="color: #808080;"><em> background:#e5e5e5; /* you can define a background color/image */</em></span><br />
<span style="color: #808080;"><em> }</em></span><br />
<span style="color: #808080;"><em> #leftnav ul li a:hover{</em></span><br />
<span style="color: #808080;"><em> /* add rules to create a rollover effects: background color/image, text color, &#8230; */</em></span><br />
<span style="color: #808080;"><em> background:#fff; /* changes the background color to white as a rollover effect */</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li a:visited{</em></span><br />
<span style="color: #808080;"><em> color:#000; /* prevent text link to change color when the target page is already visited */</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li ul{</em></span><br />
<span style="color: #808080;"><em> width:150px; /* default width of sub-menus */</em></span><br />
<span style="color: #808080;"><em> height:auto;</em></span><br />
<span style="color: #808080;"><em> overflow:hidden;</em></span><br />
<span style="color: #808080;"><em> border:solid 1px #ccc;</em></span><br />
<span style="color: #808080;"><em> position:absolute;</em></span><br />
<span style="color: #808080;"><em> top:0; /* you can add a few more pixels to nudge it down   */</em></span><br />
<span style="color: #808080;"><em> right:0; /* use left:0; instead for a right sidebar */</em></span><br />
<span style="color: #808080;"><em> z-index:1000;</em></span><br />
<span style="color: #808080;"><em> display:none; /* sub-menu will be hidden by default */</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li ul li{</em></span><br />
<span style="color: #808080;"><em> width:100%;</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li ul li a{</em></span><br />
<span style="color: #808080;"><em> /* not really needed unless the sub-links have CSS different from the top level navigation links */</em></span></p>
<p><span style="color: #808080;"><em>}</em></span></p>
<p><span style="color: #808080;"><em>#leftnav ul li:hover ul{</em></span><br />
<span style="color: #808080;"><em> display:block; /*reveal the sub-menu when the mouse is over the main list/link item */</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p>The<em> &#8221;list-style:none;&#8221;</em> CSS rule defined earlier in the <strong>#leftnav ul</strong> selector also applies to sub-menus . Although the sub-menu selector <strong>#leftnav ul li ul</strong> is more specific, all the rules defined in the <strong>#leftnav ul</strong> selector apply to it unless overridden. In the same token, all the rules defines in the <strong>#leftnav ul li</strong> also applied <strong>#leftnav ul li ul li</strong> because the latter is just a special case. The same rules apply to <strong>#leftnav ul li a</strong> and <strong>#leftnav ul li ul li a </strong>selectors.<br />
Adding CSS IDs to the top-level list item (e.g. <strong>&lt;li id=&#8221;home&#8221;&gt;&#8230;&lt;/li&gt;</strong>) allows us in this case to target a specific sub-menu and also choose which main link should be highlighted to give your web site visitors an indication about which section of your web site the current page is part of. So let first use that specificity to target each sub-menu in our navigation bar.</p>
<p>Although we defined a default width of 150px in the sub-menu selector # leftnav ul li ul, because some links in the sub-menu have more anchor text than other in most case you would have different widths for those sub-menus. You can also define a default width that is enough to accommodate the longest anchor text in your sub-menus.</p>
<p>I personally call that choice a lack of aesthetic sense. It doesn&#8217;t hurt to write a few extra lines of CSS to get visually pleasing sub-menus. So here we go:</p>
<p><span style="color: #808080;"><em>#leftnav ul li#services li ul{</em></span><br />
<span style="color: #808080;"><em> width:180px; /* adjust this number as needed */</em></span><br />
<span style="color: #808080;"><em> }</em></span><br />
<span style="color: #808080;"><em> #leftnav ul li#products li ul{</em></span><br />
<span style="color: #808080;"><em> width:200px; /* adjust as needed */</em></span><br />
<span style="color: #808080;"><em> }</em></span></p>
<p>From experience also you would set a sub-menu width to allow 30 to 40px breathing room between  the anchor text and the right edge of the sub-menu item. In fact what I just called a breathing room or more of a safety zone.</p>
<p>You see some web browsers such as Safari tend to make your text bolder (anti-alias) then what you would have in say Firefox. When that happens, your text occupy more horizontal space and will wrap the anchor text if there isn&#8217;t enough room to display it in a single line.</p>
<p>Also keep in mind, if you chose a font that is not available to the end-user&#8217;s web browser it will be substituted by another font close to what you have defined. That also will affect the width needed to accommodate your sub-menus&#8217; anchor text.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html5-and-css-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Merge Multiple Style Sheets with CSS Media Queries</title>
		<link>http://livetrainingsession.com/tips/2012/04/how-to-merge-multiple-style-sheets-with-css-media-queries/</link>
		<comments>http://livetrainingsession.com/tips/2012/04/how-to-merge-multiple-style-sheets-with-css-media-queries/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 13:00:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS Tips and Tricks]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[queries]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://livetrainingsession.com/tips/?p=444</guid>
		<description><![CDATA[This article is an attempt to share some insights pertaining to web design for multiple devices: desktops, laptops, tablets, smartphones and other internet enabled portable gadgets. Thanks to CSS media queries, you can now serve the same content to all those platforms and define a style sheet for each specific range of screen sizes. To provide each web [...]]]></description>
			<content:encoded><![CDATA[<p>This article is an attempt to share some insights pertaining to web design for multiple devices: desktops, laptops, tablets, smartphones and other internet enabled portable gadgets. Thanks to CSS media queries, <em>you can now serve</em><em> the same content</em><em> to all those platforms</em> and define a <em>style sheet</em> for each specific range of screen sizes. To provide each web site visitor a web experience tailored to her device, web developers have to create multiple CSS stylesheets &#8212; at least 3 &#8212; in order to cover the display spectrum.</p>
<p><span id="more-444"></span></p>
<p>Let&#8217;s assume you use the following CSS media queries:<br />
<span style="color: #808080;"><em>&lt;!&#8211;  Smartphones in portrait mode and tablets in portrait mode  &#8211;&gt;</em></span><br />
<span style="color: #808080;"> <em> &lt;link rel=&#8221;stylesheet&#8221; media=&#8221;screen and (min-width: 128px) and (max-width: 640px)&#8221; href=&#8221;phone.css&#8221;&gt;</em></span></p>
<p><span style="color: #808080;"><em>&lt;!&#8211;  Smartphones in landscape mode and tablets in portrait mode  &#8211;&gt;</em></span><br />
<span style="color: #808080;"> <em> &lt;link rel=&#8221;stylesheet&#8221; media=&#8221;screen and (min-width: 641px) and (max-width: 800px)&#8221; href=&#8221;portait.css&#8221;&gt;</em></span></p>
<p><span style="color: #808080;"><em>&lt;!&#8211;  tablets in portrait mode and tablets in portrait mode  &#8211;&gt;</em></span><br />
<span style="color: #808080;"> <em> &lt;link rel=&#8221;stylesheet&#8221; media=&#8221;screen and (min-width: 801px) and (max-width: 960px)&#8221; href=&#8221;tablet.css&#8221;&gt;</em></span></p>
<p><span style="color: #808080;"><em>&lt;!&#8211; larger tablets in landscape mode, laptop and desktops  &#8211;&gt;</em></span><br />
<span style="color: #808080;"> <em> &lt;link rel=&#8221;stylesheet&#8221; media=&#8221;screen and (min-width: 961px)&#8221; href=&#8221;full.css&#8221;&gt;</em></span></p>
<p>Of course your choice of dimensions range depends on your web site design. Therefore the pixels (px) values above are just for illustration purpose.<br />
The objective of media  queries is to use a specific stylesheet according to the dimensions the web browser&#8217;s viewport in other words  the screen width your web pages will be displayed on.</p>
<p>The advantage of using separate stylesheet is that the web browser will only load the css file(s) matching the conditions defined in the media query (min-width, max-width).<br />
It also make your CSS style management more easier.</p>
<p>However if your stylesheets are small in size you could combine multiple files into one stylesheet and use media queries to get the same results as before.<br />
For instance, given the fact that the user experience and features offered by the latest smartphones are quite similar to the one found in tablets, the stylesheets targeting those two platforms will be quite similar with just a few minor differences in CSS rules related to each device&#8217;s width.</p>
<p>You can create a external stylesheet named mobile.css combining the phone.css, portrait.css and tablet.css<br />
<span style="color: #808080;"><em>/* CSS styles common to the combined stylesheets can be pasted in the section immediately below */</em></span><br />
<span style="color: #808080;"> <em> &#8230;</em></span></p>
<p><span style="color: #808080;"><em>@media all and (min-width: 128px) and (max-width: 640px) {</em></span><br />
<span style="color: #808080;"> <em> /* CSS styles unique to phone.css will be pasted below */</em></span><br />
<span style="color: #808080;"> <em> &#8230;</em></span><br />
<span style="color: #808080;"> <em> }</em></span><br />
<span style="color: #808080;"> <em> @media screen and (min-width: 641px) and (max-width: 800px) {</em></span><br />
<span style="color: #808080;"> <em> /* CSS styles unique to portrait.css will be pasted below */</em></span><br />
<span style="color: #808080;"> <em> &#8230;</em></span><br />
<span style="color: #808080;"> <em> }</em></span></p>
<p><span style="color: #808080;"><em>@media screen and (min-width: 801px) and (max-width: 960px) {</em></span><br />
<span style="color: #808080;"> <em> /* CSS styles unique to table.css will be pasted below */</em></span><br />
<span style="color: #808080;"> <em> &#8230;</em></span><br />
<span style="color: #808080;"> <em> }</em></span></p>
<p>You end up with the following markup in the head section of your HTML documents:<br />
<span style="color: #808080;"><em>&lt;!&#8211;  mobile devices: smartphones, tablets, e-readers  &#8211;&gt;</em></span><br />
<span style="color: #808080;"> <em> &lt;link rel=&#8221;stylesheet&#8221; media=&#8221;screen and (min-width: 128px) and (max-width: 960px)&#8221; href=&#8221;mobile.css&#8221;&gt;</em></span></p>
<p><span style="color: #808080;"><em>&lt;!&#8211; larger tablets in landscape mode, laptop and desktops  &#8211;&gt;</em></span><br />
<span style="color: #808080;"> <em> &lt;link rel=&#8221;stylesheet&#8221; media=&#8221;screen and (min-width: 961px)&#8221; href=&#8221;full.css&#8221;&gt;</em></span></p>
<p>In the end your web site will take a smaller bite off the end-user&#8217;s data plan. The optimization above also makes your site management easier.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2012/04/how-to-merge-multiple-style-sheets-with-css-media-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building A Navigation Menu With HTML5 and CSS Part 1</title>
		<link>http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html-5-and-css-part-1/</link>
		<comments>http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html-5-and-css-part-1/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 13:00:38 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS Tips and Tricks]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[submenu]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://livetrainingsession.com/tips/?p=454</guid>
		<description><![CDATA[The navigation is one of the most import element of any web site. It can be positioned horizontally below your web site main header then duplicated on the page footer or  maybe you decided to have a  sidebar (left or right) to display you site navigation instead. The same HTML can be used in either [...]]]></description>
			<content:encoded><![CDATA[<p>The navigation is one of the most import element of any web site. It can be positioned horizontally below your web site main header then duplicated on the page footer or  maybe you decided to have a  sidebar (left or right) to display you site navigation instead. The same HTML can be used in either case and CSS will take care of your specific choice of orientation. Here is the HTML of a typical navigation bar using HTML5 semantics:</p>
<p><span id="more-454"></span></p>
<p>&lt;nav&gt;<br />
&lt;ul&gt;<br />
&lt;li id=&#8221;home&#8221;&gt;&lt;a href=&#8221;http://your-domain-name&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li id=&#8221;services&#8221;&gt;&lt;a href=&#8221;/services.html&#8221;&gt;Services&lt;/a&gt;<br />
<span style="color: #808080;"><em>&lt;ul&gt;</em></span><br />
<span style="color: #808080;"><em> &lt;li&gt;&lt;a href=&#8221;/services/hardware.html&#8221;&gt;Hardware&lt;/a&gt;&lt;/li&gt;</em></span><br />
<span style="color: #808080;"><em> &lt;li&gt;&lt;a href=/services/software.html&#8221;&gt;Software Configuration&lt;/a&gt;&lt;li&gt;</em></span><br />
<span style="color: #808080;"><em> &lt;li&gt;&lt;a href=&#8221;/services/network.html&#8221;&gt;LAN Setup&lt;/a&gt;&lt;/li&gt;</em></span><br />
<span style="color: #808080;"><em> &lt;/ul&gt;<br />
</em></span>&lt;/li&gt;<br />
&lt;li id=&#8221;products&#8221;&gt;&lt;a href=&#8221;/products.html&#8221;&gt;Products&lt;a/&gt;<br />
<em style="color: #808080;">&lt;ul&gt;<br />
</em><em style="color: #808080;">&lt;li&gt;&lt;a href=&#8221;/products/lcds.html&#8221;&gt;LCD Monitors&lt;/a&gt;&lt;li&gt;<br />
</em><em style="color: #808080;">&lt;li&gt;&lt;a href=&#8221;/products/connectors.html&#8221;&gt;Connectors&lt;/a&gt;&lt;/li&gt;<br />
</em><em style="color: #808080;">&lt;li&gt;&lt;a href=&#8221;/products/rams.html&#8221;&gt;RAMs&lt;/a&gt;&lt;/li&gt;<br />
</em><em style="color: #808080;">&lt;/ul&gt;<br />
</em>&lt;/li&gt;<br />
&lt;li id=&#8221;contact&#8221;&gt;&lt;a href=&#8221;/contact.html&#8221;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;<br />
&lt;li id=&#8221;testimonials&#8221;&gt;&lt;a href=&#8221;/testimonials.html&#8221;&gt;Testimonials&lt;/a&gt;&lt;li&gt;<br />
&lt;li id=&#8221;about&#8221;&gt;&lt;a href=&#8221;/about.html&#8221;&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/nav&gt;</p>
<p>1)  Notice how the &lt;nav&gt;&#8230;&lt;/nav&gt; wraps the entire navigation. It can not only serve as a navigation container but can be used to both position your navigation in your web page but also contain visual elements such as a background-color and background-image css styles. Because you might have more than one &lt;nav&gt;&#8230;&lt;/nav&gt; element in a given web page, you can assign each one a CSS ID that will allow you to write a CSS style targeting that specific element.</p>
<p>In this instance, we could have &lt;nav id=&#8221;topnav&#8221;&gt;&#8230;.&lt;/nav&gt; for a horizontal navigation placed on top of your web pages, above or below your main header/banner. For a vertical navigation, having &lt;nav id=&#8221;leftnav&#8221;&gt;&#8230;&lt;/nav&gt; or &lt;nav id=&#8221;rightnav&#8221;&gt;&#8230;&lt;/nav&gt; makes more sense if your your main navigation is placed in the left/right sidebar.</p>
<p>2) Notice how the top-level &lt;li&gt;..&lt;/li&gt;HTML tags are each assigned  a unique CSS ID (e.g. &lt;li id=&#8221;home&#8221;&gt;&#8230;&lt;/li&gt;). Those CSS IDs allow you to target each main navigation section and define properties such as the width, single out its sub-menu and also pick which main section of the navigation should be highlighted as a visual aid (i.e. current page link).</p>
<p>3) Also pay attention to how sub-menus (italicized grey text) are defined under the &#8220;services&#8221; and &#8220;products&#8221; sections of this navigation. There is really no need to specify a CSS ID for the sub-menus. If for instance, you need to define a CSS style for a sub-menu in the &#8220;products&#8221; section, simply use the &#8220;li#products ul&#8221; selector.</p>
<p>So that&#8217;s it for the HTML aspect of your site main navigation. It&#8217;s simple, clean and can easily be adapted for mobile devices.</p>
<p>On Part 2, we&#8217;ll explore the CSS needed to position and define the look-and-feel of a vertical navigation placed on your web site&#8217;s sidebar. We&#8217;ll even include some CSS tips to make it work in IE6.</p>
<p>In Part 3, we&#8217;ll do the same for the horizontal navigation.</p>
<p>Then finally in Part 4, we&#8217;ll compared those 2 navigation orientations then look at the big picture to figure out the best location of your web site main navigation in your web pages HTML markup. Yes, that position matters as far as SEO is concerned. So stick around to get those gold nuggets.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2012/04/building-a-navigation-menu-with-html-5-and-css-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preview A web Page In A Browser From Dreamweaver</title>
		<link>http://livetrainingsession.com/tips/2012/04/preview-a-web-page-in-a-browser-from-dreamweaver/</link>
		<comments>http://livetrainingsession.com/tips/2012/04/preview-a-web-page-in-a-browser-from-dreamweaver/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 03:30:02 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[adobe device central]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=409</guid>
		<description><![CDATA[Whether you are  designing a new web page or updating an existing one in Dreamweaver it&#8217;s always a wise idea to preview your work in a web browser every now and then to make sure you are heading in the right direction. Because of  inconsistencies across web browsers your web site visitors use, regularly testing [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-414 alignleft" style="margin: 0 10px 10px 0;" title="Preview Web Page in Browser from Dreamweaver" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/08/preview-in-browser.gif" alt="" width="200" height="148" /> Whether you are  designing a new web page or updating an existing one in Dreamweaver it&#8217;s always a wise idea to preview your work in a web browser every now and then to make sure you are heading in the right direction. Because of  inconsistencies across web browsers your web site visitors use, regularly testing your web site design is a must during the design and update process.</p>
<p><span id="more-409"></span></p>
<p>You should preview your web pages on all popular web browser at every time you made a substantial change to the design or content. If you wait until you are done making those changes before your  preview your web pages, it might not be easy to quickly pinpoint the origin of an issue you just happen to notice.</p>
<p>If you are using Dreamweaver to design and manage your web site, you can launch a web browser to  preview your web page right from your <strong>document tool bar</strong>. The image above shows screen capture of the file preview functionality in Dreamweaver. The web page preview functionality is located in your document tool bar: it&#8217;s the &#8220;<strong>globe icon&#8221;</strong> on the right of the page title box.</p>
<p>It reveals different browsers you can use to preview your web page. You are also given the option to use the <strong>Adobe Device central</strong> to preview your web page in various portable devices (smartphones) and even navigate your web site using a browser emulator.</p>
<p>By default Dreamweaver only adds your default web browser to the list shown above. Therefore you will only see one web browser instead of a complte list of all web browsers installed in your computer. However you can add any web  browser installed in your computer system to that list by just clicking  the &#8220;<strong>Edit Browser List &#8230;</strong>&#8220;.</p>
<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/08/preferences.jpg"><img class="size-medium wp-image-418 alignleft" style="margin: 0 10px 10px 0;" title="Preview In Browser Preferences Panel" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/08/preferences-300x220.jpg" alt="" width="300" height="220" /></a>It opens the Preferences window where you can add a web browser by just clicking the + sign shown above the list.</p>
<p>You will then prompted to define a name from the new web browser you are about to add to the list in a dialog box.<br />
For instance, if you adding Internet Explorer 7 then you could choose a name such as  &#8221;IE7&#8243;.</p>
<p>Use the &#8220;Browse..&#8221; button to locate your web browser application in your computer, select it then click OK when you are done . That also closes the dialog box.</p>
<p>Repeat those steps to add more web browsers while you are sill in the Preferences window.<br />
Obviously before you  add a  web browser that application has to be already installed in your computer. You must have the most popular web browsers &#8212; IE6, IE7, IE8, IE9, Firefox, Chrome, Safari and Opera &#8212;   installed in your system</p>
<p>If you are using  Dreamweaver CS5, you can also take advantage of Adobe Browser lab to quickly preview your web pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2012/04/preview-a-web-page-in-a-browser-from-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create Buttons With CSS and No Graphic</title>
		<link>http://livetrainingsession.com/tips/2012/03/how-to-create-buttons-with-css-and-no-graphic/</link>
		<comments>http://livetrainingsession.com/tips/2012/03/how-to-create-buttons-with-css-and-no-graphic/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 21:59:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[line-height]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=423</guid>
		<description><![CDATA[Buttons are used in a web site primarily for navigation or in a web form for the end-user to click to perform an action such as submitting the form or simply to reset the changes made in the case of a very long forms. For the most part, web designers have to first create individual [...]]]></description>
			<content:encoded><![CDATA[<p>Buttons are used in a web site primarily for navigation or in a web form for the end-user to click to perform an action such as submitting the form or simply to reset the changes made in the case of a very long forms. For the most part, web designers have to first create individual images in a graphic design program sch as <a href="http://livetrainingsession.com/training/Photoshop.html">Photoshop</a> or <a href="http://livetrainingsession.com/training/fireworks.html">Fireworks</a>.</p>
<p><span id="more-423"></span></p>
<p>To add a button to a web form you can either use for instance the HTML tag<br />
<em>&lt;input type=&#8221;submit&#8221; value=&#8221;Submit&#8221; id=&#8221;btnsubmit&#8221;&gt;</em><br />
to add a submit button or<br />
<em>&lt;input type=&#8221;image&#8221; src=&#8221;path_to_image&#8221; id=&#8221;btnsubmit&#8221;&gt;<br />
</em>if you prefer to use some fancy image as a submit button.</p>
<p>In the first case the styling of the button is left to the web browser. However you can apply a custom CSS style using the &#8220;btnsubmit&#8221; ID selector specified in the button markup.<br />
For instance:<br />
<em>#btnsubmit {</em><br />
<em> width:70px;  /* defines the width of the button */</em><br />
<em> height:35px; /* defines the height of the button */</em><br />
<em> padding:0; /* removes any padding  */</em><br />
<em> text-align:center; /* horizontally center the text */</em><br />
<em> line-height:30px;  /* vertically centers text  */</em><br />
<em> background:#efefef;  /* light grey background color   */</em><br />
<em> color:#000; /* text color in black */</em><br />
<em> font-weight:bold; /* makes the text bold */</em><br />
<em> border: 2px outset #fff; /* creates a bevel effect at the right and bottom */</em><br />
<em> }</em></p>
<p>yields<br />
<a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2012/03/cssbutton.jpg"><img class="alignnone size-full wp-image-433" title="CSS button" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2012/03/cssbutton.jpg" alt="" width="69" height="34" /></a></p>
<p>You could also add a margin to help position that button against its closest HTML elements in the page.<br />
Using CSS3 border-radius property, you can create a button with round corners by adding the following to the CSS style above:</p>
<p><em>#btnsubmit {</em><br />
<em> width:80px;  </em><br />
<em> height:40px; </em><br />
<em> padding:0;  </em><br />
<em> text-align:center;</em><br />
<em> line-height:30px;  </em><br />
<em> background:#f9f9f9; </em><br />
<em> color:#000;  </em><br />
<em> border:solid 3px #ccc; /* add a solid grey border of 3 pixels in thickness */</em><br />
<em> font-weight:bold;</em><br />
<em> border-radius:20px;</em><br />
<em> }</em><br />
Yields:</p>
<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2012/03/cssbutton_round.jpg"><img class="alignnone size-full wp-image-434" title="cssbutton_round" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2012/03/cssbutton_round.jpg" alt="" width="80" height="40" /><br />
</a><br />
Do keep in mind that the border-radius property is not yet universally adopted. You might need to add the prefix -moz-, -webkit-, -ms-, -o- to make it work with some of the modern web browsers except IE6, IE7 and IE8.</p>
<p>Those same CSS rules could be use with an HTML anchor tag. For instance:<br />
&lt;a href=&#8221;http://livetrainingsession.com&#8221;  id=&#8221;btnhome&#8221;&gt;Home&lt;/a&gt;</p>
<p><em>#btnhome{</em><br />
<em> width:75px; /* defines the width of the button */</em><br />
<em> height:30px; /* defines the height of the button */</em><br />
<em> padding:0; /* remove any padding */</em><br />
<em> text-align:center; /* vertically centers text */</em><br />
<em> background:#f9f9f9; /* light grey background color */</em><br />
<em> color:#000; /* text color in black */</em><br />
<em> border:solid 3px #ccc;</em><br />
<em> border-radius:20px;</em><br />
<em> display:inline-block; /* forces to match the specified width */</em><br />
<em> text-decoration:none; /* remove the underline */</em><br />
<em> font: bold 13px/28px Verdana, Geneva, sans-serif;</em><br />
<em> }</em></p>
<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2012/03/anchor_button.jpg"><img class="alignnone size-full wp-image-435" title="hyperlink button" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2012/03/anchor_button.jpg" alt="" width="81" height="36" /><br />
</a><br />
You can various combinations of background color, border color to achieve some interesting button designs.<br />
If any approach shown above does not satisfy the look-and-feel you are after, you can still design a graphic button then use it as a background image instead. This approach will give you more flexibility in terms of site maintenance or when the time comes to adapt your site for mobile devices.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2012/03/how-to-create-buttons-with-css-and-no-graphic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Web Slices with Adobe Fireworks Slice Tool</title>
		<link>http://livetrainingsession.com/tips/2010/06/creating-web-slices-with-adobe-fireworks-slice-tool/</link>
		<comments>http://livetrainingsession.com/tips/2010/06/creating-web-slices-with-adobe-fireworks-slice-tool/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 03:00:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Fireworks Tips]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[fireworks]]></category>
		<category><![CDATA[foreground]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[slice]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=50</guid>
		<description><![CDATA[Creating web slices is the first step to converting your  digital artwork into a website. Whether your design is done with Illustrator, Photoshop or Fireworks,  &#8221;web slicing&#8221; is an essential skill to master. It&#8217;s not only about using the slice tool but choosing the right slices. When done the right way,  optimized web slices will help [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-103" style="margin: 0 10px 10px 0;" title="fireworks_slice_tool" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/01/fireworks_slice_tool.jpg" alt="Adobe Fireworks Web Slice Tool" width="210" height="102" />Creating web slices is the first step to converting your  digital artwork into a website. Whether your design is done with Illustrator, Photoshop or Fireworks,  &#8221;<strong>web slicing</strong>&#8221; is an essential skill to master.<br />
It&#8217;s not only about using the slice tool but choosing the right slices. When done the right way,  optimized web slices will help you create fast loading web pages also easy to update.</p>
<p><span id="more-50"></span></p>
<p>The web slices you create depend on the subtlety of your graphic design and how the final blocks in your HTML layout will interact. Therefore selecting web slices is an art in its own right and that task is better left to the person in charge of creating the HTML template.</p>
<p>You will now learn about the rectangular slice tool  in your Adobe Fireworks (CS3, CS4). You will later have the opportunity to compare it to the Photoshop slice tool in another upcoming post.</p>
<p>The screen capture above reveal the  slice tools located in the &#8220;<strong>Web</strong>&#8221; category of your Fireworks&#8217; tools panel. With your <strong>slice tool</strong> &#8220;<em>in hand</em>&#8220;, you can just select the area of the canvas you would like to convert into a web slice with a simple click-drag-and-release.</p>
<p>A web slice can be easily spotted in the canvas by its green overlay. Once a new slice is created, you can see its properties &#8211; dimensions and position &#8211; as shown by the screen capture of the &#8220;<strong>Properties</strong>&#8221; panel below.</p>
<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/01/fireworks-web-slice-properties.jpg"><img class="alignleft" style="margin: 0px 10px 10px 0;" title="fireworks-web-slice-properties" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/01/fireworks-web-slice-properties-300x106.jpg" alt="" width="300" height="106" /></a>Fireworks automatically name each new slice created. However you are better off renaming your web slice (e.g. top_chair) to something that will make more sense during the HTML design stage.<br />
You can also edit the width and height (W, H) of the current slice to modify its dimensions.  The X and Y values define the position of the slice in the canvas. You can changes those coordinates by just typing new values. You can also use your keyboard arrows in to change those values at 1pixel at a time.</p>
<p>The &#8220;<strong>Type</strong>&#8221; property let you choose between foreground and background image. A second drop-down list to select the slice file format (GIF, JPEG or PNG) and its compression. In the screenshot above,  &#8221;JPEG- Better Quality&#8221; means a compression ratio of 80% in a JPEG file format.</p>
<p><img class="alignleft size-medium wp-image-104" style="margin: 0px 10px 10px 0;" title="fireworks-web-layers" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/01/fireworks-web-layers-300x177.jpg" alt="fireworks-web-layers" width="300" height="177" /></p>
<p>For for each new slice created  Fireworks adds  a new layer under &#8220;<strong>Web Layer</strong>&#8221; folder as shown in the image on the left.</p>
<p>Just like  regular layers in your canvas, you can reorder web layers by just dragging one above or below another. You can also hide a given web slice by just clicking on the &#8220;eye icon&#8221; in front of its layer. To reveal a hidden slice, just click the empty space reserved for the eye icon of that layer.</p>
<p>The slice name defined in the properties panel is the same as the name of the web layer. By renaming the web layer you are renaming the web slice as well.</p>
<p>You can lock all or just a selected layer by clicking on that layer&#8217;s lock box  in the  column right next to the &#8220;eye  icon&#8221;. A locked layer shows the lock icon and the corresponding layer and web slice  can no longer be modified until it&#8217;s unlocked again.</p>
<p>Locking web layer is a safe way to avoid accidentally modifying that slice properties. You can lock all web layers at once by clicking the lock box left of the &#8220;Web Layer&#8221; folder icon.</p>
<p>Compared to Photoshop or Illustrator web slicing, Fireworks slice tool is more intuitive, easier to use  and packs all the functions you need for slicing and dicing in one spot. In a fast pace web production environment, Fireworks slice tool is a tremendous time saver.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2010/06/creating-web-slices-with-adobe-fireworks-slice-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Your Web Page Jumping Left and Right?</title>
		<link>http://livetrainingsession.com/tips/2010/05/web-page-jumping-left-and-right/</link>
		<comments>http://livetrainingsession.com/tips/2010/05/web-page-jumping-left-and-right/#comments</comments>
		<pubDate>Fri, 21 May 2010 03:00:34 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS Tips and Tricks]]></category>
		<category><![CDATA[HTML Tips]]></category>
		<category><![CDATA[bar]]></category>
		<category><![CDATA[centered]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[min-height]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrollbars]]></category>
		<category><![CDATA[scrolling]]></category>
		<category><![CDATA[width]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=367</guid>
		<description><![CDATA[I work very often with digital artists and other creative people who are now investing their talents designing web sites. I am always eager and pleased to offer my expertise in web development to help those clients of mine convert a masterpiece  crafted in  Photoshop, Illustrator or Fireworks into  full-blown web templates ready for text [...]]]></description>
			<content:encoded><![CDATA[<p>I work very often with digital artists and other creative people who are now investing their talents designing web sites. I am always eager and pleased to offer my expertise in web development to help those clients of mine convert a masterpiece  crafted in  Photoshop, Illustrator or Fireworks into  full-blown web templates ready for text copy.</p>
<p><span id="more-367"></span></p>
<p>Very often after I am done doing my part and transfered all the  web files  to the client , I receive an email/ phone call a day or so later inquiring why  some pages jump in web browser.</p>
<p>The very first thing the client blames is the current web browser s/he is using, and why not? Then after opening all the major web browsers at his disposition he realizes the issue remains the same on all browsers.</p>
<p><strong>Now, may be I am the one who screwed up!</strong><br />
<strong><span style="color: #ff6600;"> Nope!!</span></strong></p>
<p>In all cases it&#8217;s because web pages have different amount of content some longer than others. When a web page is long enough to exceed the web browser&#8217;s height  then a vertical scroll bar appears.  If on the other hand the web page only has a small amount of copy, everything is shown above the fold and no vertical scroll bar is needed by the web browser.</p>
<p><strong><span style="color: #ff6600;">Cause :</span></strong><br />
When using a <strong>fixed width layout</strong> with <strong>the left and right margins set to auto</strong> on your main container (#wrapper) , your web pages will be <strong>horizontally centered</strong>. The horizontal position of your web page depends on  the available width in your web browser viewport.</p>
<p>Let&#8217;s assume your browser window is 1024 pixels wide and that you have set your page layout to a fixed width of 980 pixels to be horizontally centered.</p>
<ul>
<li> If a page copy is concise  the entire page can be shorter than your browser window&#8217;s height. In this case no vertical scroll bar is necessary. You web page will therefore have a left and right margin of roughly (1024-980)/2, that is about 22 pixels on each side.</li>
<li> Now left assume another web page has a lot of text copy. In this case the page height to exceeds the web browser&#8217;s window height. A vertical scrollbar appears therefore cutting down on the width of the browser&#8217;s viewport.<br />
<strong>The width of the scrollbar is about 20 pixels</strong>, so we are now left with only 1004 px (pixels).</p>
<p>Using the same formulas as above (1004-980)/2, yields 12 pixels for the left and right margin for this web page. That&#8217;s what creates a <strong>10px horizontal shift</strong> to the left when you navigate from short (no vertical scrollbar) to a longer page where the vertical scrollbar is required.</li>
</ul>
<p><strong><span style="color: #ff6600;">Solution:</span></strong><br />
To solve the issue we are facing the solution is to force the web browser to display the vertical scrollbar on every page no matter how much content there is in there.</p>
<ol>
<li>- <strong>Option 1<br />
</strong>Using the &#8216;<em>min-height</em>&#8221; CSS property to  set a minimum height of your main container to match that maximum browser window height of your target audience.</p>
<p>The problem is you do not yet  have that information yet you review your web analytics after your site went live.</p>
<p>However from a personal experience, I found that setting the min-height to <strong>1000px</strong> will generally do the trick. The only hiccup is the  &#8221;<strong>min-height</strong>&#8221; CSS property is not understood by IE6. Therefore users using that version of  Internet Explorer will experience the horizontal page  shift.</li>
<li><strong>- Option 2<br />
</strong>Add a just  enough line breaks (Shift+Enter) or empty paragraphs (Enter) after the content on pages with less copy.</li>
</ol>
<p>Choose whichever option is more suitable to your  design and target audience.<br />
I&#8217;ll go for option 2 for the time being until IE6 disappears from the web landscape.</p>
<p>Does it really matter if a web page shift just a few pixels. For most people, it doesn&#8217;t. heck, most site visitors will even notice or be bothered by it.</p>
<p>But it&#8217;s a great deal for digital artists. Graphic designers are a different breed. A graphic designer will &#8220;fight you&#8221; tooth and nail for 1 pixel and for a good reason. That doesn&#8217;t mean visual artists are very difficult people to work with, on the contrary. They just thrive for perfection.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2010/05/web-page-jumping-left-and-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver CS5 30 Days Free Trial</title>
		<link>http://livetrainingsession.com/tips/2010/05/dreamweaver-cs5-30-days-free-trial/</link>
		<comments>http://livetrainingsession.com/tips/2010/05/dreamweaver-cs5-30-days-free-trial/#comments</comments>
		<pubDate>Wed, 05 May 2010 19:27:35 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[browserlab]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[dreamweaver]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=341</guid>
		<description><![CDATA[I just started my 30 days free trial of Dreamweaver CS5 today. The first thing I notice is the slick startup image. Hum.. it seems like the Dreamweaver&#8217;s green color is getting darker over the years. To use this free trial version you need to login to  your adobe account first. No worries signing up [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/05/dreamweaver-cs5-startup.jpg"><img class="alignleft size-full wp-image-343" style="margin: 0 10px 10px 0;" title="Dreamweaver CS5 Startup " src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/05/dreamweaver-cs5-startup.jpg" alt="" width="200" height="122" /></a>I just started my 30 days free trial of Dreamweaver CS5 today. The first thing I notice is the slick startup image.<br />
Hum.. it seems like the Dreamweaver&#8217;s green color is getting darker over the years.</p>
<p><span id="more-341"></span></p>
<p>To use this free trial version you need to login to  your adobe account first. No worries signing up to get an adobe account is free.  I have been a Macromedia and Adobe products fan for more than 10 years now, so my account is still in good standing.</p>
<p>Fulled loaded, Dreamweaver CS5 consumes about 133Mb of RAM, a little bit more than its predecessor, CS4. Mind you I am &#8220;still running&#8221; on Windows XP machine with 3Gb of RAM installed  and  a Pentium 4 (3GHz) processor. But I can almost feel my PC &#8220;sweating&#8221; when running this new application.<br />
I certainly need to upgrade to a dual core or quad core before committing to the Adobe Master Suite CS5.</p>
<p>Anyway, the user interface of Dreamweaver CS5 has remained pretty much the same as with previous versions (CS3, CS4). The two visible improvements are the Adobe BrowserLab and  Business Catalyst sidebar panels.</p>
<p>I talked about Adobe BrowserLab in a previous article, so no surprise here: it works just fine and can be a real time saver. As for the Business Catalyst I have not gone through its documentation yet but I will less likely shed over $900 on that product.</p>
<p>As you guessed it, I am still tinkering with the most obvious features during this first hour. However, as I dig deeper I will most certainly discover some nuggets to share with you in the upcoming days.  So stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2010/05/dreamweaver-cs5-30-days-free-trial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Browser Lab For Cross-browser Preview</title>
		<link>http://livetrainingsession.com/tips/2010/04/adobe-browser-lab-for-cross-browser-preview/</link>
		<comments>http://livetrainingsession.com/tips/2010/04/adobe-browser-lab-for-cross-browser-preview/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 00:10:10 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS Tips and Tricks]]></category>
		<category><![CDATA[Dreamweaver Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[operating]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.livetrainingsession.com/tips/?p=298</guid>
		<description><![CDATA[Adobe just launched a new service for cross-browser and operating system viewing of web pages: Adobe Browser Lab. That&#8217;s some great news for web developers. There no longer a need to install a plethora of web browsers just to preview the new web page design. Because of discrepancy between the display of web pages in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/04/adobe_browse_lab.jpg"><img class="alignleft size-full wp-image-300" style="margin: 0 10px 10px 0;" title="adobe browser lab" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/04/adobe_browse_lab.jpg" alt="" width="246" height="119" /></a>Adobe just launched a new service for cross-browser and operating system viewing of web pages: <strong>Adobe Browser Lab</strong>.<br />
That&#8217;s some great news for web developers. There no longer a need to install a plethora of web browsers just to preview the new web page design.</p>
<p><span id="more-298"></span></p>
<p>Because of discrepancy between the display of web pages in different web browsers and even different operating systems, one needs to test the website on all major browsers to make sure the &#8220;web pages do not break&#8221;. The problem is if you are PC user on Windows, you need to get a hold of Mac as well and vice-versa for testing purpose.</p>
<p><a href="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/04/adobe_browser_lab_browsers.gif"><img class="alignleft size-medium wp-image-301" style="margin: 0 10px 10px 0;" title="adobe_browser_lab_browsers" src="http://www.livetrainingsession.com/tips/wp-content/uploads/2010/04/adobe_browser_lab_browsers-219x300.gif" alt="" width="219" height="300" /></a> There are already websites out there that offer similar site preview services. Some are free, others not so much. However most of them require a waiting period of an hour or more before you get  the preview screenshots by email.</p>
<p>With the new  <strong>Adobe Browser Lab</strong> service, you can test you entire new web site on different web browsers in different operating systems for free. It&#8217;s a live service that means, you get your preview result within seconds not hours.</p>
<p>All you need is have a free adobe account to start testing your web pages in the major browsers  shown here. Just go to <a rel="nofollow" href="https://browserlab.adobe.com">https://browserlab.adobe.com</a> and take it for a spin.</p>
<p>I am not quite sure yet <strong>why the Opera web browser is not included</strong> in the list but I can bet Adobe has a good reason for that. I&#8217;ll keep you in the loop once I get more information about that.</p>
<p>What&#8217;s even more interesting with <strong>Adobe Browser Lab </strong>is its integration with the soon to be released <strong>Dreamweaver CS5</strong>.</p>
<p>Once more Adobe listened to the web design community and as always answers with some new amazing products on each new release of its products suite.<br />
I for one cannot wait to get a test drive of  the new Dreamweaver, Flash, Photoshop, Fireworks and After Effects from the <strong>CS5 Master Collection</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://livetrainingsession.com/tips/2010/04/adobe-browser-lab-for-cross-browser-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.374 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-10 10:18:51 -->

