Monthly Archive February, 2008

Creating your First Styles

You will be taken through the basic steps of creating the following:

Inline styles
Internal style sheets
External style sheets

Creating Inline styles
When you type a CSS rule directly into a page’s HTML, you are basically creating an inline style. Inline styles offer none of the time and bandwidth saving benefits of style sheets. Yet, it proves to be […]

Popularity: 76% [?]

... more »

Categories: CSS Tutorials, Posted on February 29, 2008 by Choppr

Two Ways for you to Reset your CSS

The first way is simple but very efficient when you don’t have tables, iframes, etc. It will reset the padding and margin for all the html elements.

* {
padding: 0;
margin: 0;
font-size: 100%;
background: transparent;
}

The second way, [original]:

html, body, div, span, applet, […]

Popularity: 80% [?]

... more »

Categories: CSS Specificity, CSS Tips, Posted on February 25, 2008 by Choppr

Generic Stylesheets for Basic Page Template

Advanced CSS help you to create wonders by reducing the number of HTML tags that are used in the page.
Following are six tags required to layout the content:

<h> The heading tags range from ‘<h1></h1>’ to ‘<h6></h6>’ are used to mark/tag headlines in the pages. The most important headline, therefore, remains wrapped in a <h1> tag […]

Popularity: 89% [?]

... more »

Categories: CSS Tutorials, Posted on by Choppr

Linking of style sheets - Using HTML and CSS

Linking of style sheets using HTML
One of the best methods of adding an external style sheet to a web page is to use HTML <link> tag. You can write the tag in a slightly different manner depending upon whether you are using HTML or XHTML.
For example, here is an HTML:

<link rel=”stylesheet” type=”text/css” href=”css/global.css”>

Here’s XHTML:

<link rel=”stylesheet” […]

Popularity: 98% [?]

... more »

Categories: CSS Tips, CSS Tutorials, Posted on February 21, 2008 by Choppr

Creating an Internal Style Sheet

1. With the file basic.html open it in your text editor, click directly after the closing </title> tag. Then hit Return and type <style type= “text/css”>
The HTML should look like the following:

<title>Basic web page</title>
<style type= “text/css”>
</head>

The opening <style> tag marks the beginning of […]

Popularity: 43% [?]

... more »

Categories: CSS Tips, CSS Tutorials, Posted on February 20, 2008 by Choppr

« Older Entries