~~~ Please read before posting. ~~~

Important: We need your Club Number at a minimum, and as many details as possible.
For further info please read This page before posting.

On the use of color...

  • SteveTheTechie
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

Re: On the use of color...

9 years 7 months ago - 9 years 7 months ago
#55224
You could use a style block, which is considered bad form for the HTML body, but should work. The only catch is that you would want to use it with class names on your paragraphs so you do not inadvertently change the template text, also.

It may just be simpler to put the paragraphs to be affected inside a <div>, which would group them, and then just put the style on the div.
Last edit: 9 years 7 months ago by SteveTheTechie.
The following user(s) said Thank You: silverdalex
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

Re: On the use of color...

9 years 7 months ago
#55225
Check the following out for some inspiration... ;)
d16.toastmastersdistricts.org/
d29.toastmastersdistricts.org/
The following user(s) said Thank You: silverdalex
The topic has been locked.
  • silverdalex
  • silverdalex's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thanks: 0

Re: On the use of color...

9 years 7 months ago - 9 years 7 months ago
#55226
Your <DIV> solution is wonderful. It is funny how we can overlook the simple solutions!

A question... about your <style> solution... I don't like that idea... as you said, it isn't good form... I recently took over the D32 website and after you mentioned the <style> solution, I noticed that several pages have used the <style> tag. Did one of my predecessors type that code in, or does the WYSIWYG editor put it in? I am a little nervous to delete it...
D32 Webmaster
Last edit: 9 years 7 months ago by silverdalex. Reason: update question
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

Re: On the use of color...

9 years 7 months ago
#55227
silverdalex wrote: Your <DIV> solution is wonderful. It is funny how we can overlook the simple solutions!

A question... about your <style> solution... I don't like that idea... as you said, it isn't good form... I recently took over the D32 website and after you mentioned the <style> solution, I noticed that several pages have used the <style> tag. Did one of my predecessors type that code in, or does the WYSIWYG editor put it in? I am a little nervous to delete it...

Not sure about the style blocks... I don't think the editor is doing it, but you would need to be more specific about where you are seeing it.
The following user(s) said Thank You: silverdalex
The topic has been locked.
  • silverdalex
  • silverdalex's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thanks: 0

Re: On the use of color...

9 years 7 months ago
#55228
Steve, you really are a great help.

Here is my <DIV> try... My text is now TI blue... d32.toastmastersdistricts.org/Division_B.html

As far as the <STYLE> tag goes, I deleted it from the previous page with no apparent change. I see another example on my homepage... it is embedded within a <p> tag... d32.toastmastersdistricts.org/

I have pasted some code below... the green and red code look like junk code that either someone either (left in / copied&pasted wrong / or is autocode from some program)

<p>District 32 serves Toastmasters in Lewis, Grays Harbor, Thurston, Mason, Clallam, Jefferson, Kitsap, Pierce and Southern King County in Western Washington State <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="Generator" content="Cocoa HTML Writer" /><meta name="CocoaVersion" content="1348.17" />
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px 'Helvetica Neue'; -webkit-text-stroke: #000000}
span.s1 {font-kerning: none}
</style>

and also the State of Alaska. Visitors are welcome at our open meetings anytime or at our District Events.</p>

Do you agree that it is junk code? I like to write clean code...
D32 Webmaster
The topic has been locked.
  • silverdalex
  • silverdalex's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thanks: 0

Re: On the use of color...

9 years 7 months ago
#55229
Steve,

I believe that I have answered my own question... In case someone else finds this thread useful, it seems likely to me that a previous webmaster entered their own HTML code... their code was created with a Mac using TextEdit and the Texutil converter... and the html command. This creates an html file that if copied and pasted wrong could create junk code such as what I see...

Thanks again...
D32 Webmaster
The topic has been locked.
Moderators: BrianPamrhtaylor3marc33NotLiablejgavinLcala305Henipeterb323DebbieT
Time to create page: 1.003 seconds