This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > CSS problems *link*





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS problems *link*
Tim and Kristen Martin Family

2004-06-11, 7:14 pm

On my last post I forgot to give the link. Here it is:

http://www.topstepdesign.com/client...rywebsite/whatt
oexpect.htm

Tim

Dan Vendel *GOF*

2004-06-11, 7:14 pm

Tim and Kristen Martin Family wrote:

> On my last post I forgot to give the link. Here it is:
>
> http://www.topstepdesign.com/client...rywebsite/whatt
> oexpect.htm
>
> Tim
>


Arghh...why not post it in the thread you already started?????????
Which style is it that isn't OK?

--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
Tim and Kristen Martin Family

2004-06-11, 7:14 pm

Ok, sorry. Here's everything together.

I am using MX 2004 and trying to format text using CSS. All the formatting
works fine and shows up properly in other browsers, (even NN!), but in IE
the colors are gone. All the text shows up as black... (heads should be
orange or blue)

Can somebody look at this and give me a clue what's going on?

The other problem is that I'm using CSS to place a background image, but in
NN it is gone. Any workarounds?

Thanks,
Tim

Here's the link:

http://www.topstepdesign.com/client...rywebsite/whatt
oexpect.htm

> From: Dan Vendel *GOF* <see_my_signature_@_the_bottom_of_the_post.org>
> Newsgroups: macromedia.dreamweaver
> Date: Fri, 11 Jun 2004 17:21:29 +0200
> Subject: Re: CSS problems *link*
>
> Tim and Kristen Martin Family wrote:
>
>
> Arghh...why not post it in the thread you already started?????????
> Which style is it that isn't OK?
>
> --
> Dan Vendel - *GOF*
> Contact me directly at http://contact.vendel.info
> Formmail tutorial at http://www.vendel.info/tut/formmail.html
> Nested table demonstration at http://www.vendel.info/tabletut/
> Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
> Search Dreamweaver newsgroup at http://www.vendel.info/google.html


Dan Vendel *GOF*

2004-06-11, 7:14 pm

Tim and Kristen Martin Family wrote:

> Ok, sorry. Here's everything together.
>
> I am using MX 2004 and trying to format text using CSS. All the formatting
> works fine and shows up properly in other browsers, (even NN!), but in IE
> the colors are gone. All the text shows up as black... (heads should be
> orange or blue)
>
> Can somebody look at this and give me a clue what's going on?
>
> The other problem is that I'm using CSS to place a background image, but in
> NN it is gone. Any workarounds?


You have a bit odd styling.
Take away the styles you have for the text. Re-define the <p> tag, i.e.
give it a font, size, color, etc. That'll take care of most.
Then do the same with e.g. the <h1> tag and use that for the headlines.
Then a class for the span tags. i.e. "subhead".
Then you might need to enter code view to wrap the tags around the text:

<h2>Our Core Values:</h2>
<p><span class="subhead">Integrity:</span> We are always honest and
forthright with our customers. </p>


--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
Tim and Kristen Martin Family

2004-06-11, 7:14 pm

Are you saying to NOT use CSS? I'm not much of a coder yet, just a DW user.
I created the CSS in DW just like I used to in 4.0, except I applied the
styles using the Styles menu in the control pallete. I could figure out how
to do it through the CSS Styles menu. Probably that's the problem. Any
pointers about how to apply CSS on text properly?

Tim

> From: Dan Vendel *GOF* <see_my_signature_@_the_bottom_of_the_post.org>
> Newsgroups: macromedia.dreamweaver
> Date: Fri, 11 Jun 2004 17:34:02 +0200
> Subject: Re: CSS problems *link*
>
> Tim and Kristen Martin Family wrote:
>
>
> You have a bit odd styling.
> Take away the styles you have for the text. Re-define the <p> tag, i.e.
> give it a font, size, color, etc. That'll take care of most.
> Then do the same with e.g. the <h1> tag and use that for the headlines.
> Then a class for the span tags. i.e. "subhead".
> Then you might need to enter code view to wrap the tags around the text:
>
> <h2>Our Core Values:</h2>
> <p><span class="subhead">Integrity:</span> We are always honest and
> forthright with our customers. </p>
>
>
> --
> Dan Vendel - *GOF*
> Contact me directly at http://contact.vendel.info
> Formmail tutorial at http://www.vendel.info/tut/formmail.html
> Nested table demonstration at http://www.vendel.info/tabletut/
> Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
> Search Dreamweaver newsgroup at http://www.vendel.info/google.html


