This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > July 2004 > Style sheets not showing up in browser





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 Style sheets not showing up in browser

2004-07-31, 4:14 am

I have been messing around with some css and I have not been able to see the
finished style in IE6 or in Mozilla.

I know the image is not showing for obvious link problems, but the .100width
I don't understand. What am I doing wrong - newbie frustration.
Everything looks fine in DWMX2004

Code :
<div class="pictplace"><div class="100width">This is some text. I wonder how
far it will go before it wraps.</div></div>


I have these two styles in the document :

<style type="text/css">
<!--
..pictplace {
background-attachment: fixed;
background-image: url(v212.gif);
background-repeat: no-repeat;
background-position: right bottom;
background-color: #CC6699;
height: 100px;
width: 300px;
border: 2px #000000;
}
..100width {
width: 100px;
background-color: #CCCCCC;
margin: 12px 5px 5px 100px;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: italic;
color: #FFFFFF;
font-weight: bold;
text-align: center;
border: 1px dotted #000000;
}
-->
</style>


Fatty

2004-07-31, 12:14 pm

Try calling it width100 instead of 100width.

kwake@charter.net wrote:


> .100width {
> width: 100px;
> background-color: #CCCCCC;
> margin: 12px 5px 5px 100px;
> font-family: Geneva, Arial, Helvetica, sans-serif;
> font-size: 14px;
> font-style: italic;
> color: #FFFFFF;
> font-weight: bold;
> text-align: center;
> border: 1px dotted #000000;
> }


2004-07-31, 7:14 pm

Well - I have found my problem and it has to deal with the fact that DW
opens and tries to edit the .css file but doesn't exactly put the edited css
in there when I make changes for some reason. I am constantly having
to"baby-sit" the .css file that DW doesn't pay attention to. Is there some
thing I doing wrong for DWMX2004 to constantly not add the changes that I
make in design view to the .css file?

Thanks.

Katherine



"Fatty" <fatty2@hotmail.com> wrote in message
news:410b9895$1@duster.adelaide.on.net...
> Try calling it width100 instead of 100width.
>
> kwake@charter.net wrote:
>
>
>



Sponsored Links


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