Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Hullo :) Property Layer-Backgound-Color doesnt exist!

Reply
Thread Tools

Hullo :) Property Layer-Backgound-Color doesnt exist!

 
 
DJS2C
Guest
Posts: n/a
 
      01-25-2005
Property- layer-background-doesnt exist

Apparantly.

Hi people I have seen about
I have a site and have this validation error. You can try firespin.co.uk
(index and onwards) if you want to see the site im trying to validate.

Cant I use background colour for my layers surley I can? ( I meen the layer
I make in DW.)

The site is an old one as I have changed it to now have H1, H2 etc. I had
trouble with this when I was making it but now it's fine changing it after
!?!

Anyway any light would be good as I cant find it on google/in my books. I am
leaning code as well so no DW bashing at me lol!

Cheers Big Ears
James


 
Reply With Quote
 
 
 
 
Leif K-Brooks
Guest
Posts: n/a
 
      01-25-2005
DJS2C wrote:
> Property- layer-background-doesnt exist


Please provide the *exact* error message you're getting in the future.

> I have a site and have this validation error. You can try firespin.co.uk
> (index and onwards) if you want to see the site im trying to validate.


Please provide a full URI (<http://www.firespin.co.uk/Index.htm> in this
case) in the future.

The problem here is that Dreamweaver is inserting some sort of
proprietary layer-background-color CSS property in addition to the
standard background-color one. Take that out.

By the way, your page has many more problems than that; for instance,
see what happens when you try adjusting your browser's font size.

If I were you, I would start over with a hand-coded page and put your
CSS in a separate file.
 
Reply With Quote
 
 
 
 
Steve Pugh
Guest
Posts: n/a
 
      01-25-2005
"DJS2C" <> wrote:

>Property- layer-background-doesnt exist


Correct.

>Apparantly.


Check the spec: http://www.w3.org/TR/CSS2/propidx.html

>Hi people I have seen about


Yes it was a non standard property that only Netscape 4 used and which
only affected positioned elements ('layers' in Dreamweaver speak, but
more than <layer>s in Netscape 4 speak, oddly enough).

The only point in using it was to make Netscape 4 apply the background
colour to the extra padding area that it added between the CSS padding
and the border. That was 1998, today is 2005.

>Cant I use background colour for my layers surley I can? ( I meen the layer
>I make in DW.)


Of course you can. Use background-color.

Be aware that 'layer' is not a well defined term and shouldn't really
be used.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <> <http://steve.pugh.net/>
 
Reply With Quote
 
DJS2C
Guest
Posts: n/a
 
      01-25-2005

"Leif K-Brooks" <> wrote in message
news:...
> DJS2C wrote:
> > Property- layer-background-doesnt exist

>
> Please provide the *exact* error message you're getting in the future.
>
> > I have a site and have this validation error. You can try firespin.co.uk
> > (index and onwards) if you want to see the site im trying to validate.

>
> Please provide a full URI (<http://www.firespin.co.uk/Index.htm> in this
> case) in the future.
>
> The problem here is that Dreamweaver is inserting some sort of
> proprietary layer-background-color CSS property in addition to the
> standard background-color one. Take that out.
>
> By the way, your page has many more problems than that; for instance,
> see what happens when you try adjusting your browser's font size.
>
> If I were you, I would start over with a hand-coded page and put your
> CSS in a separate file.


Yeh thanks for the help. I am doing some hand coding / learning at the
moment. I was quite happy the other week as I had done some nice vailidated
sites etc and now I feel like im knowhere near where I want to be. But I
will, still a new kiddie so lots of time . Im from Print . Words stayed
the same size lol , but it's like 'trapping' some of the problems

Cheers
James


 
Reply With Quote
 
nice.guy.nige
Guest
Posts: n/a
 
      01-26-2005
While the city slept, Steve Pugh () feverishly typed...
> The only point in using it was to make Netscape 4 apply the background
> colour to the extra padding area that it added between the CSS padding
> and the border. That was 1998, today is 2005.


Yup. And the college I worked for still had Netscape 4 as the default
browser on a lot of the PC's up until sometime last year!

Cheers,
Nige

--
Nigel Moss
http://www.nigenet.org.uk
Mail address not valid. , take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp.net User Control or Custom control Property doesnt accept inlineasp.net constract <%= %> is there a workaround? AleXmanFree ASP .Net 3 10-09-2008 07:39 PM
sort list doesnt work, key=str still doesnt work notnorwegian@yahoo.se Python 3 05-27-2008 04:32 AM
Hullo: New VOIP service Brian A UK VOIP 0 09-06-2006 09:36 AM
PC doesnt boot first time and doesnt shutdown dann Computer Support 6 08-21-2006 07:31 AM
Inherited Web Label doesnt properly initialize "Text" property Aaron Abdis ASP .Net Building Controls 2 08-19-2004 02:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57