HPFanatic8
07-02-2003, 07:37 PM
Hi! I'm currently contructing a personal site on my GeoCities account, simplyme808. I am using only HTML to build my site on the File Manger becuase one day I hope to get hosted and use an FTP server. So I want to make sure I know my HTML first.
I decided I wanted to use CSS on all my pages. So I needed to put the code (<link rel="stylesheet" href="style.css" type="text/css">) on each page. I uploaded the style.css code to my site and inserted the code on one of my html pages (http://www.geocities.com/simplyme808/Blog.html ). However when I went to view the page the CSS effects didn't show up. None of them. Here is the CSS code I used:
<style type="text/css">
<!--
A:link
{ text-decoration: value [none]; color:#99ffff }
A:visited
{ text-decoration: value [none]; color:#99ffff }
A:active
{ text-decoration: value [none]; color:#99ffff }
A:hover
{ text-decoration: value [overline]; color:#33ffff;
background-image:url(yourimage.gif);
background-color:#000000;
cursor:value crosshair
BODY
background:none; transparent;
background-image:url(value); [url of background image to be used, i.e. background.gif]
background-repeat:value; [repeat, no-repeat, repeat-x, repeat-y]
background-position:valueI valueII; [valueI: top, center, bottom, percentage, pixel number]
[valueII: right, center, left, percentage, pixel number]
background-attachment: [scroll, fixed]
font-family: arial;
color: #99ffff ;
letter-spacing: value; [any number value (3pt, 5pt)]
font-weight:value; [lighter, normal, bold, bolder, any number value (100, 500, 900)]
font-size:value; [xx-small, x-small, small, medium, large, x-large, xx-large,
any number value (12 pt, 18 pt)]
direction:rtl; [this reverses the entire site so the scrollbar is on the left]
scrollbar-face-color: #000099;
scrollbar-shadow-color: #99ffff;
scrollbar-highlight-color: #000099;
scrollbar-3dlight-color: #0000cc;
scrollbar-track-color: #000099;
scrollbar-arrow-color: #99ffff;}
td
{ font-family: value; [arial ]
color: #000000;
padding-left: value; [2cm, 4cm etc.]
padding-right: value; [2cm]
padding-top: value; [2cm]
padding-bottom: value; [2cm]
padding: value; [2cm this is for all four sides]
padding: value value [2cm, 4cm : two values for four sides, add numerical value] }
input, textarea
{ background: #000099 url(yourimage.gif);
font-family: tahoma;
color: #ffffff;
border-style: value [dotted];
border-color: #99ffff;
border-width: valuepx [numerical value, 5, 6, 8...] }
-->
</style>
Did I do something wrong in the code, or is there a certain place on your page you put the code? Thank you for your time!
I decided I wanted to use CSS on all my pages. So I needed to put the code (<link rel="stylesheet" href="style.css" type="text/css">) on each page. I uploaded the style.css code to my site and inserted the code on one of my html pages (http://www.geocities.com/simplyme808/Blog.html ). However when I went to view the page the CSS effects didn't show up. None of them. Here is the CSS code I used:
<style type="text/css">
<!--
A:link
{ text-decoration: value [none]; color:#99ffff }
A:visited
{ text-decoration: value [none]; color:#99ffff }
A:active
{ text-decoration: value [none]; color:#99ffff }
A:hover
{ text-decoration: value [overline]; color:#33ffff;
background-image:url(yourimage.gif);
background-color:#000000;
cursor:value crosshair
BODY
background:none; transparent;
background-image:url(value); [url of background image to be used, i.e. background.gif]
background-repeat:value; [repeat, no-repeat, repeat-x, repeat-y]
background-position:valueI valueII; [valueI: top, center, bottom, percentage, pixel number]
[valueII: right, center, left, percentage, pixel number]
background-attachment: [scroll, fixed]
font-family: arial;
color: #99ffff ;
letter-spacing: value; [any number value (3pt, 5pt)]
font-weight:value; [lighter, normal, bold, bolder, any number value (100, 500, 900)]
font-size:value; [xx-small, x-small, small, medium, large, x-large, xx-large,
any number value (12 pt, 18 pt)]
direction:rtl; [this reverses the entire site so the scrollbar is on the left]
scrollbar-face-color: #000099;
scrollbar-shadow-color: #99ffff;
scrollbar-highlight-color: #000099;
scrollbar-3dlight-color: #0000cc;
scrollbar-track-color: #000099;
scrollbar-arrow-color: #99ffff;}
td
{ font-family: value; [arial ]
color: #000000;
padding-left: value; [2cm, 4cm etc.]
padding-right: value; [2cm]
padding-top: value; [2cm]
padding-bottom: value; [2cm]
padding: value; [2cm this is for all four sides]
padding: value value [2cm, 4cm : two values for four sides, add numerical value] }
input, textarea
{ background: #000099 url(yourimage.gif);
font-family: tahoma;
color: #ffffff;
border-style: value [dotted];
border-color: #99ffff;
border-width: valuepx [numerical value, 5, 6, 8...] }
-->
</style>
Did I do something wrong in the code, or is there a certain place on your page you put the code? Thank you for your time!