|
|
Making your Websites More Compelling
The Internet is a remarkable publishing medium. With just a little effort, you can make your web pages visually irresistible by playing with color, shapes and text. Whether your websites are already launched or you're ready to create your first few,...
Optimize Your Website or Get Lost in the Crowd!
It used to be that designing an attractive website to promote your company and products was fairly straightforward. After you designed your site and built a few keywords into the code, you would simply submit the site to the search engines or a...
Tips for Web Design
Tips for Web Design (Written by Sam Lim) While designing your own web sites, there are some important points that you have to take note of. Please do not make the following mistakes if you wanted to achieve good Internet marketing results. 1....
Website Traffic Needs A Driver
First of all, let me dispel the myth that a website can gain
huge success and continue to remain productive simply by using
an 'auto-pilot' program.
You know what an 'auto-pilot' program is, right? You see them
splashed all over the web....
Why Building Affiliate Websites Are the Way to Go
It seems that everybody is into making money online these days. By far, the largest market place in the world is right there in front of you within the cyber world of the internet. But what is the simplest and easiest way to make money online? Well,...
|
|
|
|
|
|
|
|
Optimizing Your Web Site for the Search Engines Using CSS and Javascript
Two of the greatest techniques to come along for web site refinement are cascading style sheets (CSS) and javascript navigational menus. In this article, I want to show you how to use both of these to ease the strain of site maintenance while defending against at least two problems with using javascript menus.
CSS can make web site maintenance much easier by consolidating a site's style and appearance attributes into one central file which can be edited alone and yet affect the look of the entire site. Just as wonderful, one javascript file can accomplish a similar effect with your site's navigational menu by making it available to every page on your site through a single line of code per page linking that page to the javascript file. By removing all this CSS style and javascript code into two separate files, you will clean up your web pages' textual content, thus making it easier for search engine spiders to crawl and index your site and more effectively rank it according to your actual textual content. These are definitely two techniques worth implementing.
Here are the examples to show you how this is done. First, here's how your web page incorporating both the CSS and the navigational menu javascript file should look:
<HTML>
<HEAD>
<TITLE>Your Page Name</TITLE>
<LINK TYPE="text/css" MEDIA="Screen" REL="stylesheet" HREF="http://www.yourdomain.com/your_css_file.css">
</HEAD>
<BODY>
<DIV ID="center">
<H1>Your Page Name</H1>
Your page's textual content goes here.... </DIV>
<DIV ID="left">
Your navigational menu is inserted here from your javascript file using the following line of code. See the next example for sample code for the navigational menu javascript file.
<SCRIPT LANGUAGE="javascript" TYPE="text/javascript" SRC="http://www.yourdomain.com/your_nav_menu_file.js"> </SCRIPT>
</DIV>
</BODY>
</HTML>
Now, here's how your navigational menu javascript file should look:
<!-- document.write('<a href="http://www.yourdomain.com/your_web_file1.html">Page One</a>'); <BR>
document.write('<a href="http://www.yourdomain.com/your_web_file2.html">Page Two</a>'); <BR> -->
You can add as many menu items as you need, so you get the picture.
Finally, here's the part of the code in your CSS file which gives your site the table-like look without the high-maintenance, cluttered effect of the HTML TABLE code:
...other CSS code, such as font style, etc., can precede the following segment.
The #left and #center blocks of code below correspond to the left and center columns on your web page. You can also add a #right and #top column and section, respectively, if you so desire.
#left
{ position: absolute;
top: 0px;
left: 0px;
width: 220px;
padding: 10px;
margin: 5px;
background-color: #f2f2f2;
}
#center
{ top: 0px;
margin-left: 230px;
padding: 10px;
}
Hopefully, those examples give you a fairly good idea of the benefit of using these two powerful practices. For more about using CSS, I can recommend downloading the
sample chapters from Dan Shafer's book, HTML Utopia: Designing Without Tables Using CSS, at SitePoint.com.
Besides these two optimization techniques, however, we're also hearing about all kinds of ways to optimize our web sites for the search engines these days. The competition for those coveted top placements is fierce, for sure. We've heard all about how important it is to have good, pertinent content in the textual portion of our pages, how effective it can be to include our site's keywords within the alternate attributes (i.e, ALT="keyword") of our image tags, and how valuable a link to/from a high traffic, like-minded web site can be. All this is certainly true and well worth the effort to make our web pages rank higher in the search engines, but with all this improvement to web site maintenance, what is the downside? Well, take note, so you can say you saw it here first.
I've detected two pesky problems in this web page wonderland. One is the absence of navigational links for search engine spiders to follow, and the other is the possibility of javascript-disabled web browsers. That's right; as fabulous as it is to store our navigational menu in one javascript file for easier updating, it removes all the key links from our start page so the search engine spiders have no other pages left to index on our site, and javascript-disabled web browsers can't see a menu at all! What's a webmaster to do? Well, here's how I decided to handle it.
I put my navigational menu with its various links to all my site's other pages on two key pages: the start page and the site map page. This way, when the search engine spiders come calling, they can follow every link from my navigational menu to every other page on my site, and, at least, javascript-disabled web browsers will still have a menu to follow. The same is true of my site map page. For all the rest of my pages, however, I decided to leave intact the line of code calling the javascript file containing my navigational menu in order to take advantage of its centralization benefits. The more pages I add to my site over time, the more beneficial this approach will be, too. I see it as having the best of both worlds: easy site maintenance and search engine optimization.
So, if you want to lighten your web site maintenance load while keeping your site optimized for the search engines, I recommend using CSS to consolidate your site's style attributes, to include a tableless, yet table-like, appearance and the centralization of a single javascript file containing your navigational menu. Just don't remove your navigational links from your start and site map pages.
You can visit either of my two web sites at
http://webmarketersguide.com or
http://www.parsonplace.com to see how I've done this. You're welcome to email me anytime at info@parsonplace.com with any questions or comments.
About the Author
Michael L. White is an Internet entrepreneur who currently manages two web sites: The Web Marketer's Guide http://webmarketersguide.com, which provides resources for Internet entrepreneurs to create, market, and manage a small business on the Internet, and Parson Place http://www.parsonplace.com, which has a more personal bent. Both have subscription-only newsletters to keep you well abreast of news and information.
|
|
|
|
|
Web Design - HTML XML - Web Development - Web Site Design |
Web Design and HTML are all about creating a great Web site. Use Web development and Web site design to build Web sites that customers return to over and ... |
webdesign.about.com |
  |