Dan Vendel *GOF*

2004-06-11, 7:14 pm

Tim and Kristen Martin Family wrote:

> Are you saying to NOT use CSS? I'm not much of a coder yet, just a DW user.
> I created the CSS in DW just like I used to in 4.0, except I applied the
> styles using the Styles menu in the control pallete. I could figure out how
> to do it through the CSS Styles menu. Probably that's the problem. Any
> pointers about how to apply CSS on text properly?


No, no. It's CSS alright.
Do this: Open the CSS dialog window to create a new style. Select
"re-define tag" and in the jump menu, you select the "p". Then, the
window with all options will open and you just pick your choices.
Then do the same with the "h2" tag.
Then create a custom style, a "class" for the "subheader" and call it
e.g. ".subheader".

When that's done, you can e.g. select the text (in design view) and
select which tag you want applied by using the leftmost jumpmenu in the
property inspector. But it might be tricky, so you may have to go into
code view and place tags as I suggested before.

Make a backup of the file and play around!!!!

--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
Michael Fesser

2004-06-11, 7:14 pm

.oO(Dan Vendel *GOF*)

>You have a bit odd styling.


And billions of empty table cells ... *shudder*
And no alt-attributes ...

>Then do the same with e.g. the <h1> tag and use that for the headlines.
>Then a class for the span tags. i.e. "subhead".


Why a span-element at all? "subhead" is a heading, so one should use a
heading element, h3 in this case. Or maybe a strong-element. But finally
it looks more or less like a list, so I would probably use a definition
list there.

>Then you might need to enter code view to wrap the tags around the text:
>
><h2>Our Core Values:</h2>
><p><span class="subhead">Integrity:</span> We are always honest and
>forthright with our customers. </p>


<h2>Our Core Values:</h2>
<dl>
<dt>Integrity:</dt>
<dd>We...</dd>
<dt>Creativity:</dt>
<dd>Our...</dd>
....
</dl>

Just my 2 cents
Micha
Tim and Kristen Martin Family

2004-06-11, 7:14 pm

What about the problem with the CSS background image disappearing in NN? Any
thoughts there?

TIA,
Tim

> From: Dan Vendel *GOF* <see_my_signature_@_the_bottom_of_the_post.org>
> Newsgroups: macromedia.dreamweaver
> Date: Fri, 11 Jun 2004 18:08:19 +0200
> Subject: Re: CSS problems *link*
>
> Tim and Kristen Martin Family wrote:
>
>
> No, no. It's CSS alright.
> Do this: Open the CSS dialog window to create a new style. Select
> "re-define tag" and in the jump menu, you select the "p". Then, the
> window with all options will open and you just pick your choices.
> Then do the same with the "h2" tag.
> Then create a custom style, a "class" for the "subheader" and call it
> e.g. ".subheader".
>
> When that's done, you can e.g. select the text (in design view) and
> select which tag you want applied by using the leftmost jumpmenu in the
> property inspector. But it might be tricky, so you may have to go into
> code view and place tags as I suggested before.
>
> Make a backup of the file and play around!!!!
>
> --
> Dan Vendel - *GOF*
> Contact me directly at http://contact.vendel.info
> Formmail tutorial at http://www.vendel.info/tut/formmail.html
> Nested table demonstration at http://www.vendel.info/tabletut/
> Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
> Search Dreamweaver newsgroup at http://www.vendel.info/google.html


Dan Vendel *GOF*

2004-06-11, 7:14 pm

Tim and Kristen Martin Family wrote:

> What about the problem with the CSS background image disappearing in NN? Any
> thoughts there?


I dunno, but I suspect that your numerous cells in the table might cause
this. Really, you should not build a page like you have done. When using
DW Layout mode you'll usually end up in a mess, since it makes you
believe there are ways to cut corners. Eventually, people realize that
there aren't, and there are no way but the "hard" one, i.e. to learn
html and DW basics.

If you have a hour to spend, maybe this will help you:
http://www.vendel.info/tabletut/

--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews