Cascading style sheets make web design easy

Cascading Style Sheets Make Web Design Easy

Topics: style sheets, cascading style sheets, web design

When the HTML programming language was originally developed, the various HTML tags that were used were intended only to specify what each piece of content was. In other words, HTML tags like the paragraph tag, or the header tag, were only supposed to tell the web browser that a certain piece of text should be displayed as a paragraph, or that a particular line of text was to be a header. The web browser itself was supposed to take care of the style of the web page itself.

However, as the HTML language became more and more complex, and evolved from the original HTML into HTML 4.0 and even more complicated versions of the language such as XHTML, the web browser no longer took care of style by itself. Programmers had many more tags and attributes at their disposal, such as the bgcolor attribute, the font tag, and a plethora of others.

As a result, developing a webpage became very complicated, because programmers now had to not only specify what was to be on the web page, but had to indicate background colors, fonts, text sizes, and layouts. A solution to this quandary emerged in the form of what is called Cascading Style Sheets.

Cascading style sheets specify how HTML elements are to be displayed. A cascading style sheet is normally an external file saved with a .css file extension and is uploaded with the rest of your web pages.

This .css file specifies a layout for a webpage given certain HTML tags and attributes. Then, all the programmer has to do is reference that .css file in the HTML code for the webpage he or she is developing and just layout the webpage properly, and the .css file will automatically format all of your tags and attributes as specified. Specific styles can be applied to everything from paragraphs to email forms and much more.

There are many websites where programmers can buy or download for free various .css files that they want to use to handle the layout of their webpage. All you need to do is look for style sheets on any major search engine and you will find tons of links to sites that will show you how to create style sheets or sites where you can just download for free or buy style sheets that you want to use to design your website.

Basically, there are two different ways that you can use a cascading style sheet. The first way is by using the style sheet externally. Simply upload the .css file that you have either downloaded from somewhere else or created yourself, and then reference that file in the HTML code for the webpage you are designing by placing some code within the head tag of the webpage. There are many different tutorial websites where you can learn how to create the code to reference an external style sheet.

Also, you can actually create your style sheet internally by actually coding the style of certain kinds of tags within the head tag of the webpage itself rather than saving the style sheet as an external file.

Also, you can use what is called inline styles, where you specify the style of a specific element within the webpage so that the style will apply to just that particular tag and not all of the tags on the webpage.

Whatever you decide to do, as a web designer you should become familiar with cascading style sheets and use them, especially if you do a lot of web design projects. You should accumulate your own library of style sheets, either by creating them on your own or by downloading them from somewhere else.

Having these style sheets on hand will make your job as a web designer faster and more efficient. It will enable you to design web pages very quickly without having to focus so much on the design, and then you can show your customer many different sample designs of the web page you have created by just changing a single line of code and using a different .css file each time. Then, your customer can just choose the style that he or she likes best.

Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.


Previous Articles Highlighter:

An Introduction To Javascript (1)
One such language, perhaps the most important and widely used non-static programming language, is called Javascript. Javascript, contrary to its name, has virtually nothing to do with the Java programming language.

What Is XLink? (2)
Links to different sections of the same web page are often seen on pages that contain Frequently Asked Questions (FAQ), so that the user can click on the question and immediately skip down to the answer which usually appears somewhere else on that same page.

Submitting Your Website To The Search Engines (3)
Of course, there are plenty of other things you can do to attract traffic to your Website, but most of them will be more costly than a free search engine listing so it's definitely still well worth the time and effort to submit your Website to the major search engines.

What Is XHTML? (4)
To put it simply, SGML (Standard Generalized Markup Language) is the basis for HTML. XML is a more refined subset of SGML, and forms the basis for XHTML. On the whole, XHTML allows for more flexibility than HTML.

Secrets To Affordable Web Site Design (5)
Stephen C Campbell (MBA, MSc, MCIM) is a business consultant and internet marketer who has conducted business throughout Europe, Far East & U.S. Learn more about internet marketing and website design at www.nichemarketingminisites.com

