CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 'Heading 1' Format, Change Colors, Lose Formatting

Print topic Send  topic

Author Message
Chris Moore
Posted: 07/07/2003, 3:52 PM

I am trying to add a heading to my page. The heading is "TEST TEST" (not
very original but I am testing CCS out). If I set the format to Heading 1,
the text is large, like it should be. I can add Bold, Italic & Underline
also without a problem. But, when I change the color using the Color button
on the toolbar, the text goes back to its original keyed in size and is
also displayed that way in the browser (IE 6.0). Whay does changing the
color affect the code this way and how do I change the color of text
without it messing up the H1, H2, etc.??

Thanks again for answering one of my many many questions while I am in eval
mode.

Chris
DonB
Posted: 07/07/2003, 4:16 PM

CCS manages page formatting by using CSS. You are much better off following
that pattern and making your visual changes through CSS directives rather
than HTML directives. I know that is contradictory, since they give you
buttons to do it the way I recommend you don't. CSS values seem to take
precedence ovr HTML "font" settings in my browser and is probably not
dependable to rely on HTML settings.

If you go to the "style" dialog on any html element (i.e., by rightclicking
something in the Design panel), there is a text field for you to enter CSS
directives such as "FONT-SIZE:14pt" or "COLOR: Blue". These won't get
overridden once you put them in.

Ultimately, the best thing in my opinion is to add to the style.css file, or
better still, create your own stylesheet and add it to your pages with a
<LINK> directive in the header HTML. You may lose style.css (have it revert
back to it's original content), if you only change the one in your project
directory. If you "test" other themes, CCS will reload the original from
Program Files/CodeChargeStudio/Components/Themes/xxx and you will lose the
one you edited.

DonB

"Chris Moore" <chris@dblayout.com> wrote in message
news:Xns93B1B659A81E5cabubba@66.180.229.147...
> I am trying to add a heading to my page. The heading is "TEST TEST" (not
> very original but I am testing CCS out). If I set the format to Heading 1,
> the text is large, like it should be. I can add Bold, Italic & Underline
> also without a problem. But, when I change the color using the Color
button
> on the toolbar, the text goes back to its original keyed in size and is
> also displayed that way in the browser (IE 6.0). Whay does changing the
> color affect the code this way and how do I change the color of text
> without it messing up the H1, H2, etc.??
>
> Thanks again for answering one of my many many questions while I am in
eval
> mode.
>
> Chris


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.