PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > Text Colors Won't Change
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Text Colors Won't Change

Réponse
 
LinkBack Outils de la discussion
Vieux 29/02/2008, 22h17   #1
ajsmvs
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Text Colors Won't Change

:disgust; Have many years using Pagemaker. Working within PM what you tell the
text to do, it does. Not true with HTML, I am finding out. It is as if we are
back in the stone age with this HTML code structure.

I have designed a web site for our church www.redhillssbc.org
https://www.redhillssbc.org, and have recently added a photo as background to
our home page. That necessitated trying to change the font colors to allow for
readability.

PROBLEM: From Design window, in Page Properties, under Links, the color used
for "links" has no effect on most of the linked text. Sometimes the selected
colors show within Dreamweaver, but when saved and "put" the web site shows
some previous colors that were selected not the new colors. To verify that the
changes have been "uploaded", I would make some minor change to the page and
checked to verify that change. The upload was good every time.

Sometimes, within DW, the changes to Page Properties/Links/Text Color would
have no effect on the DW page display. Even tried identfying the text and
choosing No Color. The old text still shows.
Have tried in Split Window/in code window, to delete references to color or
style to have to go back in and add text font, color, and size, and color. Even
that doesn't change the old color still showing on the web.

Is there a global setting? Which has priority, page properties, or individual
settings? If I delete the code references to all the CSS styles, would that
? I have not used any CSS style sheets, but DW assigns CSS styles on its
own.

Frustrated
Tony Salso
tsalso@utahweb.com

  Réponse avec citation
Vieux 01/03/2008, 13h04   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Text Colors Won't Change

> Not true with HTML, I am finding out. It is as if we are
> back in the stone age with this HTML code structure.


With regard to having the same level of control as you do with a page layout
program, of course. But the WEB is not like a piece of paper. You cannot
know what configuration I have on my computer, and so your display must be
built to accommodate that.

> PROBLEM: From Design window, in Page Properties, under Links, the color
> used
> for "links" has no effect on most of the linked text. Sometimes the
> selected
> colors show within Dreamweaver, but when saved and "put" the web site
> shows
> some previous colors that were selected not the new colors. To verify that
> the
> changes have been "uploaded", I would make some minor change to the page
> and
> checked to verify that change. The upload was good every time.


You cannot work effectively with an HTML authoring program without
understanding something about HTML, just like you cannot work with a page
layout program without understanding something about printing. With HTML
authoring, the answer to ALL layout problems lies in the HTML code on the
page.

Please tell us which text on your first link is giving you trouble.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ajsmvs" <webforumsuser@macromedia.com> wrote in message
news:fqa0ak$37v$1@forums.macromedia.com...
> :disgust; Have many years using Pagemaker. Working within PM what you tell
> the
> text to do, it does. Not true with HTML, I am finding out. It is as if we
> are
> back in the stone age with this HTML code structure.
>
> I have designed a web site for our church www.redhillssbc.org
> https://www.redhillssbc.org, and have recently added a photo as background
> to
> our home page. That necessitated trying to change the font colors to allow
> for
> readability.
>
> PROBLEM: From Design window, in Page Properties, under Links, the color
> used
> for "links" has no effect on most of the linked text. Sometimes the
> selected
> colors show within Dreamweaver, but when saved and "put" the web site
> shows
> some previous colors that were selected not the new colors. To verify that
> the
> changes have been "uploaded", I would make some minor change to the page
> and
> checked to verify that change. The upload was good every time.
>
> Sometimes, within DW, the changes to Page Properties/Links/Text Color
> would
> have no effect on the DW page display. Even tried identfying the text and
> choosing No Color. The old text still shows.
> Have tried in Split Window/in code window, to delete references to color
> or
> style to have to go back in and add text font, color, and size, and color.
> Even
> that doesn't change the old color still showing on the web.
>
> Is there a global setting? Which has priority, page properties, or
> individual
> settings? If I delete the code references to all the CSS styles, would
> that
> ? I have not used any CSS style sheets, but DW assigns CSS styles on
> its
> own.
>
> Frustrated
> Tony Salso
> tsalso@utahweb.com
>


  Réponse avec citation
Vieux 01/03/2008, 15h27   #3
ajsmvs
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Text Colors Won't Change

Murray, Thanks for your response.

As to code, I am beginning to spend time reviewing the code trying to deceifer
mistakes. It must be admitted that prior to HTML the last time code knowledge
was necessary was perf tape. I started teaching on dedicated phototypesetting
machines with perf tape back in the 80's (?). What I have noticed is that this
HTML code shows up in places it shouldn't. I remember Front Page being accused
of dumping all sorts of unnecessary code into a project, but from what I see,
Dreamweaver does the same. Perhaps the nature of the beast, but undeniably
still very clumsy.

At the top of the home page http://www.redhillssbc.org the first line below
the pictures in DW design view is linked and correctly shows the color as Light
Blue #00ffff. But the web site shows Dark Blue #000066. In DW it is correct,
but on the web incorrect.

