Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/a26f9f83/public_html/articles/includes/config.php on line 159
Cascading Style Sheets for Better Web Design > NetSparsh - Viral Content you Love & Share

Cascading Style Sheets for Better Web Design

In cascading style sheets you can specify how your web pages will be presented on the screen by simply predefining page elements such as fonts, headers and links.

You can add these predefined elements in the head-section of your pages, but more interesting is to use them in a single .css file and include that file in every page on your site.

All you have to do is include in your HTML header. (the path in the href must point to the place where your .css file is stored)

There are two main benefits to using css sheets in a separate file:

1. more flexibility; only one (1) file to update

2. less HTML coding and easy replacement of deprecated HTML. I'll explain more of this below.

First, let me tell you I am NOT a cascading style sheet professional. I just use it.

If you want to become one, there are great css resources and tutorials out there.

Just go to

http://www.w3.org/Style/CSS/learning http://www.htmlhelp.com/reference/css/

to mention a few, but there are many more. Type 'cascading style sheets' in your favorite search engine and you get plenty of information.

But just being a layperson in css emphasizes the importance of this web design tool. I started using cascading style sheets in its most elementary form. All you have to do is name the page element that you are going to specify and add its specifications in curly brackets. Here's my first css file:

body { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; line-height: normal; font-weight: normal; text-decoration: none; color: #000000 }

By simply saving this code in a style sheet file and including it in my webpages I suddenly didn't have to define FONT statements in the body of my pages any more. Wow, that saved me a lot of coding! Big advantage (no. 2).

AND .....

I had fewer errors in my HTML, because I didn't have to close that awkward FONT tag (at the wrong place). Big advantage (no. 2).

When I discovered this, I immediately began adding definitions for other tags like H1, H2, linktext (not visited, visited and hover) and special colors in text.

If I want to change the look of my H1-header, all I have to do is change the specs in my style sheet and presto .... the H1 is changed across my whole site. How's that for flexibility? Big advantage (no. 1).

When I once redesigned my site I used HTML validators to see how I was doing. To my surprise I found that some HTML commands, the most important one being FONT, were deprecated in HTML 4.0. That means eventually these commands will not be used anymore.

So I had to do something. Again, style sheets came to the rescue. All I had to do was define how my fonts would look like in my style sheet and I had the problem solved. Big advantage (no. 2).

Now I use css to define headers, footers, special text colors, special fonts and font sizes, special links etcetera. If I ever discover I need some extra lay-out or style, I just add one line to my .css file. It's so easy!

Try it. Start using style sheets. You're more flexible and it will save you lots of time.

Wish you success.
Case Stevens

Case Stevens, owner of AnOwnSite Internet Marketing, is experimenting with different marketing techniques, websites, traffic and lead generation. He publishes his experiences in a newsletter featuring understandable, successful low cost Internet marketing techniques, ideas and strategies, articles, news, tips & tricks and interesting (free) downloads.

Subscribe at Affordable Online Strategies

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at https://news.google.com/news

New York Web Design Company, Lounge Lizard, Discusses Quick Tips to Optimize for Voice Search
PR Newswire (press release)
NEW YORK, Oct. 19, 2018 /PRNewswire/ -- Lounge Lizard is globally recognized as a top New York Web Design Company within the web design and development industry. Lounge Lizard's brand tenders are creative, tech-savvy, and passionate in ...


Project6 Receives 2018 WebAward for Outstanding Achievement in Web Design and Development for CrossFit Games
Markets Insider
EMERYVILLE, Calif., Oct. 18, 2018 /PRNewswire-PRWeb/ -- San Francisco Bay Areawebsite design and development company Project6 is proud to announce that it has been awarded the 2018 WebAward for Outstanding Achievement in Web Design and ...

and more »

Web Design Company, Lounge Lizard, Shares an Effective 7-Step UX Testing Plan
PR Newswire (press release)
NEW YORK, Oct. 18, 2018 /PRNewswire/ -- Lounge Lizard is globally recognized as a top Web Design Company within the web design and development industry. Lounge Lizard's brand tenders are creative, tech-savvy, and passionate in developing ...

and more »

Fast Company

The future of web design is less, not more
Fast Company
The internet is a system that demands more: more engagement, more clicks, more ads, more content, more code, more servers, and more devices. The size of a typical web page has increased exponentially in recent years. Thirty-nine percent of young ...


Bizcommunity.com

Essential strategies for digital marketing and web design
Bizcommunity.com
It is difficult to say what will and what won't work in any situation, unless you know what you are talking about of course. We have compiled some strategies for digital marketing and web design that have and continue to prove their effectivity. When ...
Trends for affiliate web designAffiliateINSIDER

all 4 news articles »

Wicked Local

Westford Academy senior starts web design business
Wicked Local
For Westford Academy senior and aspiring filmmaker John Stapp, 17, having 2018 and part of 2019 to see the world is something he felt was important before jumping into college. His parents only had one stipulation -- pay for it yourself.s. So this ...


Franklin County School Board must pay $11000 to web design firm
Roanoke Times
In its initial filing, HD Web Design sought $17,332.44, or half of the total project cost. But after Maddy filed a motion for summary judgment, the complaint was amended to seek $11,252.75 for the work that had been completed at the time of cancellation.

and more »

How Much Should Your Website Cost? A Guide to What Should Be Included In Web Design Pricing
Business 2 Community
Web technology and design expectations are constantly changing and adapting. What a business could get from their web presence 20 or even 10 years ago continues to change. As much as a well-designed and easy-to-use website can help your business, ...


Born2Invest

How web design trends translate to business success
Born2Invest
New and exciting features intrigue consumers and capture their attention, so by featuring the latest and most exciting features in web design, there is a higher likelihood they will stay and return to experience more. This infographic about the ...


Adweek

This New Tool Makes Eye-Tracking Tech More Accessible to Web Designers
Adweek
At least that's the premise of an increasingly popular practice among web designers and advertisers: the use of biometric technology to track and test consumer's eyes as they roam around a screen. Proponents say these devices, which range from infrared ...

Google News

Make Artistic Graphic Designs

Are you a student of graphic design? If you have... Read More

10 Ways to Sabotage Your Website Traffic and Send Visitors Packing

If you're running a website or online business, your number... Read More

Sell Yourself First...Your Key To More Sales

Selling on the internet is a challenge. There is no... Read More

Graphic Design Using Color

Color is everywhere and conveys a message even if we... Read More

Is a Web Site Builder Right for You?

A web site builder can be a real life saver... Read More

Welcoming Your Website Visitors

Imagine you're going on a blind date. You've heard wonderful... Read More

Small Business Website Design - How to Get Professional Results on a Shoestring Budget

Just because you are a small business with an even... Read More

What Your Website REALLY Says About You And Why It Matters

Everything you say and do says something about you. This... Read More

Why Long Web Pages are Better than Short Ones

Many Internet sites that try to sell you something have... Read More

Imitation, The Smartest Form Of Flattery

Unless you are an inventor, most likely you are selling... Read More

Creating a Favicon

Once, I attempted to create a favicon (the little graphic... Read More

Top Ten Ways to Increase Web Sales - Part 2

You have only 10 seconds to impress your potential buyer.... Read More

What Happened to My Website when I Deleted the Home Page by Mistake?

There is a widespread confusion among lots of new website... Read More

No Matr How Goud The Infomation...

Typos, misspellings, hideous grammar, exclamation overkill and run-on sentences all... Read More

Designing Professional Web Pages

If your Web site doesn't project a professional and polished... Read More

Click Here

See, works every time. Seriously now, for some reason people... Read More

Increase Your Website Sales Instantly

If there's one thing that I've learnt so far, it's... Read More

Designing Beautiful Artist Websites ? 12 Tips To Showcase Your Art

1. Who needs an artists website?Not everyone! If you are... Read More

Dos and Donts in Web Design - part 2 (content)

Do know your audienceIt's important to know your audience. If... Read More

Tips On Effectively Organizing Your Navigation

Not all links are created equal.While all of your links... Read More

5 Ways To Improve Your Website Immediately

If you are reading this, I assume you either have... Read More

Elements of Graphic Design for Your Website

We've all seen them. Poorly designed web sites that make... Read More

How to Get Your Visitors to Create Content for Your Website

An ongoing challenge for webmasters today is to provide fresh... Read More

Secrets to Using Color on Your Website and Common Pitfalls to Avoid

Colors have long been known to have psychological affects on... Read More

Text Is King!

Are you building your website? If so, STOP! Take a... Read More