HighDots Forums  

Colours

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Colours in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Matt Rushton
 
Posts: n/a

Default Re: Colours - 08-10-2003 , 11:29 AM






I wont get involved in the text size argument but i'll take a stab at your
colour question.

Create one base style sheet which defines all the layout and any shared
colors which are used accross all pages independant of color scheme. Then
create seperate style sheets for each color which just define color changes
of the elements you wish to change. Work out the colors you will use first
and you can simply do a find and replace on the first style sheet.

You can then use javascipt or serverside scripting to change the color
stylesheet based on a user's action. By using a cookie, you could make the
user's preference permanant when they return to the site.

Matt

"Catherine" <bill884 (AT) hotmail (DOT) com> wrote

Quote:
Hi,



I'm after some help with some JavaScript coding.



How would I allow a user to click an icon on the homepage, so that the
website (all pages) appear with a larger text size, for example if my mum
wanted to view the site who has bad vision and needed to see a larger text
size.



Also how could it be set-up so that a user can select from a small menu of
icons, the background colour of the site, for example if the background is
normally white with black text.



However if the user wanted to change the background, the user could select
a
yellow icon, and once this is clicked on the whole site background is
black
with yellow text, or a green icon where the background remains black but
the
text turns green.



I would appreciate any help with the above.



Best wishes,



Catherine





Reply With Quote
  #12  
Old   
Johannes Koch
 
Posts: n/a

Default Re: Colours - 08-11-2003 , 03:32 AM






shall (AT) pricebookservices (DOT) com wrote:
Quote:
I would suggest that: "HTML and JavaScript are actually two separate
things. A question on JavaScript is best asked in a newsgroup specifically
targetd for that. This group is primarily for HTML only related
questions."
No, this group is for CSS related questions.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)



Reply With Quote
  #13  
Old   
Sue Sims
 
Posts: n/a

Default Re: Colours - 09-04-2003 , 03:38 PM



On Fri, 08 Aug 2003 20:02:02 -0500, Shawn K. Quinn <skquinn (AT) xevious (DOT) kicks-
ass.net> wrote:

Quote:
(This is one irritant I have when using Opera; unless I'm really missing
something, there is no simple "bump the font size up one notch" option,
you have to
adjust the zoom, which zooms *everything*.)
I adjusted the display size using Opera's minimum font-size option, located
at File > Preferences > Fonts (near the bottom of the page).

Sue


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.