PDA

View Full Version : One Style?



Anayet
June 11th, 2001, 14:23
How would I go about creating one style and settings i.e. text color, bold, font etc so that all pages use the settings retrived from one page or css?

I only want to be able to change the font colors, link colors, active link colors.

How can I do this so that I only have to edit one page and all the pages will have that setting?

Thanks
Anayet

foo55
June 11th, 2001, 16:12
Use a content management system (cms, or sometimes referred to as a cmp)

But this involves PHP, ASP, CGI, or someother scripting language. PHP may be the best choice because it would most likely use a mysql database.

check out http://www.typo3.com (i think thats it)
otherwise go to www.hotscripts.com

hope ive been of some help

lucifer
June 11th, 2001, 16:19
????

use cascading style sheets

have a file mystyle.css with your colour scheme eg

A {color:green ; font-weight: bold}

then link this in the head of your html page

<link rel="stylesheet" href="mystyle.css" type="text/css">

then just change mystyle.css when you want a new look

Anayet
June 16th, 2001, 06:39
I don't know much about CSS, so can anyone help me.
What would I have to write to do the following:

I want the:
Text to be Blue
Mouseover text to be Red
Background to be Black
Links to be Green

How do i write CSS for the above?

Thanks
Anayet

Anayet
June 16th, 2001, 13:46
Whats the CSS text that needs to be written, to change the FONT COLOUR?

Thanks
Anayet

LeX
June 16th, 2001, 14:03
A {font-family : YOURFONTFACE; text-decoration : none; font-style : normal; color : COLOR}
A:Link {font-size : 12px; color : COLOR}
A:Visited {font-size : 12px; color : COLOR}
A:Active {font-size : 12px; color : COLOR}
A:Hover {font-size : 12px; color : COLOR}

You can set the background color in the <BODY> tag.

Anayet
June 17th, 2001, 06:55
Thanks for that, everything works, but I can't get to change the font color yet.
What am I doing wrong?

I'm using frontpage, and I change the text to defined term to make the paragraphs closer together. I tryed normal text, but the font color still doesn't change. Why can this be?

Thanks
Anayet

lucifer
June 17th, 2001, 06:58
body {color: COLOUR}