| Author |
CSS and solving body colour problem
|
|
| l.owen 2005-03-03, 11:18 pm |
| Please go to this site. Tell me what you see.
http://home.swipnet.se/owen/
I have created a html document which has a link to a file called external.css.
I have changed the colour attribute to gray #COCOCO. Can you see this colour?
When I view this site, the screen is white! But the attribute says #COCOCO,
infact it happens with any colour.
Does anybody know why?
| |
| Baxter 2005-03-03, 11:18 pm |
| From what I can tell external.css is not uploaded to the site if it is what
directory is it in?
Dave
"l.owen" <webforumsuser@macromedia.com> wrote in message
news:d087cn$jnt$1@forums.macromedia.com...
> Please go to this site. Tell me what you see.
> http://home.swipnet.se/owen/
>
> I have created a html document which has a link to a file called
external.css.
> I have changed the colour attribute to gray #COCOCO. Can you see this
colour?
> When I view this site, the screen is white! But the attribute says
#COCOCO,
> infact it happens with any colour.
> Does anybody know why?
>
| |
| Kenneth W. Binney 2005-03-03, 11:18 pm |
| I think you need a space after the word body
body {
background-color: #COCOCO;
color: #666666;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
text-align: center;
font-size:100%;
}
"l.owen" <webforumsuser@macromedia.com> wrote in message
news:d087cn$jnt$1@forums.macromedia.com...
> Please go to this site. Tell me what you see.
> http://home.swipnet.se/owen/
>
> I have created a html document which has a link to a file called
> external.css.
> I have changed the colour attribute to gray #COCOCO. Can you see this
> colour?
> When I view this site, the screen is white! But the attribute says
> #COCOCO,
> infact it happens with any colour.
> Does anybody know why?
>
| |
| l.owen 2005-03-03, 11:18 pm |
| I though so too but other details that I change are being uploaded. When I
compare the weight of the *.CSS file in my site folder to that on the remote
folder, they are the same after upload. But when I refresh the remote view, the
file size drops and when I check what is missing. It seem to be the body-colour
attribute! I gather this is not normal behaviour. Any ideas as to how I can
solve this problem?
| |
| Baxter 2005-03-03, 11:18 pm |
| CSS file is uploaded see Kenneth's answer He's right.
Dave
"l.owen" <webforumsuser@macromedia.com> wrote in message
news:d0893q$m1e$1@forums.macromedia.com...
> I though so too but other details that I change are being uploaded. When I
> compare the weight of the *.CSS file in my site folder to that on the
remote
> folder, they are the same after upload. But when I refresh the remote
view, the
> file size drops and when I check what is missing. It seem to be the
body-colour
> attribute! I gather this is not normal behaviour. Any ideas as to how I
can
> solve this problem?
>
| |
| discman 2005-03-03, 11:18 pm |
| mmm....well I tried to see the css from here and there no css on the server.
| |
| l.owen 2005-03-03, 11:18 pm |
| What is really anoying about this problem is that I can see the desired effect
in design view. When I press F12, which I do after saving and uploading,
there's a blank screen.
I am using dreamweaverMX v6.1 and I use IE v6.
| |
| Baxter 2005-03-03, 11:18 pm |
| link to css is http://home.swipnet.se/owen/CssFiles/external.css
its up on the server
Dave
"discman" <webforumsuser@macromedia.com> wrote in message
news:d08ad9$nkl$1@forums.macromedia.com...
> mmm....well I tried to see the css from here and there no css on the
server.
>
>
| |
| Baxter 2005-03-03, 11:18 pm |
| Try deleting your temp internet files and see if that helps.
Dave
"l.owen" <webforumsuser@macromedia.com> wrote in message
news:d08avf$oc3$1@forums.macromedia.com...
> What is really anoying about this problem is that I can see the desired
effect
> in design view. When I press F12, which I do after saving and uploading,
> there's a blank screen.
> I am using dreamweaverMX v6.1 and I use IE v6.
>
| |
| discman 2005-03-03, 11:18 pm |
| can you post the html and css...I tried to look at the css from here but there wasn't any.
| |
| Randy Edmunds 2005-03-08, 4:30 am |
| Make sure that you using the number zero and not the letter oh in your
#C0C0C0 string. DW accepts ohs for zero, so that's probably why you're
seeing the expected color in Design View, but current browsers do not.
Not sure why DW does that, but we have it fixed for next release.
HTH,
Randy
> I have created a html document which has a link to a file called external.css.
> I have changed the colour attribute to gray #COCOCO. Can you see this colour?
> When I view this site, the screen is white! But the attribute says #COCOCO,
> infact it happens with any colour.
> Does anybody know why?
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |