Main Menu
Articles Home
Most Popular Articles
Top Authors
Submit Articles
Submission Guidelines
Link to Us
Bookmark
Contact Us

Articles Categories
  ·  Audio-Video Streaming
  ·  Blogging
  ·  Broadband
  ·  Domain Names
  ·  E-Business
  ·  New to the Internet
  ·  Spam
  ·  Technologies
  ·  Tools and Resources
  ·  Web Design
  ·  Web Development
  ·  Web Hosting
  ·  Webmasters
 


Partners
 
Home / Internet / Web Design

Cascading Style Sheets Make Web Design Easy

By:Jim Pretin


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.

Digg del.icio.us Blink Stumble Spurl Reddit Netscape Furl

Article keywords: style sheets, cascading style sheets, web design

Article Source: http://www.articles2k.com

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




Top Web Design Articles
  • 1). Advanced Joomla Templating (pt1) Using Module Class Suffix  By : Robert Palmer
    an article from User Written Resources 1. duplicate the styles already used for the particular module, adding a suffix to each style name. this will definitely include some of the following; 1. .module {} 2. div.moduletable {} 3. div.moduletable h3 {} 4. table.moduletable {}/li> 5. table.moduletable th 6. table.moduletable td and can include other styles used on the content in that section, such as; 1.

  • 2). Irish Graphic Design Industry  By : dave4
    Graphic design is the use of color, light, balance, contrast, emphasis, proportion, proximity, repetition, texture and a plethora of other elements to create a work of digital art that is pleasing to the eye. Graphic design is about seamlessly molding image and text to convey a theme, message, or often advertise a product or service. Graphic design dates back to prehistoric times.

  • 3). Adsense: The Smart Investment  By : Pat Lovell & Jon Atwood
    Over the last 2 years, We have been building a Virtual Adsense Empire of over 500 websites and making some good money. We've also been building content sites for clients using the same system. The system we use is not something that produces 1000's of sites with a click of a button, our system does not build spam websites, nor does it produce the same sites you see over and over and over again.

  • 4). Some guidelines for Website Design  By : Angela Oliver
    You have a great product. You also have a great company image and marketing model. Now it is time to implement all your plans and bring together a website. You know very little about websites. Finding websites that have failed is easier than shooting fish in a barrel. Many people come into the internet business with the notion that if they are on the web, they are guaranteed to make money.

  • 6). Develop Your Business Web Site for Profits  By : Jay Peterson
    Looking into developing your business web site? Whether creating a business web site to sell your business products online or just to give the public valuable information, creating a business web site can be an important first step to creating an important presence on the web. Here are some tips on creating a business web site as well as what is involved in getting your business web site off the ground.

  • 7). Is your printing costs sky rocketing?  By : Florie Lyn Masarate
    Here are some things you can do to be able to lower your printing costs. 1. Cheap but good quality printer. There was a time when only a handful of people can afford having one of those colored and digital printers. Now that these things are more rampant, they have become more affordable. Color printers of good quality are even inexpensive already.

  • 8). Creating A Quality Web Site Design!  By : Martin Lemieux
    In this article, I will attempt to cover the basics of creating a great quality web design template for your site. Now it's a known fact that the layout or "eye candy" as I put it will determine whether your visitors will stay more than 15 seconds or they will just become another statistic. In this article, I will attempt to cover the basics of creating a great quality web design template for your site.

  • 9). How Does Your Website Make Me Feel?  By : Philippa Gamse
    When people think about the Internet, they think about technology. When people hear that I am a Website strategy expert, they see me as a "techy type". But for me, the most intriguing aspect of your online business isn't about the technology. It's about human connections, and how you can create these in a virtual environment. It's commonly understood that "people buy emotionally, not intellectually.

  • 10). For Automated Sites - PHP and MySQL Are A Perfect Match  By : Halstatt Pires
    You’ve decided to automate your web site. Now what? Here are some ideas to help you choose how to automate your site. A bit of programming is going to be necessary if you want to automate a site. There are many types of programs that can be used to automate a web site including JavaScript, PHP, Perl, ASP, Java and more. So, which do you use? For many, it is a personal choice.


New Web Design Articles
  • 7). Graphic Artists - Who Needs One When You Can Do It Yourself Online?  By : Pearl Deloria
    Image is everything! Think about it. How many times have you made a judgment about a company based on the quality of the junk mail that you have been sent? Other people make similar judgements, too. Businesses cannot afford to be thought of as cheapskate in their marketing. You know that most of your mail goes straight in the trash, and it may grieve you to spend four times the amount, just for it to be thrown away.

  • 8). How To Style Your Text With CSS  By : Hilco van der Meer
    Styling text with CSS is really simple. We can define colors, underline it, make it bold, define the font etc etc. We will start with some basics. First we define the html where we will be working with. This is the text 1. Colorize your text We can select the P tag and add some styles to it. p { color:red; } Now our text will turn red. You can define any color code your want or choose one of the 16 standard color names.

  • 9). What is a web designer anyway?  By : Alicia Harper
    As a web designer, I get all kinds of requests , for information other than web design, and as a web designer I'm not suppose to really to be able to do things outside of the web design area. I believe there are a few misconceptions about what exactly a web designer does. In this article I am going to nail down exactly what a web designer is and what they should be able to do.

  • 10). Advanced Joomla Templating (pt1) Using Module Class Suffix  By : Robert Palmer
    an article from User Written Resources 1. duplicate the styles already used for the particular module, adding a suffix to each style name. this will definitely include some of the following; 1. .module {} 2. div.moduletable {} 3. div.moduletable h3 {} 4. table.moduletable {}/li> 5. table.moduletable th 6. table.moduletable td and can include other styles used on the content in that section, such as; 1.



 


© 2006 articles2k.com - Privacy Policy