Swagbucks Code
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Swagbucks Code

Follow swagbucks code
 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  
Latest topics
» Quang Nam ethnic minorities celebrate healthy harvest
Cascading Style Sheets EmptyWed Oct 26, 2011 8:19 pm by nirvana

» SwagBucks TV Bot
Cascading Style Sheets EmptyThu Oct 13, 2011 6:12 pm by moneybird

» Swagbucks TV BOT
Cascading Style Sheets EmptyThu Oct 13, 2011 6:11 pm by moneybird

» The Institute for Tourism Development
Cascading Style Sheets EmptyWed Sep 21, 2011 9:21 pm by nirvana

» Promoting Quang Binh tourism
Cascading Style Sheets EmptyTue Sep 06, 2011 8:48 pm by nirvana

» Equality and the family dilemma
Cascading Style Sheets EmptyTue Sep 06, 2011 8:59 am by nirvana

» CUC PHUONG NATIONAL PARK - VAN LONG - KENH GA PRIVATE TOUR (2 DAYS/1 NIGHT)
Cascading Style Sheets EmptyTue Aug 09, 2011 8:52 pm by nirvana

» CAT TIEN NATIONAL PARK PRIVATE TOUR (2 DAYS/1 NIGHT)
Cascading Style Sheets EmptyTue Aug 09, 2011 2:44 am by nirvana

» BA BE LAKE PRIVATE TOUR (3 DAYS / 2 NIGHTS)
Cascading Style Sheets EmptyMon Aug 08, 2011 8:42 pm by nirvana

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

 

 Cascading Style Sheets

Go down 
AuthorMessage
sangbmt




Posts : 149
Join date : 2011-01-26

Cascading Style Sheets Empty
PostSubject: Cascading Style Sheets   Cascading Style Sheets EmptyThu Jan 27, 2011 6:44 pm

Style sheets, as discussed earlier, is the third important component needed for creating the processing of a dynamic Colorado web designed pages. Styles sheets are a standard approved and recommended by the world wide consortium .they were essentially introduced to give the developer more control in page layout and styling of the document. In the following pages we will cover some basic features about style sheets. There arte many ways of adding style to a web page. Style can be either declared in the head section of the page or directly within the html tag.

DEFINING STYLE WITHIN HTML TAGS

Style within an HTML tag is assigned using the style tag followed by an attribute.

In the above the style tag is written within the HTML tag .the style sheet tag used three properties color font-style-weight and font-family. Their respective values are blue color code, italic, bold and the Helvetica font. Notice there is a colon in between color and blue color code and a semicolon after each property. Isn’t it simple all you have to do is refer to a list of style sheet property and their values and use them according to you Denver web page design.

Defining style in the head section

Defining styles within an html tag is simple but can be quite tedious, especially when you intend using it on multiple html tags .A simpler way out be to declare the style within the head section of the page. By doing so all you intend to format.A style declaration in the head section must begin with the tag and end with the tag.


Style sheet as you know by now are groups of styles that define how an html element may appear in a web browser.

Cascading style sheet viewed within the Microsoft internet explore.

Apart from the one discussed so far and this is by creating an external style file .style sheet declaration in an external file is particular very useful in useful in cases where you want to use the style in many pages at the same time .this method is also more convenient in terms of making any last minute change as there is one central place that controls the entire site design .And in your html file all you need to do is include the style file name using the link tag.

The link tag attributes ask the browser to refer to the external style sheet for all formatting and other styling elements. You can use any name for the style sheet file, just be sure you have the .css extension at the end .in this it assumes that your style sheet a name to be referred with.

Your file basic’s defines your formatting style .therefore any formatting change in this file will be subsequently reflected in the html layout .suppose you want to display all the tags in your html document in red color, italics and in comic sans ms, arial or Helvetica as the font preferences. The structure of your basics would be as follows and the resulting screen.



solar installers lodi ca
Fish Oil Benefits
Back to top Go down
 
Cascading Style Sheets
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Swagbucks Code :: Chat :: Complaints-
Jump to:  
// Free forum hosting  | ©phpBB | Free forum support | Report an abuse | Forumotion.com