CSS question
6 posts
• Page 1 of 1
CSS question
where in a CSS page would the head section be? because theres no head lable like in html pages
- denis_o_leary
- Posts: 109
- Joined: Wed Jul 23, 2003 10:57 pm
- Location: Ireland
Please rephrase your question, as I don't think I understand what you are asking. Are you referring to the CSS document itself or the html to which the CSS docuement is applied.
There isn't a "head" section is a CSS docuement itself. The "head" section only exists in the html.
-Weaver
Public Keys
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.
-- FORTRAN manual for Xerox Computers
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.
-- FORTRAN manual for Xerox Computers
- Weaver
- PROfessional Member
- Posts: 1967
- Joined: Wed Jun 19, 2002 12:05 am
- Location: /home/weaver/
Weavers right, heres an example of a css from a site of mine:
body
{
scrollbar-face-color: #FFCC00;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #0000006;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #000000;
}
.form
{
font-size: 12;
border: 1 Solid #FFCC00;
background: #000000;
color: #FFFFFF;
font-family: tahoma;
}
body
{
scrollbar-face-color: #FFCC00;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #0000006;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #000000;
}
.form
{
font-size: 12;
border: 1 Solid #FFCC00;
background: #000000;
color: #FFFFFF;
font-family: tahoma;
}
- jonnywright
- Banned
- Posts: 53
- Joined: Thu Aug 14, 2003 10:25 pm
- Location: Leicester UK
shakib wrote:presumably you're tlking about a text file containing css with an extension like .css.
In which case the two posts are correct and you do not need the HTML standard tags in any such document, you simply reference it from your html page:
<link rel="stylesheet" type="text/css" href="myfile.css"/>
Not to be a stickler but if we are going to use XHTML style tagging, it should be done in a way that introduces backward compatibility with [nearly all] page rendering engines.
- Code: Select all
<link rel="stylesheet" type="text/css" href="myfile.css"/>
Should be:
- Code: Select all
<link rel="stylesheet" type="text/css" href="myfile.css" />
(note space before />).
-Weaver
Public Keys
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.
-- FORTRAN manual for Xerox Computers
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.
-- FORTRAN manual for Xerox Computers
- Weaver
- PROfessional Member
- Posts: 1967
- Joined: Wed Jun 19, 2002 12:05 am
- Location: /home/weaver/
6 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 4 guests