CSS: Difference between revisions

From Hackepedia
Jump to navigationJump to search
No edit summary
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Cascading Style Sheets
[http://www.w3.org/Style/CSS/ Cascading Style Sheets]
 
In this example, you will see that you can offer several different looks for your single webpage:
In this example, you will see that you can offer several different looks for your single webpage:
  <head>
  <head>
Line 7: Line 7:
  <link rel="Alternate Stylesheet" title="Original"
  <link rel="Alternate Stylesheet" title="Original"
     href="orig.css" type="text/css">
     href="orig.css" type="text/css">
  <link rel="Alternate Stylesheet" title="Midnight"
  <link rel="Alternate Stylesheet" title="Dekan's"
     href="midnight.css" type="text/css">
     href="midnight.css" type="text/css">
  <link rel="Alternate Stylesheet" title="Mouring's"
  <link rel="Alternate Stylesheet" title="Mouring's"
Line 13: Line 13:
  </head>
  </head>


once you have offered multiple Stylesheets in your HTML, in [[firefox]] you can go to:
once you have offered multiple Stylesheets in your [[HTML]], in [[firefox]] you can go to:


View -> Page Style ->
View -> Page Style ->


and choose the css that looks best to you.
and choose the css that looks best to you.

Latest revision as of 10:13, 29 December 2005

Cascading Style Sheets

In this example, you will see that you can offer several different looks for your single webpage:

<head>
<title> www.yashy.com. </title>
<link rel="StyleSheet" title="Default" href="main.css" type="text/css">
<link rel="Alternate Stylesheet" title="Original"
    href="orig.css" type="text/css">
<link rel="Alternate Stylesheet" title="Dekan's"
    href="midnight.css" type="text/css">
<link rel="Alternate Stylesheet" title="Mouring's"
   href="mouring.css" type="text/css">
</head>

once you have offered multiple Stylesheets in your HTML, in firefox you can go to:

View -> Page Style ->

and choose the css that looks best to you.