CSS code for text style

S

Steve

Hi,

I need to create a simple css to control font on a website. I need all text
on all pages to be Arial - yet even though I set each page that way - it
shows up on some computers in Times?

I can create the css blank page via FPage but I do not know the code
required on that css page or the necessary link code to go on each web page
or exactly where to place it - header or body?.

Can anyone assist with this info?

I have not used CSS pages before so at least this will be a start which i
can add to.

Mant thanks.
 
T

Trevor Lawrence

Steve said:
Hi,

I need to create a simple css to control font on a website. I need all
text
on all pages to be Arial - yet even though I set each page that way - it
shows up on some computers in Times?

I can create the css blank page via FPage but I do not know the code
required on that css page or the necessary link code to go on each web
page
or exactly where to place it - header or body?.

Can anyone assist with this info?

I have not used CSS pages before so at least this will be a start which i
can add to.

Mant thanks.
--

Place the following line in a file named style.css in the *same* folder as
your HTML file
body { font-family: arial, helvetica, sans-serif; }

Place the following line in your HTML file in the <head> section
<link rel="stylesheet" type="text/css" href="style.css" />
 
S

Steve

Thank you Trevor for your help.
--
Steve



Trevor Lawrence said:
Place the following line in a file named style.css in the *same* folder as
your HTML file
body { font-family: arial, helvetica, sans-serif; }

Place the following line in your HTML file in the <head> section
<link rel="stylesheet" type="text/css" href="style.css" />
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top