TranceAddict Forums (www.tranceaddict.com/forums)
- Frequently Asked Questions / Tutorials / How do I?
-- how do i ?
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 ?
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 }
code:
< LINK href="files/ stylesheet.css" type=text/css rel=stylesheet >

you sir, make me feel rude 
*goes off to fuck with is webpages*
Keep up the good work Stuart
stuart? my name is brian and im from latvia!
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.
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.