This next one is different. Three lines down is an email link. In DW design
view it shows as Dk Bl #000066, the Text Color box correctly shows Lite Blue
#00ffff, and the web site is Dk Blue #000066. Go figure! I suspect that
somewhere in the code structure in front of this text is some left over code
from the original design of using text as dk blue. IN DW the display (Design
view) is incorrect, and the web is incorrect, but the text color box is correct.

After writing my original note here, I created style sheets for Main Headings,
Section hds, text, and links. I then deleted all other styles. I then went
through the home page attaching the styles to the text. DW created new style
sheets when I would add any variation to the text as in making a word italics.
Using styles did the problem some, but I still am fighting incorrect
colors. I have also turned off the Page Properties as to text and linked items.

Thanks for the response.
Tony Salso
tsalso@utahweb.com


  Réponse avec citation
Vieux 01/03/2008, 17h36   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Text Colors Won't Change

> hat I have noticed is that this
> HTML code shows up in places it shouldn't.


Only when placed there by users, though. DW doesn't do this.

> I remember Front Page being accused
> of dumping all sorts of unnecessary code into a project, but from what I
> see,
> Dreamweaver does the same


What is an example of this? Perhaps you are interpreting the code you see
incorrectly.

In looking at the page you have posted, there are so many errors of usage
and practice, it's hard to know where to begin, really. Running the page
through the W3 validator - http://validator.w3.org, I find 57 errors -

http://validator.w3.org/check?verbos...illssbc.org%2F

It really doesn't make sense to try to fix layout issues without tackling
these errors.

Generally speaking, a valid and complete HTML page contains one each <html>,
<head>, and <body> tags, each properly closed. Your page contains <html>
and <head> tags, but no </head>, no <body>, no </body> and no </html>. Many
of the tags on the page within the (putative) body are left unclosed. For
example, the main table (and the page itself) ends like this -

<table width="51%" align="right" bordercolor="00ffff"
bgcolor="#333333" style="width: 13%">
<tr>
<td width="276" height="19" bordercolor="" style="width:
163px"><div align="center"><a href="mailto:tsalso@redhillssbc.org"
class="style32">Send your comments to the webmaster</a></div></td>
</tr>
</table>
</div>
</tr>

Shall we set about correcting these things before addressing the fact that
your "body" is where the CSS for the page declares -

a:visited {
color: #6699FF;
}
a:hover {
color: #FFFF00;
}
a:active {
color: #00FF00;
}
a:link {
font-family: "Comic Sans MS";
font-size: 9pt;
font-style: normal;
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
padding: 5pt;
height: auto;
width: auto;
}

Now, since the style for a:link is declared last, it has priority over all
other pseudo-class rules by the CSS cascade, and since it declares NO color
value, the default (dark blue) color applies. You are right that (in this
case) DW gets it wrong, being flummoxed by your page code anomalies. On a
page with SO many errors of usage, you cannot expect DW to render things
properly.

So, I'm willing to you work on this page, but you have to promise to
stop thinking of DW as a sort of page composition program.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ajsmvs" <webforumsuser@macromedia.com> wrote in message
news:fqbsl6$6tn$1@forums.macromedia.com...
> Murray, Thanks for your response.
>
> As to code, I am beginning to spend time reviewing the code trying to
> deceifer
> mistakes. It must be admitted that prior to HTML the last time code
> knowledge
> was necessary was perf tape. I started teaching on dedicated
> phototypesetting
> machines with perf tape back in the 80's (?). What I have noticed is that
> this
> HTML code shows up in places it shouldn't. I remember Front Page being
> accused
> of dumping all sorts of unnecessary code into a project, but from what I
> see,
> Dreamweaver does the same. Perhaps the nature of the beast, but undeniably
> still very clumsy.
>
> At the top of the home page http://www.redhillssbc.org the first line
> below
> the pictures in DW design view is linked and correctly shows the color as
> Light
> Blue #00ffff. But the web site shows Dark Blue #000066. In DW it is
> correct,
> but on the web incorrect.
>
> This next one is different. Three lines down is an email link. In DW
> design
> view it shows as Dk Bl #000066, the Text Color box correctly shows Lite
> Blue
> #00ffff, and the web site is Dk Blue #000066. Go figure! I suspect that
> somewhere in the code structure in front of this text is some left over
> code
> from the original design of using text as dk blue. IN DW the display
> (Design
> view) is incorrect, and the web is incorrect, but the text color box is
> correct.
>
> After writing my original note here, I created style sheets for Main
> Headings,
> Section hds, text, and links. I then deleted all other styles. I then went
> through the home page attaching the styles to the text. DW created new
> style
> sheets when I would add any variation to the text as in making a word
> italics.
> Using styles did the problem some, but I still am fighting incorrect
> colors. I have also turned off the Page Properties as to text and linked
> items.
>
> Thanks for the response.
> Tony Salso
> tsalso@utahweb.com
>
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h36.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14131 seconds with 12 queries