The 5 Key Areas Of Business And Why You Must Focus On Them And Develop Each One Of Them At Once (6)
Give to get. Give away the "what to do." Sell the "how to do it." Genius. Yet so simple... I was recently selected as a Certified Dan Kennedy Independent Business Advisor and Dan Kennedy says the most powerful word in the English language is...You guessed it: FREE.

Beware Of Jumping To "Pre Launch" Or "Its Brand New" Programs (7)
They make you feel obligated to jump ship with them AND THEY MIGHT EVEN MAKE YOU FEEL STUPID IF YOU DONT. So you follow them. I have done this too, but after doing this 2-3 times, you realize that your sponsor will continue to do this to you every 2-3 months, leaving you broke and broken hearted.

What You Must Do With Your Articles Before You Submit To Article Directories (8)
Conversely, there is only one reason to write an article which is to educate your target audience. This is what the focus of your article needs to be and if it is not focused on this then it will not be successful.

Master The Online Marketer's Formula (9)
AL MENDOZA has been doing Internet Marketing since 1998 and earns his living 100% online. Mr. Mendoza has authored several publications and ecourses. He is the CEO of www.MarketingThinkbox.com

8 Ways To Develop Trust Online (10)
Keep your contact information clearly visible. You should have multiple ways you can be contacted including a toll fee number and email form, as well as online instant chat if possible.

Starting An Affiliate Program: Plan Beforehand (11)
But in this business quality counts, especially if you want a successful program. If you are considering starting an affiliate program, slow down and take the necessary time and work that is needed to develop a good, high quality product.

Why Mass Pay Is A Must For Paying Affiliates Via PayPal (12)
What Is Mass Pay? Mass Pay allows you to make multiple payments by creating a single file and uploading it to your PayPal account. PayPal then disburses the appropriate funds to the recipients' PayPal accounts that you specify.

How To Write Your Own Free Report In 60 Minutes Or Less (13)
The purpose that the authors of those articles had for placing them on sites for free use is to get credit for having written them. These articles can be used as reference but they may not be reproduced word for word.

Graphics For Affiliates (14)
You may want to consider offering graphics that have different levels of contrast. Good contrast is important to ensure easy reading of the text on the graphic, but on lower contrast websites, lower contrast graphics may be a better option.

How To Invest In Quality "Virtual" Real Estate (15)
Think of it like the candy placed near the cash registers in grocery stores. Maybe a shopper didn't find what they wanted when they walked in to the store, but the candy caught their attention on the way out.

How To Take Wedding Pictorials One Step Forward With Digital Photography (16)
Well, computer monitors use RGB, right? Four color printing uses CMYK. RGB and CMYK have entirely different outputs. So, no matter what you do, the image on your monitor will never be the same as your 4 color photos, unless there are computer monitors that also use CMYK to produce colors for the images and texts.

Headless Man Seen Running Through Southeast Asia (17)
That included the world's largest frying pan and the world's largest ball of sting in Cawker City, KS. It's not just archangels who are interested in seeing and reading about the biggest and the best.

When It Comes To Your Choice Of Digital Photography Printing (18)
More and more people are getting their own printers installed at home so that they can print their photos anytime they feel like it. This way, you can edit your own photos and compile them in your own private collection before you start printing them out.

Internet Marketing And E-Commerce For The Helping Professions (19)
This is where the idea of "passive income" comes in. What is passive income? Passive income is money that comes to you automatically without you having to work to get it.

Affiliate Marketing - Make Your Living Online (20)
It's also very easy to intensify your efforts as an affiliate marketer to exploit new and productive strategies such as viral marketing, ebooks, special reports and autoresponders. Lastly, as an affiliate marketer you get to pick and choose between many different products to promote.

Newer Articles Highlighter:

Use Search Queries As A Basis To Derive New Keywords And Negatives (1)
One alternative to being able to confidently create profitable new keywords or negatives is to capture the exact search string input by the user. So, when using the search query, what I'm talking about is not taking a look at which keyword received credit for a click, but what did the user actually type in to the query.

