<?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>Free Photography Tips Tutorials Reviews and Wordpress Themes &#187; CSS Resources</title>
	<atom:link href="http://www.slrlounge.com/category/downloads/css-photographers-tools/feed" rel="self" type="application/rss+xml" />
	<link>http://www.slrlounge.com</link>
	<description>Photography tips and photography tutorials and more</description>
	<lastBuildDate>Thu, 09 Feb 2012 00:20:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Website Tools â€“ Part 2 of 3 â€“ â€œSimply Greenâ€ â€“ A Two Button SEO Ready Landing Page CSS Template</title>
		<link>http://www.slrlounge.com/website-tools-%e2%80%93-part-2-of-3-%e2%80%93-%e2%80%9csimply-green%e2%80%9d-%e2%80%93-a-two-button-seo-ready-landing-page-css-template</link>
		<comments>http://www.slrlounge.com/website-tools-%e2%80%93-part-2-of-3-%e2%80%93-%e2%80%9csimply-green%e2%80%9d-%e2%80%93-a-two-button-seo-ready-landing-page-css-template#comments</comments>
		<pubDate>Mon, 31 Aug 2009 10:06:00 +0000</pubDate>
		<dc:creator>Pye</dc:creator>
				<category><![CDATA[CSS Resources]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Landing Page]]></category>
		<category><![CDATA[Landing Page Template]]></category>
		<category><![CDATA[search engine Optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Templates]]></category>

		<guid isPermaLink="false">http://www.slrlounge.com/?p=2820</guid>
		<description><![CDATA[Welcome to part two of our landing page tutorials and templates. Hopefully, most of you will have read part one &#8220;The Photo Stack&#8221; &#8211; A One Button SEO Ready Landing Page CSS Template as it is a primer to this guide. To see a preview of this landing page, click here. Each template guide (Part [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2854" title="screenshot" src="http://www.slrlounge.com/wp-content/uploads/2009/08/screenshot1.jpg" alt="screenshot1 Website Tools â€“ Part 2 of 3 â€“ â€œSimply Greenâ€ â€“ A Two Button SEO Ready Landing Page CSS Template" width="561" height="421" /></p>
<p>Welcome to part two of our landing page tutorials and templates. Hopefully, most of you will have read part one <a style="text-decoration: none;" href="http://www.slrlounge.com/2009/08/website-tools-photo-stack-a-one-button-splash-page-css-template/">&#8220;The Photo Stack&#8221; &#8211; A One Button SEO Ready Landing Page CSS Template</a> as it is a primer to this guide. To see a preview of this landing page, <a href="http://www.slrlounge.com/templates/two-button-splash-css-template/index.html" target="_blank">click here</a>.</p>
<p>Each template guide (Part 1, 2 and 3) is organized into two main parts. The first portion is a simple customization and installation guide that will get you up and running in less than 1 hour. The second portion will go into more depth and detail regarding CSS for those of you that are interested in learning a bit more. Keep in tuned as Part 3 will not only include a 3 button design along with a text area, but will also include an advanced editing section solely on SEO preparation.<span id="more-2820"></span></p>
<p>For those of you wanting to learn more about CSS and SEO, we highly recommend that you read <a href="http://www.slrlounge.com/2009/08/website-tools-photo-stack-a-one-button-splash-page-css-template/" target="_blank">Part 1 &#8220;The Photo Stack&#8221;</a> as this article will build upon previously discussed topics.</p>
<p>So, without further adieu, let&#8217;s jump right in to steps 1 &#8211; 5 which are the customization and installation of the landing page.</p>
<div style="margin: 0px 0 20px 25px;"><script src="http://www.bluehost.com/src/js/slrlounge/CODE126/620x203/bh_620x203_05.jpg" type="text/javascript"></script></div>
<div class="wppi_section_header">Step 1 &#8211; Downloading the Files</div>
<p>The first thing you will want to do is download the files for the Photo Stack landing page by <a href="http://www.slrlounge.com/slrlounge_downloads/simply-green-two-button-splash-template.zip">clicking here.</a></p>
<div class="wppi_section_header">Step 2 &#8211; Understanding the Files</div>
<p>The files are organized into the following:</p>
<p><strong>/design_files</strong> &#8211; These are the files used in the design process. We used Adobe Illustrator to create the layout, and thus we have included the .AI file in case any of you want to take the editing one step further and customize the design further. There is also a screenshot so you can quickly see the template design without loading it in the browser.</p>
<p><em>NOTE &#8211; there are no files in the /design_files folder that are actually used by the website. So you don&#8217;t need to upload it when uploading your website to your server.</em></p>
<p><strong>/images</strong> &#8211; These are the image files that are used by the website code. You will need to upload these to your server when you have finished customizing your site.</p>
<p><strong>index.html</strong> &#8211; This is the actual landing page itself. It contains all of the content of the page. It is named <em>index.html</em> because it is going to be the first page viewed when a user types in your website URL.</p>
<p><strong>splashcss.css</strong> &#8211; This is a CSS (Cascading Style Sheet) file that is used to stylize the <em>index.html</em> page. It basically defines the look, placement and location of elements, colors, etc inside of the <em>index.html</em> file.</p>
<div class="wppi_section_header">Step 3 &#8211; Customizing the Site</div>
<p>Before you can upload your landing page, we need to customize it so it is for your studio rather than for <a href="http://www.linandjirsa.com" target="_blank">Lin and Jirsa Photography</a>! Don&#8217;t worry though, we are going to walk you through each step, and once you finish you are going to revel in your new HTML editing skills!</p>
<p><strong>i. Open the </strong><em><strong>index.html</strong></em><strong> for editing &#8211; </strong>You can open the <em>index.html</em> file in any standard text editor such as Notepad or Wordpad, or a code editor such as Adobe Dreamweaver. If you do open the file in Notepad or Wordpad, just make sure that you don&#8217;t change the file extension (.html) when you save the file. It should always read <em>index.html</em></p>
<p><strong>ii. Understanding the web page structure &#8211; </strong>To avoid repeating previously discussed material, please see <a href="http://www.slrlounge.com/2009/08/website-tools-photo-stack-a-one-button-splash-page-css-template/" target="_blank">Part One</a> to get an understanding of the web page structure.</p>
<p><strong>iii. Customizing the </strong><em><strong>&lt;head&gt;</strong></em><strong> section </strong>- There are three areas you are going to customize in the <em>&lt;head&gt;</em> of the document. Each are marked in the <em>index.html </em>file by comments. Comments are descriptions and explanations in the code that are marked so they are not displayed by the browser. HTML comments are denoted by anything that goes within the <em>&lt;!&#8211; and &#8211;&gt;</em>. The three areas you will edit are discussed below:</p>
<p><span style="text-decoration: underline;">Title (Line 10)</span> &#8211; The <em>&lt;title&gt;</em> tag is a short piece of text that will be displayed on top of the browser window and is the most important tag within the <em>&lt;head&gt;</em> of your document for SEO (Search Engine Optimization). So you want to make sure it is brief, descriptive and under 70 characters in total length. To edit this section, simply place your title text in between the <em>&lt;title&gt; &lt;/title&gt;</em> tags. An example could be &#8220;Lin and Jirsa Wedding Photography and Engagement Photography.&#8221;</p>
<p><span style="text-decoration: underline;">Meta Description (Line 13)</span> &#8211; Yet another tag for SEO, the <em>&lt;meta name=&#8221;description&#8221;&gt;</em> tag is mainly used by search engines as the little bit of text copy that describes your site. For example, in Google, if you typed in Lin and Jirsa Photography, the text description that shows up below each search result is pulled from the meta description tag when declared. So, it is important that this section contain a brief little summary of your studio and services. Google only reads the first 150 characters, so we advise you keep it under 150 characters in length. To edit this section, simply place your text between the &#8221; &#8221; marks after content =</p>
<p><span style="text-decoration: underline;">Meta Keywords (Line 16)</span> &#8211; While not as important today for SEO as it was in the past, the <em>&lt;meta name=&#8221;keywords&#8221;&gt;</em> tag is used by search engines to categorize what your site is all about. Today, search engines such as google place much more emphasis on your site <em>&lt;title&gt;</em> along with the actual content contained in your site in order to properly categorize and index your website. In this section, you want to place about 10 keywords or less that describe your website and studio services. For example, &#8220;wedding photography&#8221; , &#8220;wedding photojournalism&#8221;, etc. Remember, less is more. If you exceed 10 keywords, search engines may ding you for &#8220;spamming&#8221; keywords. To edit this section, simply place your keyword text between the &#8221; &#8221; marks after the content =</p>
<p>Ok, good news, you are almost half way there already! We just finished the <em>&lt;head&gt;</em> of the document, and now we just need to edit a little of the <em>&lt;body&gt;</em> of the document and then we are done!</p>
<p><strong>iv. Customizing the </strong><em><strong>&lt;body&gt;</strong></em><strong> section</strong> &#8211; The only thing we need to change in the  <em>&lt;body&gt;</em> of the document is the URL link that will point to your site, but we are going to need to change it in 4 places. If you desire, you can also change the text portion of the links as you go through this portion to fit your site better.</p>
<p><span style="text-decoration: underline;">Line 63 </span><em><span style="text-decoration: underline;">&lt;a href&gt;</span></em><em> &#8211; &lt;a href&gt;</em> is an HTML tag that stands for an Anchor Hypertext Reference, or otherwise known as a link/URL (yeah, seriously, why didn&#8217;t they just call it a link to begin with?). Currently, all of the links point to a dummy location which is http://www.YOURSITEGOESHERE.com. I wrote it that way so that it would stand out =). So, as most of you have guessed by now, you want to place the link of the site that you want this portal page to link. To do so, simply replace the http://www.YOURSITEGOESHERE.com with wherever you want it to link.</p>
<p><span style="text-decoration: underline;">Line 73</span> &#8211; Same change as above, this time it applies to the second button.</p>
<p><span style="text-decoration: underline;">Line 81</span> &#8211; Same change as on Line 73, this time it applies to the text &#8220;PORTFOLIO.&#8221; Once you finish editing the HTML link you can also edit the text to better fit your site. Simply change the text in between the <em>&lt;a&gt;</em> <em>&lt;/a&gt;</em> to whatever you deem appropriate.</p>
<p><span style="text-decoration: underline;">Line 88</span> &#8211; Same change as on Line 81, this time it applies to the text &#8220;THE BLOG.&#8221; Once you finish editing the HTML link you can also edit the text to better fit your site. Simply change the text in between the  <em>&lt;a&gt;</em> <em>&lt;/a&gt;</em> to whatever you deem appropriate.</p>
<p>Now, all of your links should be pointing to the right location.</p>
<p><strong>OPTIONAL</strong> &#8211; On each of our landing pages we included a tiny link in the footer that gives SLRLounge and Lin and Jirsa Photography a little bit of link love. We mention it here because we don&#8217;t want to seem sneaky by hiding things from you. The link text is very small and virtually unnoticable, so we ask that you keep the link on the site. However, if you must remove the link, then we ask that you add the following code snippet to any one of your sites. You can do it in a blog entry, or on a remote resource page somewhere on your site, it really doesn&#8217;t matter. This will help us to keep providing you with these free, professional tutorials and resources for free. Here is the link code:</p>
<p>&lt;a href=&#8221;http://www.slrlounge.com&#8221; target=&#8221;_blank&#8221; description=&#8221;Wedding photography tutorials, tips and resources&#8221;&gt;Photography Tutorials, Tips and More at SLRLounge&lt;/a&gt; a website by &lt;a href=&#8221;http://www.linandjirsa.com&#8221; target=&#8221;_blank&#8221; description=&#8221;Los Angeles Wedding Photography&#8221;&gt;Lin and Jirsa Los Angeles Wedding Photography&lt;/a&gt;</p>
<p>Great job! We are now done editing our HTML and the only thing we have left to do is customize the images and change the colors if you desire.</p>
<p><strong>v. Customizing the Button and Logo Images </strong>- Obviously you don&#8217;t want to use our pictures and logo for your site, so here is how to change it. Be warned, this is so easy that it might just confuse you.</p>
<p><span style="text-decoration: underline;">Replacing the Logo</span> &#8211; To replace the logo, simply create your logo and size it to 180&#215;54 (180 pixels wide by 54 pixels tall). Save the file as logo.png and replace the current logo.png file contained in the /images folder. Viola! Now your logo is on the site.</p>
<p><em>NOTE &#8211; If you save the logo file as a .jpg you will need to change the code on line 78 to read <strong>images/logo.jpg</strong> rather than images/logo.png. Otherwise your image will not be displayed.</em></p>
<p><span style="text-decoration: underline;">Replacing the Button Images</span> &#8211; There are two images for each button. The image defaults to a light black and white version of the image and then switches to a nice color version when the mouse is moved over the button. So, in order to replace the images we need to change both of them.</p>
<p>To replace the black and white version of the first button, simply create a light black and white version of whatever image you like and size it to 100&#215;100 (100 pixels wide by 100 pixels tall). Save the file as &#8220;front-picture-image-bw-light.jpg&#8221; and replace the current version of the &#8220;button-one-image-bw-light.jpg&#8221; file with your new one!</p>
<p>Next, take your same design file and make it a color version with the same 100&#215;100 dimensions and save it as &#8220;button-one-image.jpg&#8221; and replace the old file with your new one.</p>
<p>Do the same steps with the second button images named &#8220;button-two-image.jpg&#8221; and &#8220;button-two-image-bw-light.jpg&#8221; and replace the current files with your new ones.</p>
<p><strong>vi. Customizing the Background Colors</strong> &#8211; There are two main background colors on the site, to change them, simply open the stylesheet.css file and do the following:</p>
<p><span style="text-decoration: underline;">Changing the </span><em><span style="text-decoration: underline;">&lt;body&gt;</span></em><span style="text-decoration: underline;"> background color</span> &#8211; Most of the CSS attributes that you may want to change will be placed at the top of the document. To change the background color of the &lt;body&gt; of the document, simply replace the hexadecimal color value on line 46 with the color of your choice.</p>
<p>Changing the rectangle background color &#8211; If you are going to change the &lt;body&gt; background color, you probably want to go ahead and change the background color of the <em>#rectangle_area</em> container as well so that it matches your new color scheme. To do so,   simply replace the hexadecimal color value on line 52 with the color of your choice.</p>
<p>Step 4 -Revel in Your Awesomeness</p>
<p>That&#8217;s right, you just customized your own landing page by editing HTML! You can preview it by double clicking on the index.html or loading it into your preferred browser.</p>
<div class="wppi_section_header">Step 5 &#8211; Upload the Site to Your Server</div>
<p>Now that we are done customizing, all you need to do now is upload the site! If you are unfamiliar with this process, keep reading.</p>
<p><span style="text-decoration: underline;">i. Connect to Your Site</span> -<strong> </strong>Connect to your site by using your browser web admin panel, or using an FTP software. If you need FTP software, we recommend using FileZilla as it is quite reliable, and best of all FREE! You can download it by going to Downloads.com or by clicking here. Your FTP connection information can be found in your server&#8217;s control panel, or by calling your hosting company.</p>
<p><span style="text-decoration: underline;">ii. Upload the Files</span> -<strong> </strong>After you have connected to your site, simply upload everything but the /design_files folder to the servers root directory. Usually, the root directory will be the default directory that your FTP will connect to. Make sure that you keep the file structure the same though. The images need to be within the /images folder and the index.html and splashcss.css file need to both be in the root directory.</p>
<p><span style="text-decoration: underline;">iii. Check Your Homepage</span><strong> &#8211; </strong>If everything went well, then you are live! Go check out your site by typing in the URL to your homepage.</p>
<div class="wppi_section_header">Step 6 &#8211; Do Your Victory Dance!</div>
<p>No explanation neeeded here, you should all know what this dance is since we did it in Part One.</p>
<div class="wppi_section_header">Step 7 &#8211; Advanced Editing: CSS Placement</div>
<p>OK, so for all of you interested in getting a little more into CSS, this section is for you. Now remember, we are building on what we discussed in <a href="http://www.slrlounge.com/2009/08/website-tools-photo-stack-a-one-button-splash-page-css-template/">Part One</a>, so make sure you are caught up before reading on.</p>
<p>In Part One we discussed the basics of CSS and how it applies to HTML tags, so let&#8217;s get a little more advanced and start to discuss placement and positioning of CSS elements in Simple Green. While there is a lot about CSS that we haven&#8217;t discussed, knowing some CSS attributes and positioning along with HTML tag organization will give you a good basic foundation and help you get started creating custom sites of your own.</p>
<div class="wppi_section_header">Step 8 &#8211; Blocking Out the Design in CSS</div>
<p>The first step in writing out the CSS to a newly designed webpage is to block out the major elements in the page. Now, we aren&#8217;t going to go over every item in the CSS file, but we are going to cover all the major elements. The illustration below will show you the major block elements of our Simply Green landing page. For a larger version, please download the <a href="http://www.slrlounge.com/slrlounge_downloads/simply-green-two-button-splash-template.zip">Simply Green files </a>and look in the design_files/ directory.</p>
<p><img class="aligncenter size-full wp-image-2838" title="splashpage_blockout" src="http://www.slrlounge.com/wp-content/uploads/2009/08/splashpage_blockout1.jpg" alt="splashpage blockout1 Website Tools â€“ Part 2 of 3 â€“ â€œSimply Greenâ€ â€“ A Two Button SEO Ready Landing Page CSS Template" width="561" height="421" /></p>
<p>Each design is separated into major block pieces. The easiest way to block out a design is to start with the largest element and work your way down. So, let&#8217;s start from the top with the <em>body</em> of the document.</p>
<p><strong>i. The <em>&lt;body&gt;</em></strong> &#8211; The <em>body</em> of our page is going to contain the entire site. Therefore, it makes sense that the <em>body</em> of the site fills the entire browser window. So, we have set the following attributes in the our Simply Green CSS file on line 66.</p>
<p>body {</p>
<p style="padding-left: 30px;">width:100%;</p>
<p style="padding-left: 30px;">height:100%;</p>
<p>}</p>
<p>Setting the width and height both to 100% will allow the <em>body</em> element to fill the entire browser window. In addition, any additional attributes (such as the <em>background-color</em> set on line 46) that we set in the <em>body </em>element will apply through every child element contained within.</p>
<p><strong>ii. The <em>#page_area</em></strong> &#8211; The next thing we are going to define is the <em>#page_area</em> of our document. This is the element we will use to define the general area of the page, mainly the width and height of the actual page content as shown below (line 77 of the stylesheet.css file)</p>
<p>#page_area {</p>
<p style="padding-left: 30px;">margin:auto;</p>
<p style="padding-left: 30px;">width:480px;</p>
<p style="padding-left: 30px;">height:100%;</p>
<p>}</p>
<p>Setting the <em>margin</em> to <em>auto</em> will ensure that the <em>#page_area</em> element will be centered within the <em>body</em> element. In addition, since the <em>body</em> element is set to 100% width, the <em>#page_area</em> will always stay centered regardless of the size of the window.</p>
<p><strong>iii. The <em>#content_area</em></strong> &#8211; Within the <em>#page_area</em> parent element is the <em>#content_area</em> child element. Now remember, the terms &#8220;parent&#8221; and &#8220;child&#8221; are only relative. While <em>#page_area</em> is the parent of all the elements within, it is still the child of the <em>body</em> element.</p>
<p>The <em>#content_area</em> element is going to contain our portal area content. Therefore, we are going to need to define the size, as well as give it a background as shown below (line 88 in the stylesheet.css)</p>
<p>body {</p>
<p style="padding-left: 30px;">width:100%;</p>
<p style="padding-left: 30px;">height:100%;</p>
<p>}</p>
<p>#content_area {</p>
<p style="padding-left: 30px;">width:480px;</p>
<p style="padding-left: 30px;">height:200px;</p>
<p style="padding-left: 30px;">display:block;</p>
<p style="padding-left: 30px;">background-image:url(images/content-background.png);</p>
<p style="padding-left: 30px;">position:relative;</p>
<p style="padding-left: 30px;">float:left;</p>
<p>}</p>
<p>There are a few attributes shown here that we haven&#8217;t discussed yet. I will give a brief explanation here, but I encourage you to read each item in more detail at <a href="http://w3schools.com/css/default.asp" target="_blank">W3Schools</a>.</p>
<p><strong>display:block;</strong> &#8211; Setting the display to <em>block</em> simply means that the browser will treat this element as a block element meaning any elements afterwards will be displayed below, rather than on the same line. It is similar to saying &#8220;I want a hard return after this line of text&#8221; forcing the next element down onto the next line.</p>
<p><strong>background-image:url(images/content-background.png); </strong>- I wanted to have a nice little rectangular button area with rounded corners and a drop shadow as shown below:</p>
<p><img class="aligncenter size-full wp-image-2841" title="content-background" src="http://www.slrlounge.com/wp-content/uploads/2009/08/content-background.png" alt="content background Website Tools â€“ Part 2 of 3 â€“ â€œSimply Greenâ€ â€“ A Two Button SEO Ready Landing Page CSS Template" width="480" height="200" /></p>
<p>So, I needed to use an actual image for the background since there is no way (presently) to create that look with CSS alone. So, the <em>background-image</em> attribute simply assigns a background image to the element. However, remember that the background will only be revealed to the extent of the content within. Meaning, if you asign a background to an element without a set height and width, the background will only be shown to the extent that the content within fills the element (this will make more sense when you start practicing with the <em>background-image </em>attribute).</p>
<p><strong>position: relative;</strong> &#8211; Setting the position to <em>relative</em> means that its positioning will be in relation to whatever element it is contained within. It simply makes custom and unique positioning more simple and customizable. Using relative positioning allows you to use<em> floats</em>, which are described next.</p>
<p><strong>float: left; </strong>- Once you have set the position to relative, you can use floats to position an element in a specific spot within the element. Floating an object left, means that it will be left-aligned to whatever object is directly in front of it.</p>
<p><strong>iv. <em>#rectangle_area</em></strong> &#8211; Now, because I wanted to have a rectangle with a different color inside of the <em>#content_area</em> I created another element within called the<em> #rectangle_area</em>. To do so, we simply set the color and size of the element as shown below.</p>
<p>#rectangle_area {</p>
<p style="padding-left: 30px;">margin:20px;</p>
<p style="padding-left: 30px;">width:440px;</p>
<p style="padding-left: 30px;">height:160px;</p>
<p style="padding-left: 30px;">position:relative;</p>
<p style="padding-left: 30px;">float:left;</p>
<p style="padding-left: 30px;">background-color:#D8EFE0;</p>
<p>}</p>
<p>Hopefully, you are beginning to see the pattern here. We are simply defining each element according to our design. It is going to be the organzation of the <em>HTML</em> that will give our design form as you will see shortly.</p>
<p><strong>v. Buttons and Logo Elements</strong> &#8211; The only other major elements in our design are going to be the positioning and sizing of the button and logo elements. Most everything will be the same as our previous elements, so I am only going to discuss the noteworthy portions below.</p>
<p>#portal_button_one {</p>
<p style="padding-left: 30px;">position:relative;</p>
<p style="padding-left: 30px;">float:left;</p>
<p style="padding-left: 30px;">margin:20px 0px 0px 10px;</p>
<p style="padding-left: 30px;">border:1px solid #fff;</p>
<p>}</p>
<p>#portal_button_two {</p>
<p style="padding-left: 30px;">position:relative;</p>
<p style="padding-left: 30px;">float:left;</p>
<p style="padding-left: 30px;">margin:20px 0px 0px 0px;</p>
<p style="padding-left: 30px;">border:1px solid #fff;</p>
<p>}</p>
<p>There are two noteworthy items in our button elements.<em> </em> Each are discussed below:</p>
<p><strong><em>margin: 20px 0px 0px 10px;</em></strong> &#8211; The<em> margin </em>attribute is simply used to create a margin between it and its parent element. It is shown in both button elements in shorthand, each item defines the top right bottom and left margins in that specific order. So, for button one we specified that we wanted a 20px top margin, no right or bottom margins and a 10px left margin.</p>
<p><em><strong>border:1px solid #fff; </strong></em>- The <em>border</em> attribute simply applies a border to the element. Again, it is shown here in short hand which specifies that we want the border to be 1px in thickness, styled as a solid line (as opposed to a broken or dotted line) and set to the color white (#fff).</p>
<p>#logo {</p>
<p style="padding-left: 30px;">position:relative;</p>
<p style="padding-left: 30px;">float:left;</p>
<p style="padding-left: 30px;">height:90px;</p>
<p style="padding-left: 30px;">margin-top:50px;</p>
<p style="padding-left: 30px;">margin-left:10px;</p>
<p>}</p>
<p>The logo element uses attributes we have already discussed. It is worth noting the long hand margin attributes. The same attribute could have been set by using the shorthand version as such:</p>
<p><em>margin: 50px 0px 0px 10px;</em></p>
<div class="wppi_section_header">Step 9 &#8211; Organizing the HTML elements</div>
<p>While we have discussed how to define the CSS elements according to our design, you are probably noticing that we really didn&#8217;t define anything that has to do with the actual positioning of each element. Why? Because this step actually comes in the organization of the HTML code itself.</p>
<p>Now, remember that all we need to do with the HTML is simply place each child container in its parent container as shown in our blockout image. So, if we were to remove all the actual text and image content in the HTML file, this is what the organization of the containers within the <em>body</em> would look like. Just an FYI, I have removed all the containers that we haven&#8217;t discussed to keep it simple and straightforward.</p>
<p>&lt;body&gt;</p>
<p style="padding-left: 30px;">&lt;div id=&#8221;page_area&#8221;&gt;</p>
<p style="padding-left: 60px;">&lt;div id=&#8221;content_area&#8221;&gt;</p>
<p style="padding-left: 90px;">&lt;div id=&#8221;rectangle_area&#8221;&gt;</p>
<p style="padding-left: 120px;">&lt;div id=&#8221;portal_button_one&#8221;&gt;<br />
&lt;/div&gt;</p>
<p style="padding-left: 120px;">&lt;div id=&#8221;portal_button_two&#8221;&gt;<br />
&lt;/div&gt;</p>
<p style="padding-left: 120px;">&lt;div id=&#8221;logo&#8221;&gt;<br />
&lt;/div&gt;</p>
<p style="padding-left: 120px;">&lt;div id=&#8221;portal_button_one_text&#8221;&gt;<br />
&lt;/div&gt;</p>
<p style="padding-left: 120px;">&lt;div id=&#8221;portal_button_two_text&#8221;&gt;<br />
&lt;/div&gt;</p>
<p style="padding-left: 90px;">&lt;/div&gt;</p>
<p style="padding-left: 60px;">&lt;/div&gt;</p>
<p style="padding-left: 30px;">&lt;/div&gt;</p>
<p>&lt;/body&gt;</p>
<p>Before analyzing this snippet of code, let&#8217;s talk a bit about what we are looking at. We discussed HTML tags in Part One as different elements that had a specific purpose, some are predefined, others are custom, however all of them can be styled with CSS.</p>
<p>You know that the <em>&lt;body&gt;</em> tag is simply the HTML tag telling the browser where our page content begins and ends. We stylized our <em>&lt;body&gt;</em> tag in our CSS to ensure that it fit the entire browser window.</p>
<p>Next, a <em>&lt;div&gt;&lt;/div&gt;</em> tag is simply a container in HTML. What does it contain? Anything you want! It can be text, an image, a script, anything really. Each <em>&lt;div&gt;</em> container is given an &#8220;id&#8221; which is assigned to the CSS attribute that defines its respective style.</p>
<p>So, let&#8217;s talk about the organization and how it all comes together.</p>
<p>Our highest level parent object is the<em> &lt;body&gt;</em> which is also the HTML tag that defines the content area, so it makes sense that it comes first. Next, we place our<em> page_area</em> container within the <em>&lt;body&gt; </em>because it is the first child element of the <em>&lt;body&gt;</em>. Within the <em>page_area</em> container, is the <em>content_area</em> container followed by the<em> rectangle_area</em> container. How does the browser know that these elements are contained within eachother? Well, its simple, because we didn&#8217;t end one container before starting the next.</p>
<p>We opened the <em>body</em> tag, then the <em>page_area</em> div, then the <em>content_area </em>div, then the <em>rectangle_area </em>div before closing anything. This means that each container is contained within the prior and each container has the styles and attributes applied to them as defined in our CSS file and assigned with the &#8220;id&#8221;.</p>
<p>Now, inside the<em> rectangle_area </em>div container is where our buttons and logo are actually placed. So, you will notice that the <em>portal_button_one </em>is started first. Inside, is the button image and content. Then, <em>portal_button_one</em> is closed and <em>portal_button_two</em> is started. These elements are placed right next to eachother since the CSS defines their positioning as floating left. This means that when button one ends, button two will be placed right next to it left aligned. Then, when the container for button two is closed, the logo is placed next to that.</p>
<p>From there, we begin to close each container begining with the last first. So, we close the <em>rectangle_area</em> div container, then the <em>content_area</em>, then <em>page_area</em>, and last the <em>body</em>. So, by organizing how our div containers are placed within one another, as well as assigning sizing and attributes in CSS we can flesh out an entire design and get it ready for the web!</p>
<p>Hopefully this all made sense, if not, read a bit more at <a href="http://w3schools.com/css/default.asp" target="_blank">W3Schools</a> practice with some simple sites, and you should be up and sprinting in no time!</p>
<p>Those of you familiar with SEO will note that there isn&#8217;t all that much on the flash page to prepare for SEO! So, our final article, Part 3 of this template series will be a three button landing page with a heading and text area for you to keyword up. In addition, this tutorial concludes the CSS training portion of the template series. The final series will have an advanced section that teaches you strictly about preparing your landing page for SEO. So, stay tuned!</p>
<p>If you have any questions, or comments please list them below in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.slrlounge.com/website-tools-%e2%80%93-part-2-of-3-%e2%80%93-%e2%80%9csimply-green%e2%80%9d-%e2%80%93-a-two-button-seo-ready-landing-page-css-template/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Website Tools &#8211; Part 1 of 3 &#8211; &#8220;The Photo Stack&#8221; &#8211; A One Button SEO Ready Landing Page CSS Template</title>
		<link>http://www.slrlounge.com/website-tools-photo-stack-a-one-button-splash-page-css-template</link>
		<comments>http://www.slrlounge.com/website-tools-photo-stack-a-one-button-splash-page-css-template#comments</comments>
		<pubDate>Fri, 07 Aug 2009 07:03:56 +0000</pubDate>
		<dc:creator>Pye</dc:creator>
				<category><![CDATA[CSS Resources]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[SEO & Web]]></category>
		<category><![CDATA[CSS Template]]></category>
		<category><![CDATA[CSS Tutorial]]></category>
		<category><![CDATA[Portal Page Template]]></category>
		<category><![CDATA[Splash Page Template]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Tutorial]]></category>
		<category><![CDATA[Website Template]]></category>
		<category><![CDATA[Website Tutorial]]></category>

		<guid isPermaLink="false">http://www.slrlounge.com/?p=2599</guid>
		<description><![CDATA[Your landing page is not only the first thing clients see, it is also the first thing search engines see! It is crucial to create a landing page that not only looks great, but is also well equipped and SEO (Search Engine Optimization) prepped. This  is the first entry of a three part blog series [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2628" title="photo-stack-slrlounge-screenshot" src="http://www.slrlounge.com/wp-content/uploads/2009/08/photo-stack-slrlounge-screenshot.jpg" alt="photo stack slrlounge screenshot Website Tools   Part 1 of 3   The Photo Stack   A One Button SEO Ready Landing Page CSS Template" width="561" height="374" /></p>
<p>Your landing page is not only the first thing clients see, it is also the first thing search engines see! It is crucial to create a landing page that not only looks great, but is also well equipped and SEO (Search Engine Optimization) prepped.</p>
<p>This   is the first entry of a three part blog series on creating your own SEO ready CSS landing/portal page using our templates. Each entry in this series will get a little deeper in functionality and SEO allowing you to have more portal buttons and more text. To see the &#8220;Photo Stack&#8221; template in action  <a href="http://www.slrlounge.com/templates/one-button-splash-css-template/index.html" target="_blank">click here.</a></p>
<p>So, for those of you that just want a simple, customizable one button, SEO ready portal page, then simply download the files, do a tiny bit of simple editing completing steps 1 &#8211; 5, and you are good to go. While this article may seem long, the estimated time to complete steps 1 -5 for a complete beginner is less than 1 hour. So you have no excuse!</p>
<p>However, for those that are interested, these tutorials will also go one step further to help all of you DIY photographers out there learn a bit more about web design, CSS, and HTML coding and most importantly SEO (steps 6 &#8211; 9). Good news, though, it is really much more simple than it looks and sounds. So, without any further adieu, let&#8217;s jump right in.<span id="more-2599"></span></p>
<div class="wppi_section_header">Step 1 &#8211; Downloading the Files</div>
<p>The first thing you will want to do is download the files for the Photo Stack landing page by <a href="http://www.slrlounge.com/slrlounge_downloads/photo-stack-one-button-splash-page-template.zip">clicking here</a>.</p>
<div class="wppi_section_header">Step 2 &#8211; Understanding the Files</div>
<p>The files are organized into the following:</p>
<p><strong>/design_files</strong> &#8211; These are the files used in the design process. We used Adobe Illustrator to create the layout, and thus we have included the .AI file in case any of you want to take the editing one step further and customize the design further. There is also a screenshot so you can quickly see the template design without loading it in the browser.</p>
<p><em>NOTE &#8211; there are no files in the /design_files folder that are actually used by the website. So you don&#8217;t need to upload it when uploading your website to your server.</em></p>
<p><strong>/images</strong> &#8211; These are the image files that are used by the website code. You will need to upload these to your server when you have finished customizing your site.</p>
<p><strong>index.html</strong> &#8211; This is the actual landing page itself. It contains all of the content of the page. It is named <em>index.html</em> because it is going to be the first page viewed when a user types in your website URL.</p>
<p><strong>splashcss.css</strong> &#8211; This is a CSS (Cascading Style Sheet) file that is used to stylize the <em>index.html</em> page. It basically defines the look, placement and location of elements, colors, etc inside of the <em>index.html</em> file.</p>
<div class="wppi_section_header">Step 3 &#8211; Customizing the Site</div>
<p>Before you can upload your landing page, we need to customize it so it is for your studio rather than for <a href="http://www.linandjirsa.com" target="_blank">Lin and Jirsa Photography</a>! Don&#8217;t worry though, we are going to walk you through each step, and once you finish you are going to revel in your new HTML editing skills!</p>
<p><strong>i. Open the </strong><em><strong>index.html</strong></em><strong> for editing &#8211; </strong>You can open the <em>index.html</em> file in any standard text editor such as Notepad or Wordpad, or a code editor such as Adobe Dreamweaver. If you do open the file in Notepad or Wordpad, just make sure that you don&#8217;t change the file extension (.html) when you save the file. It should always read <em>index.html</em></p>
<p><strong>ii. Understanding the web page structure &#8211; </strong>Webpages are broken into two main parts, the first being the <em>&lt;head&gt;</em> of the document, which is everything located inbetween the <em>&lt;head&gt; &lt;/head&gt;</em><strong> </strong>tags and the second being the <em>&lt;body&gt;</em> which is everything located between the <em>&lt;body&gt;&lt;/body&gt;</em> tags.</p>
<p>The <em>&lt;head&gt;</em> of the document is going to contain information that is used by the server, browser, search engine, etc which are for the most part not visible to the person browsing the site. In fact, your first step in SEO is actually writing out the content within the <em>&lt;head&gt;</em> of your document. In addition, style information, scripting languages, meta tags, and more are going to be contained in the head of your html document. All of which are considered &#8220;under the hood&#8221; and won&#8217;t be viewable by the person browsing the site.</p>
<p>The <em>&lt;body&gt;</em> of the document is going to contain all of the content which your viewers will see and read. Your images, text content and everything else you want viewers to see   goes within the <em>&lt;body&gt;</em> of your page.</p>
<p><strong>iii. Customizing the </strong><em><strong>&lt;head&gt;</strong></em><strong> section </strong>- There are three areas you are going to customize in the <em>&lt;head&gt;</em> of the document. Each are marked in the <em>index.html </em>file by comments. Comments are descriptions and explanations in the code that are marked so they are not displayed by the browser. HTML comments are denoted by anything that goes within the <em>&lt;!&#8211; and &#8211;&gt;</em>. The three areas you will edit are discussed below:</p>
<p><span style="text-decoration: underline;">Title (Line 16)</span> &#8211; The <em>&lt;title&gt;</em> tag is a short piece of text that will be displayed on top of the browser window and is the most important tag within the <em>&lt;head&gt;</em> of your document for SEO (Search Engine Optimization). So you want to make sure it is brief, descriptive and under 70 characters in total length. To edit this section, simply place your title text in between the <em>&lt;title&gt; &lt;/title&gt;</em> tags. An example could be &#8220;Lin and Jirsa Wedding Photography and Engagement Photography.&#8221;</p>
<p><span style="text-decoration: underline;">Meta Description (Line 9)</span> &#8211; Yet another tag for SEO, the <em>&lt;meta name=&#8221;description&#8221;&gt;</em> tag is mainly used by search engines as the little bit of text copy that describes your site. For example, in Google, if you typed in Lin and Jirsa Photography, the text description that shows up below each search result is pulled from the meta description tag when declared. So, it is important that this section contain a brief little summary of your studio and services. Google only reads the first 150 characters, so we advise you keep it under 150 characters in length. To edit this section, simply place your text between the &#8221; &#8221; marks after content =</p>
<p><span style="text-decoration: underline;">Meta Keywords (Line 12)</span> &#8211; While not as important today for SEO as it was in the past, the  <em>&lt;meta name=&#8221;keywords&#8221;&gt;</em> tag is used by search engines to categorize what your site is all about. Today, search engines such as google place much more emphasis on your site <em>&lt;title&gt;</em> along with the actual content contained in your site in order to properly categorize and index your website. In this section, you want to place about 10 keywords or less that describe your website and studio services. For example, &#8220;wedding photography&#8221; , &#8220;wedding photojournalism&#8221;, etc. Remember, less is more. If you exceed 10 keywords, search engines may ding you for &#8220;spamming&#8221; keywords. To edit this section, simply place your keyword text between the &#8221; &#8221; marks after the content =</p>
<p>Ok, good news, you are almost half way there already! We just finished the <em>&lt;head&gt;</em> of the document, and now we just need to edit a little of the <em>&lt;body&gt;</em> of the document and then we are done!</p>
<p><strong>iv. Customizing the </strong><em><strong>&lt;body&gt;</strong></em><strong> section</strong> &#8211; The only thing we need to change with the  <em>&lt;body&gt;</em> of the document is the URL link that will point to your site, but we are going to need to change it in 4 places.</p>
<p><span style="text-decoration: underline;">Line 32 </span><em><span style="text-decoration: underline;">&lt;a href&gt;</span></em><em> &#8211; &lt;a href&gt;</em> is an HTML tag that stands for an Anchor Hypertext Reference, or otherwise known as a link/URL (yeah, seriously, why didn&#8217;t they just call it a link to begin with?). Currently, all of the links point to a dummy location which is http://www.YOURSITEGOESHERE.com. I wrote it that way so that it would stand out =). So, as most of you have guessed by now, you want to place the link of the site that you want this portal page to link. To do so, simply replace the http://www.YOURSITEGOESHERE.com with wherever you want it to link.</p>
<p><span style="text-decoration: underline;">Line 39</span> &#8211; Same change as above, this time it applies to the picture sitting on top of the picture stack.</p>
<p><span style="text-decoration: underline;">Line 42</span> &#8211; Same change as on Line 32, this time it applies to your logo.</p>
<p><span style="text-decoration: underline;">Line 51</span> &#8211; Same change as on Line 32, this time it applies to the text &#8220;ENTER FLASH PORTFOLIO&#8221;</p>
<p>Now, all of your links should be pointing to the right location. Also, keep in mind that if you don&#8217;t want the text to say &#8220;ENTER FLASH PORTFOLIO&#8221; simply change it to whatever you do want it to say! Such as &#8220;ENTER WEBSITE&#8221; or whatever floats your boat!</p>
<p><strong>OPTIONAL</strong> &#8211; On each of our landing pages we included a tiny link in the footer that gives SLRLounge and Lin and Jirsa Photography a little bit of link love. We mention it here because we don&#8217;t want to seem sneaky by hiding things from you.  The link text is very small and virtually unnoticable, so we ask that you keep the link on the site. However, if you must remove the link, then we ask that you add the following code snippet to any one of your sites. You can do it in a blog entry, or on a remote resource page somewhere on your site, it really doesn&#8217;t matter. This will help us to keep providing you with these free, professional tutorials and resources for free. Here is the link code:</p>
<p>&lt;a href=&#8221;http://www.slrlounge.com&#8221; target=&#8221;_blank&#8221; description=&#8221;Wedding photography tutorials, tips and resources&#8221;&gt;Photography Tutorials, Tips and More at SLRLounge&lt;/a&gt; a website by &lt;a href=&#8221;http://www.linandjirsa.com&#8221; target=&#8221;_blank&#8221; description=&#8221;Los Angeles Wedding Photography&#8221;&gt;Lin and Jirsa Los Angeles Wedding Photography&lt;/a&gt;</p>
<p>Great job! We are now done editing our HTML and the only thing we have left to do is customize the images.</p>
<p><strong>v. Customizing the Images </strong>- Obviously you don&#8217;t want to use our picture and logo for your site, so here is how to change it. Be warned, this is so easy that it might just confuse you.</p>
<p><span style="text-decoration: underline;">Replacing the Logo</span> &#8211; To replace the logo, simply create your logo and size it to 200&#215;60 (200 pixels wide by 60 pixels tall). Save the file as logo.png and replace the current logo.png file contained in the /images folder. Viola! Now your logo is on the site.</p>
<p><em>NOTE &#8211; If you save the logo file as a .jpg you will need to change the code on line 42 to read <strong>images/logo.jpg</strong> rather than images/logo.png. Otherwise your image will not be displayed.</em></p>
<p><span style="text-decoration: underline;">Replacing the Top Image</span> &#8211; To replace the image on top of the picture pile, simply create whatever image you like and size it to 420&#215;200 (420 pixels wide by 200 pixels tall). Save the file as front-picture-image.jpg and replace the current front-picture-image.jpg file with your new file!</p>
<div class="wppi_section_header">Step 4 -Revel in Your Awesomeness</div>
<p>That&#8217;s right, you just customized your own landing page by editing HTML! You can preview it by double clicking on the index.html or loading it into your preferred browser.</p>
<div class="wppi_section_header">Step 5 &#8211; Upload the Site to Your Server</div>
<p>Now that we are done customizing, all you need to do now is upload the site! If you are unfamiliar with this process, keep reading.</p>
<p><span style="text-decoration: underline;">i. Connect to Your Site</span> -<strong> </strong>Connect to your site by using your browser web admin panel, or using an FTP software. If you need FTP software, we recommend using FileZilla as it is quite reliable, and best of all FREE! You can download it by going to Downloads.com or by clicking here. Your FTP connection information can be found in your server&#8217;s control panel, or by calling your hosting company.</p>
<p><span style="text-decoration: underline;">ii. Upload the Files</span> -<strong> </strong>After you have connected to your site, simply upload everything but the /design_files folder to the servers root directory. Usually, the root directory will be the default directory that your FTP will connect to. Make sure that you keep the file structure the same though. The images need to be within the /images folder and the index.html and splashcss.css file need to both be in the root directory.</p>
<p><span style="text-decoration: underline;">iii. Check Your Homepage</span><strong> &#8211; </strong>If everything went well, then you are live! Go check out your site by typing in the URL to your homepage.</p>
<div class="wppi_section_header">Step 6 &#8211; Do Your Victory Dance!</div>
<p>No explanation neeeded here, you all know what this is.</p>
<div class="wppi_section_header">Step 7 &#8211; Advanced Editing</div>
<p>For those of you that want to get a little more in depth and do some CSS editing, this section is for you.</p>
<div class="wppi_section_header">Step 8 &#8211; Understanding CSS and How it Works</div>
<p>Cascading Style Sheets or CSS for short looks a little complicated, but it isn&#8217;t bad at all. In fact, it is simply a document that contains descriptions of how you want certain html elements to look, and where to be placed. For the most part, the CSS file is quite intuitive and readable. But, here is a little crash course on CSS to get you started in editing your landing page (for more detailed information on all the different attributes and styles, <a href="http://www.w3schools.com" target="_blank">W3 Schools</a> is a great free CSS learning resource).</p>
<div style="margin: 0px 0 20px 25px;"><script src="http://www.bluehost.com/src/js/slrlounge/CODE126/620x203/bh_620x203_05.jpg" type="text/javascript"></script></div>
<p><strong>i. CSS applies to HTML tags</strong> &#8211; CSS works by simply defining style attributes that get assigned to HTML tags. For example, if you open and view the splashcss.css file in any text or code editor, you will notice that each CSS attribute has the following format:</p>
<p><em>name {</em></p>
<p><em>property:value;</em></p>
<p><em>property:value;</em></p>
<p><em>}</em></p>
<p>The &#8220;name&#8221; is simply the name of the HTML tag you wish to affect (referred to properly as a &#8220;selector&#8221;). For example, on line 54 of the file you will see <em>body { }</em> which assigns styling to everything in the HTML <em>&lt;body&gt; &lt;/body&gt;</em> tags. After declaring the name, you start with a { which denotes the begining, and end with a } which denotes the end of the styling for the &#8220;name&#8221; selector. All of the attributes you then want applied to the &#8220;name&#8221; tag would go between the { and }. Each styling attribute is referred to as a property and is followed by its given value.</p>
<p>On line 59 you will see <em>p { }</em> which assigns styling to text inside the paragraph  <em>&lt;p&gt; &lt;/p&gt;</em> tags</p>
<p>On line 48 you will see <em>* { } </em>the asterisk means that you want to assign those styling attributes to the entire document denoted by the *</p>
<p>So, if we want all of the text inside of the <em>&lt;body&gt;</em> tag to default to Times New Roman and be 10px Tall you would type the following into the CSS:</p>
<p><em>body {</em></p>
<p><em>font-family: &#8220;Times New Roman&#8221;;</em></p>
<p><em>font-size:10px;</em></p>
<p><em>}</em></p>
<p>Now, all text within the <em>&lt;body&gt;&lt;/body&gt;</em> tags in our HTML will default to 10px Times New Roman. You can see how powerful CSS can be because instead of changing describing the font/size and other attributes multiple times throughout the HTML file, we can do it once in our CSS document and apply it to every page throughout an entire site!</p>
<p><strong>ii. Why Cascading?</strong> &#8211; So what does the Cascading in Cascading Style Sheets mean? Well, this is the most difficult concept in CSS to understand, and be happy because it really isn&#8217;t all that difficult. Cascading simply means that each style rolls down from parent to child in your HTML. In other words, above we changed the text located within the <em>&lt;body&gt; </em>tag to 10px Times New Roman. This means that every element that is contained within the <em>&lt;body&gt;&lt;/body&gt;</em> tags will also have that same default style applied. So  <em>&lt;body&gt;</em> is the &#8220;Parent&#8221;, and anything inside is the &#8220;Child.&#8221; Child elements are also considered Parents though to whatever elements are contained inside of them.</p>
<p>So, anything applied to a Parent applies to the Child within. If you want to change the style of the Child, then you need to create another CSS style attribute that applies to the child.</p>
<p><em>IMPORTANT NOTE &#8211; Styles that are applied to a Child element override any styling that cascades down from a parent element.</em></p>
<p>To help clarify, here is a snippet of HTML code:</p>
<p><em>&lt;body&gt;</em></p>
<p style="padding-left: 30px;"><em>&lt;div id=&#8221;text&#8221;&gt;</em></p>
<p style="padding-left: 60px;"><em>&lt;p&gt;This is our test paragraphy&lt;/p&gt;</em></p>
<p style="padding-left: 30px;"><em>&lt;/div&gt;</em></p>
<p><em>&lt;body&gt;</em></p>
<p>Before explaining, let me just note that a <em>&lt;div&gt;</em> is simply a container for something in HTML. So, in this example <em>&lt;body&gt;</em> is the Parent of the <em>&lt;div&gt;</em> named &#8220;text&#8221; and <em>&lt;div&gt;</em> is the Parent of the paragraph element <em>&lt;p&gt;</em>. What does that mean? That means anything applied to <em>&lt;body&gt;</em> applies to the <em>&lt;div&gt;</em> called &#8220;text&#8221; and also to the paragraph element <em>&lt;p&gt;</em>; Anything applied to the <em>&lt;div&gt;</em> element applies to the paragraph element <em>&lt;p&gt;</em> and anything applied to the paragraph element <em>&lt;p&gt;</em> only applies to itself.</p>
<p>So, what if I want most of the text in the <em>&lt;body&gt;</em> to be in Times New Roman except for that tiny piece inside of the &#8220;text&#8221; <em>&lt;div&gt;</em> container. Well, I would write the following in my CSS:</p>
<p><em>body {</em></p>
<p style="padding-left: 30px;"><em>font-family: &#8220;Times New Roman&#8221;;</em></p>
<p><em>}</em></p>
<p><em>#text {</em></p>
<p style="padding-left: 30px;"><em>font-family: &#8220;Arial&#8221;;</em></p>
<p><em>}</em></p>
<p>Now, all text in the document will be Times New Roman, except for whatever is within the &#8220;text&#8221; <em>&lt;div&gt;</em> as assigned by the #text CSS code. Don&#8217;t worry too much about syntax right now. The goal for now is to simply understand the CSS, and be able to edit it, rather than create it on your own.</p>
<p>Ok, so now you should have a basic understanding of how CSS elements &#8220;cascade&#8221; from parent to child elements. You can also start to see how effective and powerful this form of styling can be.</p>
<p><strong>iii. Studying splashcss.css: </strong>So now, let&#8217;s go look back at our CSS file splashcss.css. You will notice that I have placed attributes for items that users may likely want to change at the very top of the document. The rest of the attributes are located below from line 44 on down through the document. So, a quick explaination of the first few items to help you get started.</p>
<p>The <em>* { }</em> on line 8 applies a site wide style (denoted by the *) to set the font to first Arial, if Arial is unavailable, then it chooses Helvetica, and if Helvetica is unavailable it will choose any sans-serif font.</p>
<p>The a <em>{ }</em> on line 18 applies a site wide style to every anchor tag (URL) <em>&lt;a href=&#8221;"&gt;&lt;/a&gt; </em>to change the decoration, weight, color and size of the link text.</p>
<p>The <em>a:hover { }</em> on line 32 applies a site wide style to every anchor tag (URL) when being hovered by a mouse. So, when hovered, all links on the site will be underlined.</p>
<div class="wppi_section_header">Step 9 &#8211; Going One Step Further</div>
<p>You should now have a basic understanding of how CSS works and how it applies to your HTML document. Now, its time to read a little more and start playing around. Remember, CSS styles can not only affect the looks of an element, but also the positioning.  We recommend reading through the CSS tutorials at <a href="http://www.w3schools.com/css/default.asp" target="_blank">W3Schools</a> and start playing around on your own. Simply make a copy of the files you downloaded on this tutorial, and start playing around. Don&#8217;t worry if something breaks, you can always go back to the original, or download everything again from here.</p>
<p>If you found this article useful, share the love! Tweet us, comment below, send us a link, Digg us, it&#8217;s all good!</p>
<p>If you would like to help us keep SLR Lounge alive, please include this link code anywhere on your site:</p>
<p>&lt;a href=&#8221;http://www.slrlounge.com&#8221; target=&#8221;_blank&#8221; description=&#8221;Wedding photography tutorials, tips and resources&#8221;&gt;Photography Tutorials, Tips and More at SLRLounge&lt;/a&gt; a website by &lt;a href=&#8221;http://www.linandjirsa.com&#8221; target=&#8221;_blank&#8221; description=&#8221;Los Angeles Wedding Photography&#8221;&gt;Lin and Jirsa Los Angeles Wedding Photography&lt;/a&gt;</p>
<p>By: <a title="Lin and Jirsa Photography" href="http://www.linandjirsa.com/" target="_blank"><strong>Lin and Jirsa Wedding Photography</strong></a>, Los Angeles and Orange County Wedding Photographers</p>
<p>_______________________________________________________________________________<br />
If you&#8217;ve found this article informative, please consider donating below:</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="7147549" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="pixel Website Tools   Part 1 of 3   The Photo Stack   A One Button SEO Ready Landing Page CSS Template" width="1" height="1" title="pixel" /><br />
</form>
<p>_______________________________________________________________________________</p>
]]></content:encoded>
			<wfw:commentRss>http://www.slrlounge.com/website-tools-photo-stack-a-one-button-splash-page-css-template/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>3 Site Simplistic Editable CSS Splash Page Template Version 1</title>
		<link>http://www.slrlounge.com/website-tools-simple-editable-css-splash-page-template-version-1</link>
		<comments>http://www.slrlounge.com/website-tools-simple-editable-css-splash-page-template-version-1#comments</comments>
		<pubDate>Wed, 05 Aug 2009 02:22:26 +0000</pubDate>
		<dc:creator>Pye</dc:creator>
				<category><![CDATA[CSS Resources]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[SEO & Web]]></category>

		<guid isPermaLink="false">http://www.slrlounge.com/?p=2575</guid>
		<description><![CDATA[Most photographers have at least 2 sites (a portfolio and blog) if not more. Thus, our websites require a splash/portal page that allows our clients to access any of our sites with ease. While we have a good foundation in web programming, we realize that this may be a daunting process for those of you [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2581" title="screenshot" src="http://www.slrlounge.com/wp-content/uploads/2009/08/screenshot.jpg" alt="screenshot 3 Site Simplistic Editable CSS Splash Page Template Version 1" width="550" height="366" /></p>
<p>Most photographers have at least 2 sites (a portfolio and blog) if not more. Thus, our websites require a splash/portal page that allows our clients to access any of our sites with ease. While we have a good foundation in web programming, we realize that this may be a daunting process for those of you starting your own photography companies. So we went ahead and created a simple, SEO ready, customizable splash/portal page that you guys can easily implement on your own website. While it is more simple than the <a href="http://www.linandjirsa.com" target="_blank">Lin and Jirsa Los Angeles Wedding Photography home page</a>, this template is nice and elegant and will give you a great start in getting hands on with HTML and CSS programming.<span id="more-2575"></span></p>
<p>If you guys like this template, then we will go ahead and create more, so let us know in the comments! This template has been tested in Explorer, Firefox and Chrome. Feel free to use this template on your site, customize it, study the code, or do whatever else you like.   However, since we are providing these tools for free though, we do ask that you don&#8217;t remove the virtually unnoticeable link to our site in the page footer.</p>
<div class="wppi_section_header">Customization Instructions</div>
<p>Before you get around to installing the page on your server, you will want to customize the page and add in all your text and images. So, here is how to get started.</p>
<p><strong>1)</strong> Download the files by clicking here</p>
<p><strong>2)</strong> Unzip the files to any folder and open the <strong>index.html</strong> file in a simple text editor such as Wordpad, Notepad, or a code editor such as Dreamweaver.</p>
<p><strong>3) </strong>In the code, you will notice instructions on how to fill everything into the page. Instructions are located in the comments which are denoted by the text in between the <em><strong>&lt;!&#8211; and &#8211;&gt;</strong></em> . Keep in mind that anything inside of brackets such as these <strong><em>&lt;&gt; </em></strong>is actually HTML code and you want to make sure you understand HTML before you go editing it.</p>
<p><strong>4) </strong>First section you will want to edit is the text within the <strong><em>&lt;head&gt; &lt;/head&gt;</em></strong> of the document. This section is mainly used to help search engines, such as Google, better index and classify your site. So complete your DESCRIPTION, KEYWORDS and TITLE section and then move on to the <strong><em>&lt;body&gt; &lt;/body&gt;</em></strong> of the html document.</p>
<p><strong>5)</strong> Everything in the <strong><em>&lt;body&gt; &lt;/body&gt;</em></strong> tags of the document is where everything visible to users will appear. So, in this section you want to modify all of the text to properly promote your studio. Again, to quickly find the areas you need to modify, look for the instruction text placed in between the <strong><em>&lt;!&#8211; and &#8211;&gt;</em></strong>.</p>
<p><strong>6) </strong>The images currently placed in the site are just placeholders. You will want to replace these images with your own. To do so, simply replace each image named <strong>button-image-one.jpg</strong>, <strong>button-image-two.jpg</strong> and <strong>button-image-three.jpg</strong> in the /images folder with the appropriate image. Remember to size your image to 200&#215;200 pixels to make sure it fits within the template.</p>
<div class="wppi_section_header">CSS Customization</div>
<p>The CSS document <strong>splashpage.css </strong>is where all the style information is contained for the splash page. CSS is quite easy and intuitive to understand. However, it is beyond the scope of this tutorial. If you do wish to edit the CSS, we recommend that you do a little bit of reading at <a href="http://www.w3schools.com/css/default.asp" target="_blank">http://www.w3schools.org</a> on CSS before proceeding. We made the CSS document very easy and clear to edit, to find the section you are looking to edit, simply look to the comments denoting each section as marked by the <strong><em>/* and */</em></strong> characters.</p>
<div class="wppi_section_header">Installation Instructions</div>
<p>Once you have properly edited all the text, links and images within the index.html file you are going to upload the files to your server. To do so, simply do the following.</p>
<p><strong>1)</strong> Connect to your server using your preferred FTP client. A good free client is FileZilla which can be downloaded at <a href="http://download.cnet.com/FileZilla/3000-2160_4-10308966.html?tag=mncol" target="_blank">http://www.downloads.com</a></p>
<p><strong>2)</strong> Once you have connected, transfer all the files into the desired location on your server. If you want the splash page to be the first page that shows up when clients type in your URL, then you need to place the index.html file into the root directory of your server. Both the <strong>splashpage.css</strong> file and the images folder needs to also be within the same folder as the index.html file to properly work. If you already have an image folder, transfer the images contained in this tutorial&#8217;s image folder to the folder on your site.</p>
<p><strong>3)</strong> Viola! If everything worked correctly, you should be able to type in your URL and see your new, customized, and SEO ready splash page!</p>
<p>If you like this article, and would like to see more articles on website tutorials, please let us know in the comments below!</p>
<p>By: <a title="Lin and Jirsa Photography" href="http://www.linandjirsa.com/" target="_blank"><strong>Lin and Jirsa Los Angeles Wedding Photography</strong></a>, Los Angeles and Orange County Wedding Photographers<br />
_______________________________________________________________________________<br />
If you&#8217;ve found this article informative, please consider donating below:</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="7147549" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="pixel 3 Site Simplistic Editable CSS Splash Page Template Version 1" width="1" height="1" title="pixel" /><br />
</form>
<p>_______________________________________________________________________________</p>
]]></content:encoded>
			<wfw:commentRss>http://www.slrlounge.com/website-tools-simple-editable-css-splash-page-template-version-1/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.slrlounge.com @ 2012-02-09 01:59:27 -->
