TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Frequently Asked Questions / Tutorials / How do I?
-- how do i ?


Posted by Technaut on Oct-12-2003 11:42:

HappyHappy how do i ?

i have loads of webpages which i need to change the background colours and text colour etc

is there a quick way of doing this ?


Posted by jon on Oct-12-2003 11:49:

Its all about the style sheets. They are a small text file which contains all formating infomation, heres the one ive used for my home page

code:
BODY { BACKGROUND-COLOR: #000890 } TD.titlebar { BACKGROUND-COLOR: #3ff8ff } TD.linkbar { FONT: 8pt Verdana; COLOR: white; BACKGROUND-COLOR: #1f4ff0 } TABLE.content { BORDER-RIGHT: white 1px solid; BORDER-TOP: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid } A.links:link { FONT: bold 8pt Verdana; COLOR: white; TEXT-DECORATION: none } A.links:visited { FONT: bold 8pt Verdana; COLOR: white; TEXT-DECORATION: none } A.links:hover { FONT: bold 8pt Verdana; COLOR: white; TEXT-DECORATION: underline } A.links:active { FONT: bold 8pt Verdana; COLOR: white; TEXT-DECORATION: none } A.email:link { FONT: 10pt Verdana; COLOR: #3ff8ff; TEXT-DECORATION: none } A.email:visited { FONT: 10pt Verdana; COLOR: #3ff8ff; TEXT-DECORATION: none } A.email:hover { FONT: 10pt Verdana; COLOR: #3ff8ff; TEXT-DECORATION: underline } A.email:active { FONT: 10pt Verdana; COLOR: #3ff8ff; TEXT-DECORATION: none } .content_title { FONT: bold 10pt Verdana; COLOR: black } .content_text { FONT: 10pt Verdana; COLOR: white } .copyright { FONT: 8pt Verdana; COLOR: white }


and in the actual html file ive got
code:
< LINK href="files/ stylesheet.css" type=text/css rel=stylesheet >

(to keep the dam forums happy i had to insert a space after < , before stylesheet.css and before the > , dam things reading as html when its not allowed to

In between and
so any colour/font/size etc can be changed with just one file to be edited then all the paged that link to the style sheet will be changed
just do a google search for style sheets for shed loads of info, you can also get style sheet editors (i think the home suite package has an integrated one)


Posted by Technaut on Oct-14-2003 20:08:

you sir, make me feel rude


*goes off to fuck with is webpages*


Posted by jp on Oct-14-2003 20:12:

Keep up the good work Stuart


Posted by Technaut on Oct-14-2003 20:22:

stuart? my name is brian and im from latvia!


Posted by kaffeine4nrg on Oct-21-2003 23:57:

the quickest way i know how is...

... is to change your html files to a txt file then go to word pad then click on "edit" then "replace" then in the find what section enter the color code and replace it with a new color code in the "replace with what" box. you would have to do it with every page though and if you wanted to replace only one aspect of your webpage coloring but there are other parts that have the same color then it would replace every color code. for an example, say you have something in text that is red, FF0000, and you wanted to change it to black it would change everything to black including the visited links (assuming that you have them as red).
i hope that i helped you out and didn't waste your time.


Posted by itsTrueSonic on Nov-14-2003 04:08:

i think the easiest way is to either use CSS sheets or just script it (PHP, Java, etc...)



Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.