6 Awesome Tips To How To Sell Websites, Graphics And Scripts (2)
Connect with your peers. Forge alliances with your competition. Take advantage of chances to outsource yourself, or use your connections to outsource your own "overflow" work. Rather than making your part of the IM world more dog-eat-dog, think in terms of running with the pack, instead.

Why I Hate Pay-Per-Click (3)
If you go with Google, your website will be listed on Google, AOL Search, and Ask.com. If you sign up for Overture, you will be listed on engines such as Yahoo, MSN, Netscape, and several others.

I Despise Pay-Per-Click (4)
So, you have a net loss of $100 per day. So, this sort of marketing can be quite costly if it is not done carefully. The problem with PPC advertising is that most people using a search engine are only looking for information, and are not planning on buying any products or services.

Online Payment Processing Solutions (5)
If you are starting a multi-million dollar business, then you should probably set up your own merchant account and have a programmer create your own order forms to process your payments.

You Do Not Have To Go To Night School To Learn Web Site Search Engine Optimization (6)
Web Site Content If you want to know how to take some of the complexity out of web site search engine optimization this is it. I'm sure you have seen many a site with dazzling graphics and awesome multimedia slideshows.

Does Pay-Per-Click Work? (7)
Well, you will need to do rely on the same thing all internet businesses do when they first start out. Of course, we are talking about pay-per-click (PPC). By advertising with pay-per-click, you pay a certain price per click to be listed near the top of the first page of the search engines for your chosen keyword or phrase.

Solutions For Online Payment Processing (8)
If you are launching a multi-million dollar business, then you should probably set up your own merchant account and have an experienced programmer create an order form and a payment processing gateway to process your payments.

A Small Overview Of Online Marketing (9)
This article reviews a few of the most popular types of online web marketing. The banner ad was once the only real vehicle for online marketing. Banner ads are obtrusive pieces of text and graphics that are typically found at or near the top of web pages.

XML Is Transforming The Internet (10)
A markup language is any language that is used to describe or define information and text. XML is not a substitute for HTML. It is to be used in conjunction with HTML.

Explode Your Sales With An Affiliate Program (11)
The affiliates you recruit into your program are almost like your employees, they are doing your advertising work for you, and it does not cost you anything unless they make a sale.

Autoresponders Make Money (12)
I recommend that you hire a programmer to install an autoresponder directly on your website rather than using an outside service. Those email addresses are like currency; every time someone submits their email address to you, that email address should not only go into the autoresponder program, but it should also be stored in a separate database.

What Is Javascript Used For? (13)
If the last name has been omitted, then the submission is halted and the user is told to enter his or her last name before submitting the form. The logic of these functions is often created using if/then statements.

Why Should You Use VBScript? (14)
Function procedures process data and do return a value. There are four different types of conditional statements that VBScript uses. These include if/then, if/else, if/elseif, and select case statements.

How To Build A Search Engine Friendly Web Site (15)
The more content you have the more opportunity you will have of inserting your keywords making it look as natural as possible to the search engines. Although keyword density is no longer a major factor with search engines, it is something that needs to be done.

The Three Se"C"rets Of Successful Video Communication (16)
What do you want the viewer to do with the information you just gave to them? Do you want them to call your toll-free number, browse your website, or simply agree with your vision and values?

How To Set Up A Simple Affiliate Program? (17)
3. A system to handle commission tracking and payment. Sounds easy enough, right? Well, actually it is! And it's getting easier all the time. The first two items listed above are pretty much self-explanatory.

How To Write A Good Resource Box For Your Articles That People Can't Resist Clicking (18)
In recent years it has become a necessity to learn SEO to succeed in the domination of your niche, or even just to compete. One of the ways that people are using SEO or Search Engine Optimization is by writing articles and submitting them to the article directories with the keywords they want to be found for as the anchor text in their resource boxes.

Simple Holiday Marketing (19)
Your holiday networking is a time to lay the groundwork for future business opportunities. The key is to adopt a marketing mindset. Your marketing goal is to increase sales.

Career In Web Site Design Development (20)
The very reason is, it is impossible to compete and win in the arena of competing businesses today. Every company needs to have their own to succeed over others in their chosen business.


Leave a Comment