Open Source Web Design - Download free web design templates. |
Free web designs submitted by web designers behind the open source movement. |
www.oswd.org |
  |
Web Design Library — One-stop resource for web designers |
Web Design Library offers professional free web design tutorials, articles, news, software reviews, websites showcase, interviews, free web design stuff, ... |
www.webdesign.org |
  |
Webdesign Professional WebSite Design by Web Design Auckland New ... |
Web Design build professional websites for clients all around the world. |
www.webdesign.co.nz |
  |
Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox) |
The ten most egregious offenses against users. Web design disasters and HTML horrors are legion, though many usability atrocities are less common than they ... |
www.useit.com |
  |
HTML Help by The Web Design Group |
HTMLHelp.com is maintained by the Web Design Group to provide Web authoring reference material, tips, and answers to frequently asked questions. |
www.htmlhelp.com |
  |
Open Web Design - Download Free Web Design Templates |
Open Web Design is a community of designers and site owners sharing free web design templates as well as web design information. ... |
www.openwebdesign.org |
  |
Pages tagged with "webdesign" on del.icio.us |
All items tagged webdesign ??? view popular ... 24 ways to impress your friends with web design · save this. This years advent calendar. ... |
del.icio.us |
  |
Popular pages tagged with "webdesign" on del.icio.us |
Popular items tagged webdesign ??? view all ... Open Source Web Design - // Home \\ · save this. first posted by cda on 2004-02-07 ... saved by 11694 people ... |
del.icio.us |
  |
RAGE Software: More Info on RAGE WebDesign |
For over 6 years RAGE WebDesign has been the HTML editor and web development tool of choice for thousands of Mac users. There is no other tool available ... |
www.ragesw.com |
  |
Web Pages That Suck learn usability and good Web design by looking ... |
Web Pages That Suck -- learn good Web design by looking at bad design. |
www.webpagesthatsuck.com |
  |
Web Design from Scratch - Free web design course - basics, layout ... |
A guide on essential skills for designing effective web sites. |
www.webdesignfromscratch.com |
  |
Current style in web design |
Current best practice in graphic design for the web, kind of boiled down into an edible form. |
www.webdesignfromscratch.com |
  |
Web design - Wikipedia, the free encyclopedia |
As the Web and web design progressed, the markup language used to make it, known as Hypertext Mark-up Language or HTML, became more complex and flexible. ... |
en.wikipedia.org |
  |
UK Web Design Association - the Web Standards Organisation in the UK |
The UK Web Design Association is a not-for-profit organisation - established to encourage and promote industry standards within the British web design ... |
www.ukwda.org |
  |
WebDesignHelper.co.uk - Web Templates, Vertical & Horizontal Menus ... |
FREE design help for all. Free page templates, Free vertical & horizontal menus and table templates. Tutorials, Graphics and java plus so much more ! |
www.webdesignhelper.co.uk |
  |
Web Page Design for Designers |
Web Page Design for Designers Web Design Archive. The cumulation of over eight years of articles, reviews and information about the graphic design of ... |
www.wpdfd.com |
  |
WebDesign-L.com |
Email list for web designers and developers, both professional and amateur. |
www.webdesign-l.com |
  |
PageResource.com- by The Web Design Resource |
Design your own web site with HTML! Includes an HTML tutorial, javascript tutorial, tips, tricks, and links to numerous web design resources and other html ... |
www.pageresource.com |
  |
beautifully : : webdesign - links |
Beautifully-webdesign.net, annuaire de liens autour du web design, mise à jour quotidienne. |
www.beautifully-webdesign.net |
  |
|