Best way to learn web design, business web design, graphic web design, web design development, web design services
Tuesday, September 8, 2009
S What does your sense of style
S What does your sense of style No, not for your wardrobe, but based on Cascading Style Sheets, also known as CSS. Developed by the World Wide Web Consortium, is Webmasters can separate the layout of the site Design. CSS is a standard for encryption -- Trolling the appearance of your web pages. It is essentially a set of rules which, if in connection with O embedded in HTML pages, their appearance.Right hours on you probably think, "What's So great credit? "The benefits are numerous - Two of the most important are: 1) Easy updates: Global site updates easier if all the changes in a City to update the entire website. E 'molto meglio company's page after page of HTML. For example, say you have a website, in Times New Roman font and your client calls you and says: He wants to Verdana. Can you imagine sliding about 25 or more pages in search of any incident The day for change of Verdana? What A nightmare. Enough with CSS the font in a position to change Website implemented wide.2) load faster: The HTML code to load pages faster Since the code clean. All the interests of foreign coding is in a style sheet, so that the disorder and less Download site.So faster, now that you've seen some of the "Benes" on Style sheets, try to lea more about them. Let's Clarify in advance that both Netscape and Inteet Explorer supports CSS version 4.0 and above, not exactly see eye to eye via CSS and style to interpret some properties Several. Want to test your pages two browsers to check and correct inconsistencies.So What can I do with CSS? Things like Figures <P> <h1> <h2> <h3> headings, borders, Table layout, font and font color, text alignment, Pixel size, line height, letter spacing word Spacing, font weights, page margins, and also Background images, and how the work is a great improvement over the old HTML. Are You begin to see the possibilities and only How powerful can it be? There are three ways to CSS: 1) Online: The CSS tags are applied to Same Web page, in any part of the body that is Choose. This is not the best method, because You have to find every occurrence in Website for changes in Future. Example: (Take the time before and after the tag "span"). Text here. In the above example, the text should be highlighted yellow.2) Embedded: The current CSS is part of HTML page, including tags on each <HEAD> Side. Even placing the tag within the pages Defeats the convenience of CSS and the ability Global Site for changes to a document but some, how to use this method.Example embedded. <HEAD> <style Type = "text / css"> <! -> H2 (font-size: small) </ Style> </ HEAD> .3) related: In my opinion the best method to use. A link to the CSS between the Tag on your web pages. The connection is similar to this: rel = "stylesheet" type = <link "text / css" href = style.css> The stylesheet is a separate text document that With the extension. css extension as follows: style.css.So now know that the three options for using CSS, how to write the code? Each style sheet Usually begins with a selection followed by parentheses. A Selector is a part of HTML coding, such as P, Font, Body, etc.Here 's as it appears in action. P (font-size: 12pt). The P is the selector and the font Details between the brackets is the property. This code states that all the figures are 12 pt font size.A usually different properties. Comma Separate multiple properties, are used by commas Separate multiple selectors.Example:. P (color: black; background-color: white; font-size = 12pt). This code says that you want all the numbers with a black White background and a 12 pt font. (Why someone I want, is just one example, and then with him.) At any time you can combine more than one day as selector if you want to see all same.TD, H2, H1 (color: red; background-color: pink) These all table cells, and 1 hours-2 hours location tag Red with a pink background. It is not attractive? Again, this is an exaggeration to make a point (even If it is bright). Selectors do not distinguish between uppercase and lowercase, so that "P" is the same as "S." H2 (color: blue), this entry would be 2-all tags color.As in blue you can see from these examples, the CSS is not that difficult to obtain and can really give you more control The appearance of your website. For more information, Choose one of these pages informative and A CSS Pro as soon as possible: are also software programs that you download is the creation of CSS in a much more simple: TopStyle CSS Dutch Part 2 of our discussion on CSS, we discuss Fun things you can do with styles, which Dress up your site and how have you looking a program at any time all.MerleMerle was "working" on the network 8 years and has a special gift for you. Download my FREE e-book "50 simple ways to Promote your website. " Get your copy now have permission to publish this article Electronically or in print for free As long as the bylines are.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment