<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.3" -->
<rss version="2.0">
	<channel>
		<title>Blog entries posted in Web Design</title>
		<description>Blog entries posted in Web Design</description>
		<link>http://lab11.com</link>
		<lastBuildDate>Thu, 09 Sep 2010 02:32:34 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.3</generator>
		<item>
			<title>Using an Image as a Submit Button in HTML</title>
			<link>http://lab11.com/blogs/Using-an-Image-as-a-Submit-Button-in-HTML.html</link>
			<description>&lt;p&gt;There are times when you want to use an image as a button to submit a form. One case is when you need to use JavaScript to check the html form was submitted correctly. Here is the code:&lt;br /&gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function checkForm()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; var msg = &amp;quot;Please correct the following: \n\n&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; var error = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nRead More...</description>
			<author>Trevor M.</author>
			<pubDate>Fri, 31 Jul 2009 06:00:00 +0100</pubDate>
		<category>Javascript</category>
 <category>HTML</category>
		</item>
		<item>
			<title>Changing a New Line to a Break</title>
			<link>http://lab11.com/blogs/Changing-a-New-Line-to-a-Break.html</link>
			<description>&lt;p&gt;There is a great php function takes a variable and changes the&amp;nbsp; new lines (\n) into breaks (&amp;lt;br/&amp;gt;). &lt;br /&gt;&lt;br /&gt;For example, a user submits a form on your website and used a textarea to submit a couple of paragraphs. You then retrieve this data from the database and echo it out in html. You will notice that it is now just one big paragraph.&lt;br /&gt;&lt;br /&gt;To fix this problem, you the function: nl2br&lt;br /&gt;&lt;br /&gt;Here is how you might use this:&lt;br /&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;Read More...</description>
			<author>Trevor M.</author>
			<pubDate>Tue, 30 Jun 2009 06:00:00 +0100</pubDate>
		<category>PHP</category>
		</item>
		<item>
			<title>Cleaning Up After a WYSIWYG Editor</title>
			<link>http://lab11.com/blogs/Cleaning-Up-After-a-WYSIWYG-Editor.html</link>
			<description>&lt;p&gt;For basic content edits a WYSIWYG editor is a great tool to have.  The HTML it generates, however, is not so great.  Sometimes there's a chunk of text that it just doesn't seem to want to make changes to, and the reason is usually that style tags were left behind from previous changes.  The good news, though, is it's not difficult to clean up HTML.  Doing so will restore content to its default state, and will make it respond to the editing tools the way it should.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;To see the raw codRead More...</description>
			<author>Jennifer Startup</author>
			<pubDate>Thu, 11 Jun 2009 06:00:00 +0100</pubDate>
		<category>JCE Editor</category>
 <category>HTML</category>
		</item>
		<item>
			<title>How to Stop a Form From Submitting on Enter</title>
			<link>http://lab11.com/blogs/How-to-Stop-a-Form-From-Submitting-on-Enter.html</link>
			<description>&lt;p&gt;I came across a problem this week, with a form that submitted when a user hit the &amp;quot;enter&amp;quot; or &amp;quot;return&amp;quot; button even though the submit button had an onclick function that should have kept the form from submitting. The problem only manifested itself on Google's Chrome browser.&lt;br /&gt;&lt;br /&gt;I found the following JavaScript code to keep this from happening:&lt;br /&gt;&lt;br /&gt;// Disables enter button from submitting the form&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var nav = window.Event ? true : false;&lt;bRead More...</description>
			<author>Trevor M.</author>
			<pubDate>Fri, 10 Apr 2009 06:00:00 +0100</pubDate>
		<category>Javascript</category>
 <category>HTML</category>
		</item>
		<item>
			<title>Image Alignment in JCE</title>
			<link>http://lab11.com/blogs/Image-Alignment-in-JCE.html</link>
			<description>&lt;p&gt;By default the JCE Editor will insert an uploaded image into a content area separated from the text before and after it.&amp;nbsp; This is passable on a particularly wide image, but most common is to wrap the text around any images in the content.&amp;nbsp; In order to set this up well there are some parameters to get to know. &lt;/p&gt;First, to upload or insert a previously uploaded image, the JCE Editor provides the Insert/Edit Image tool.&amp;nbsp;&amp;nbsp;&lt;img src=&quot;http://lab11.com/images/stories/lab11/jstarRead More...</description>
			<author>Jennifer Startup</author>
			<pubDate>Mon, 23 Mar 2009 06:00:00 +0100</pubDate>
		<category>JCE Editor</category>
		</item>
		<item>
			<title>Opening a New Browser Window</title>
			<link>http://lab11.com/blogs/Opening-a-new-browser-window.html</link>
			<description>&lt;p&gt; There are times when you may want to open a page in a new browser window. You may also want to be able to determine the size of the new window, whether or not to have scroll bars, tool bars,  status bars etc..  There is a ready-made JavaScript function that you can use to do this:  &lt;/p&gt;&lt;p&gt; window.open('url', 'window name', 'attribute1', 'attribute2', .....)  &lt;/p&gt;'url'&lt;br /&gt; This is the url of the page you would like to appear in the                new window. 'window name'&lt;br /&gt; You can nameRead More...</description>
			<author>Trevor M.</author>
			<pubDate>Wed, 18 Mar 2009 06:00:00 +0100</pubDate>
		<category>Javascript</category>
 <category>HTML</category>
		</item>
		<item>
			<title>Discover Your Future Site</title>
			<link>http://lab11.com/blogs/Discover-Your-Future-Site.html</link>
			<description>&lt;img style=&quot;float: right&quot; src=&quot;http://lab11.com/images/stories/lab11/gbluma/camera_small.jpg&quot; alt=&quot;camera_small&quot; width=&quot;NaN&quot; height=&quot;200&quot; /&gt;So you want to revamp your current site right? Or maybe you want a new site but can't put your finger exactly on what you need. &lt;br /&gt;&lt;br /&gt;Here are a few things to consider which might help you decide on the details. I'll also run through a test scenario of a small photography company as an example. &lt;br /&gt;&lt;br /&gt; 1. What does your organization do? &lt;br /&gt;If yRead More...</description>
			<author>Garrett Bluma</author>
			<pubDate>Thu, 15 Jan 2009 07:00:00 +0100</pubDate>
		<category>Web Design</category>
		</item>
		<item>
			<title>Website Design: A Bit About Fonts</title>
			<link>http://lab11.com/blogs/Website-Design-A-Bit-About-Fonts.html</link>
			<description>&lt;p&gt;Fonts can be grouped in four main categories: basic, scripted, stylized and shapes.&amp;nbsp; The basic category is used most often for large amounts of text, and particularly for websites since browser cross-compatibility is a high priority in web design.&amp;nbsp; This group contain familiar fonts such as Arial, Times New Roman and Courier New,&amp;nbsp; the most web-friendly choices.&amp;nbsp; Also commonly used are Georgia, Verdana and Helvetica, and any of them will display a large amount of text nicelyRead More...</description>
			<author>Jennifer Startup</author>
			<pubDate>Thu, 08 Jan 2009 07:00:00 +0100</pubDate>
		<category>Web Design</category>
		</item>
		<item>
			<title>Web Page Layout: Using a Grid</title>
			<link>http://lab11.com/blogs/Web-Page-Layout-Using-a-Grid.html</link>
			<description>&lt;p&gt;Grid-based layout is a simple method for structuring an effective web page.&amp;nbsp; Balance is easy to maintain, and there is a common element running from page to page without having to stucture each the same way.&amp;nbsp; So, for instance, a website with the content area set to 960x680 could be set up as one of the layouts shown below.&lt;/p&gt; &lt;p style=&quot;text-align: center&quot;&gt;&lt;img src=&quot;http://lab11.com/images/stories/lab11/jstartup/grids1.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;Most web pages will be just fine with the firsRead More...</description>
			<author>Jennifer Startup</author>
			<pubDate>Fri, 02 Jan 2009 07:00:00 +0100</pubDate>
		<category>Web Design</category>
		</item>
	</channel>
</rss>
