<?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>I-Tech Web Design North Wales &#187; CSS</title>
	<atom:link href="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itechwebdesign.co.uk/blog-web-design-north-wales</link>
	<description>We offer professional website design services in North Wales and Chester areas</description>
	<lastBuildDate>Mon, 11 Mar 2013 14:24:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Force scrollbar on short pages</title>
		<link>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/force-scrollbar-on-short-pages/</link>
		<comments>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/force-scrollbar-on-short-pages/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 10:15:50 +0000</pubDate>
		<dc:creator>ewanvrooyen</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[FF]]></category>
		<category><![CDATA[IE10]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[scrollbar]]></category>

		<guid isPermaLink="false">http://www.itechwebdesign.co.uk/blog-web-design-north-wales/?p=353</guid>
		<description><![CDATA[When you have a design that does not fill the full screen you sometimes get the problem where the page seems to shift when you navigate between long and short pages. This is because of the scroll bar on the &#8230; <a href="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/force-scrollbar-on-short-pages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you have a design that does not fill the full screen you  sometimes get the problem where the page seems to shift when you  navigate between long and short pages.</p>
<p>This is because of the scroll bar on the right that appears or disappear depending on the length of your scrollbar.</p>
<p>All you have to do is edit your .css file and add the below:</p>
<p><code>/*Force scroll bar for short pages*/<br />
HTML {<br />
overflow-y:scroll;<br />
overflow-x:auto;<br />
}</code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.itechwebdesign.co.uk%2Fblog-web-design-north-wales%2F08%2F2011%2Fforce-scrollbar-on-short-pages%2F&amp;title=Force%20scrollbar%20on%20short%20pages"><img src="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/force-scrollbar-on-short-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calendar pop-up link position / not showing in Joomla</title>
		<link>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/calendar-pop-up-link-position-not-showing-in-joomla/</link>
		<comments>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/calendar-pop-up-link-position-not-showing-in-joomla/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 11:02:39 +0000</pubDate>
		<dc:creator>ewanvrooyen</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Joombah jobsboard]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[IE10]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[joombah]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.itechwebdesign.co.uk/blog-web-design-north-wales/?p=347</guid>
		<description><![CDATA[I Had an issue in IE7, IE8, IE9, IE10 when I click on the calendar icon the calendar does not appear. I then scrolled to the top of the page and there it was. So the issue in Joomla to &#8230; <a href="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/calendar-pop-up-link-position-not-showing-in-joomla/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I Had an issue in IE7, IE8, IE9, IE10 when I click on the calendar icon the calendar does not appear. I then scrolled to the top of the page and there it was.</p>
<p>So the issue in Joomla to view the pop-up calendar when you click on the icon is to edit  media/system/js/calendar.js file</p>
<p>Replace:</p>
<p><code>if(Calendar.is_ie){br.y+=document.body.scrollTop;br.x+=document.body.scrollLeft;}else{br.y+=window.scrollY;br.x+=window.scrollX;}</code></p>
<p>with:</p>
<p><code>if(Calendar.is_ie){br.y+=document.body.document.documentElement.scrollTop;br.x+=document.body.document.documentElement.scrollLeft;}</code></p>
<p>Now my calendar icon links work in IE7, IE8, IE9 and IE10</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.itechwebdesign.co.uk%2Fblog-web-design-north-wales%2F08%2F2011%2Fcalendar-pop-up-link-position-not-showing-in-joomla%2F&amp;title=Calendar%20pop-up%20link%20position%20%2F%20not%20showing%20in%20Joomla"><img src="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/08/2011/calendar-pop-up-link-position-not-showing-in-joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice Social Bookmark &#8211; no img width and height attributes</title>
		<link>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/04/2011/nice-social-bookmark-no-img-width-and-height-attributes/</link>
		<comments>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/04/2011/nice-social-bookmark-no-img-width-and-height-attributes/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 13:49:41 +0000</pubDate>
		<dc:creator>ewanvrooyen</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[image tag]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[social bookmark]]></category>

		<guid isPermaLink="false">http://www.itechwebdesign.co.uk/blog-web-design-north-wales/?p=271</guid>
		<description><![CDATA[Website producers often include images on their pages badly, creating accessibility issues for visitors and increasing page load times. It is important to include the width and height attributes in each image tag.  The mark-up is valid without a height &#8230; <a href="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/04/2011/nice-social-bookmark-no-img-width-and-height-attributes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Website producers often include images on their pages badly, creating accessibility issues for visitors and increasing page load times.</p>
<p>It is important to include the width and height attributes in each image tag.  The mark-up is valid without a height and width attribute, but it is best practice to include them.</p>
<p>You can include them by adding the width and height attributes to the images in the following file: modules\mod_nice_social_bookmark\mod_nice_social_bookmark.php</p>
<p>Back up first!</p>
<p>The code for the whole file is below:</p>
<pre>&lt;?php

// no direct access

//defined( '_VALID_MOS' ) or die( 'Restricted access' );

$url = "http://".$_SERVER['HTTP_HOST'] . getenv('REQUEST_URI'); 

$rss_url = "http://".$_SERVER['HTTP_HOST'];

$isize = $params-&gt;get('isize');

$iset = $params-&gt;get('iset');

$iposition = $params-&gt;get('iposition');

$document = JFactory::getDocument();

$opac = $params-&gt;get('opac');

if ($opac=="yes"){

 $document-&gt;addStyleSheet('modules/mod_nice_social_bookmark/css/nsb-opac.css');

 }

 elseif ($opac=="invert"){$document-&gt;addStyleSheet('modules/mod_nice_social_bookmark/css/nsb-opac-inv.css');

 }

 else{$document-&gt;addStyleSheet('modules/mod_nice_social_bookmark/css/nsb.css');

 }

$twlink = $params-&gt;get('twlink');

$fblink = $params-&gt;get('fblink');

$mslink = $params-&gt;get('mslink');

$rsslink = $params-&gt;get('rsslink');

echo '&lt;div align="'.$iposition.'"&gt;';
$tt = $params-&gt;get('s1', 'yes');
if ($tt == "yes"){ if ($fblink == "")
echo '&lt;a id="l1" target="_blank" rel="nofollow" href="http://www.facebook.com/sharer.php?u='.$url.'&amp;title="&gt;&lt;img title="Facebook" border="0" src="modules/mod_nice_social_bookmark/icons/facebook_'.$iset.'_'.$isize.'.png" alt="Facebook" width="32px" height="32px"  /&gt;&lt;/a&gt;&amp;nbsp;';
else echo '&lt;a id="l1" target="_blank" rel="nofollow" href="http://'.$fblink.'"&gt;&lt;img title="Facebook" border="0" src="modules/mod_nice_social_bookmark/icons/facebook_'.$iset.'_'.$isize.'.png" alt="Facebook" width="32px" height="32px"/&gt;&lt;/a&gt;&amp;nbsp;';}
$tt = $params-&gt;get('s2', 'yes');
if ($tt == "yes"){ if ($mslink == "")
echo '&lt;a id="l2" target="_blank" rel="nofollow" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;amp;u='.$url.'&amp;amp;title="&gt;&lt;img title="MySpace" border="0" src="modules/mod_nice_social_bookmark/icons/myspace_'.$iset.'_'.$isize.'.png" alt="MySpace"  width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
else echo '&lt;a id="l2" target="_blank" rel="nofollow" href="http://'.$mslink.'"&gt;&lt;img title="MySpace" border="0" src="modules/mod_nice_social_bookmark/icons/myspace_'.$iset.'_'.$isize.'.png" alt="MySpace" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';}
$tt = $params-&gt;get('s3', 'yes');
if ($tt == "yes"){ if ($twlink == "")
echo '&lt;a id="l3" target="_blank" rel="nofollow" href="http://twitter.com/home?status='.$url.'&amp;amp;title="&gt;&lt;img title="Twitter" border="0" src="modules/mod_nice_social_bookmark/icons/twitter_'.$iset.'_'.$isize.'.png" alt="Twitter" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
else echo '&lt;a id="l3" target="_blank" rel="nofollow" href="http://'.$twlink.'"&gt;&lt;img title="Twitter" border="0" src="modules/mod_nice_social_bookmark/icons/twitter_'.$iset.'_'.$isize.'.png" alt="Twitter" width="32px" height="32px"  /&gt;&lt;/a&gt;&amp;nbsp;';}
$tt = $params-&gt;get('s4', 'yes');
if ($tt == "yes")echo '&lt;a id="l4" target="_blank" rel="nofollow" href="http://digg.com/submit?phase=2&amp;amp;url='.$url.'&amp;amp;title="&gt;&lt;img title="Digg" border="0" src="modules/mod_nice_social_bookmark/icons/digg_'.$iset.'_'.$isize.'.png" alt="Digg" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
$tt = $params-&gt;get('s5', 'yes');
if ($tt == "yes")echo '&lt;a id="l5" target="_blank" rel="nofollow" href="http://del.icio.us/post?url='.$url.'&amp;amp;title="&gt;&lt;img title="Delicious" border="0" src="modules/mod_nice_social_bookmark/icons/delicious_'.$iset.'_'.$isize.'.png" alt="Delicious" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
$tt = $params-&gt;get('s6', 'yes');
if ($tt == "yes")echo '&lt;a id="l6" target="_blank" rel="nofollow" href="http://www.stumbleupon.com/submit?url='.$url.'&amp;amp;title="&gt;&lt;img title="Stumbleupon" border="0" src="modules/mod_nice_social_bookmark/icons/stumbleupon_'.$iset.'_'.$isize.'.png" alt="Stumbleupon" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
$tt = $params-&gt;get('s7', 'yes');
if ($tt == "yes")echo '&lt;a id="l7" target="_blank" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;amp;bkmk='.$url.'&amp;amp;title="&gt;&lt;img title="Google Bookmarks" border="0" src="modules/mod_nice_social_bookmark/icons/google_'.$iset.'_'.$isize.'.png" alt="Google Bookmarks" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
$tt = $params-&gt;get('s8', 'yes');
if ($tt == "yes"){if ($rsslink == "")
echo '&lt;a id="l8" target="_blank" rel="nofollow" href="'.$rss_url.'/index.php?format=feed&amp;amp;type=rss&amp;amp;title="&gt;&lt;img title="RSS Feed" border="0" src="modules/mod_nice_social_bookmark/icons/rss_'.$iset.'_'.$isize.'.png" alt="RSS Feed" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';
else echo '&lt;a id="l8" target="_blank" rel="nofollow" href="'.$rsslink.'"&gt;&lt;img title="RSS Feed" border="0" src="modules/mod_nice_social_bookmark/icons/rss_'.$iset.'_'.$isize.'.png" alt="RSS Feed" width="32px" height="32px" /&gt;&lt;/a&gt;&amp;nbsp;';}
echo '&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;';
?&gt;</pre>
<p>Hope this help.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.itechwebdesign.co.uk%2Fblog-web-design-north-wales%2F04%2F2011%2Fnice-social-bookmark-no-img-width-and-height-attributes%2F&amp;title=Nice%20Social%20Bookmark%20%26%238211%3B%20no%20img%20width%20and%20height%20attributes"><img src="http://www.itechwebdesign.co.uk/blog-web-design-north-wales/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.itechwebdesign.co.uk/blog-web-design-north-wales/04/2011/nice-social-bookmark-no-img-width-and-height-attributes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
