473,388 Members | 1,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

stringing bg properties together..

hi,

am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;

what is wrong w/it, pls..

thank you very much...
Dec 3 '07 #1
16 1875
rf

"maya" <ma********@yahoo.comwrote in message news:fj**********@aioe.org...
hi,

am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg) no-repeat
1% 50%;
Care to tell us what the actual error is?
what is wrong w/it, pls..
What is a w/it?

--
Richard.
Dec 3 '07 #2
maya wrote:
hi,

am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;

what is wrong w/it, pls..

thank you very much...
background-image is just the single property hat has only one value:
/the image/

If you want to combine your properties then what you what is "background"

http://www.w3.org/TR/CSS21/colors.ht...def-background

background: #fff background-image:url(images/more.jpg) no-repeat 1% 50%;

TIP: When in doubt, RT*M... so reference this page:

http://www.w3.org/TR/CSS21/propidx.html

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Dec 3 '07 #3
rf wrote:
"maya" <ma********@yahoo.comwrote in message news:fj**********@aioe.org...
>hi,

am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg) no-repeat
1% 50%;

Care to tell us what the actual error is?
>what is wrong w/it, pls..

What is a w/it?
sure..

Value Error : background-image Too many values or values are not
recognized : url(images/more.jpg) no-repeat 1% 50%

thank you very much..

Dec 3 '07 #4
On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
Jonathan N. Little wrote:
>maya wrote:
>>am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;
what is wrong w/it, pls..
background-image is just the single property hat has only one value:
/the image/
If you want to combine your properties then what you what is
"background"
http://www.w3.org/TR/CSS21/colors.ht...def-background
background: #fff background-image:url(images/more.jpg) no-repeat 1%
50%;

ok, am getting errors on BOTH of these:

background:#FFFFFF; background-image: url(images/more_roll.jpg)
no-repeat 1% 50%;

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;
Show us the URL.
--
Rik Wasmus
Dec 3 '07 #5
Rik Wasmus wrote:
On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
>Jonathan N. Little wrote:
>>maya wrote:
am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;
what is wrong w/it, pls..

background-image is just the single property hat has only one value:
/the image/
If you want to combine your properties then what you what is
"background"
http://www.w3.org/TR/CSS21/colors.ht...def-background
background: #fff background-image:url(images/more.jpg) no-repeat 1%
50%;

ok, am getting errors on BOTH of these:

background:#FFFFFF; background-image: url(images/more_roll.jpg)
no-repeat 1% 50%;

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;

Show us the URL.
I'm sorry, I can't.. this is at work, am still in dev server... (this
is for JSP's/XSL's/dynamic content, the works..) need to experiment more
in plain HTML then..

thank you very much...

Dec 3 '07 #6
On Mon, 03 Dec 2007 18:07:25 +0100, maya <ma********@yahoo.comwrote:
Rik Wasmus wrote:
>On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
>>Jonathan N. Little wrote:
maya wrote:
am getting W3C error on this code:
>
background-color:#FFFFFF; background-image:url(images/more.jpg)
no-repeat 1% 50%;
what is wrong w/it, pls..
>
background-image is just the single property hat has only one value:
/the image/
If you want to combine your properties then what you what is
"background"
http://www.w3.org/TR/CSS21/colors.ht...def-background
background: #fff background-image:url(images/more.jpg) no-repeat 1%
50%;

ok, am getting errors on BOTH of these:

background:#FFFFFF; background-image: url(images/more_roll.jpg)
no-repeat 1% 50%;

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;
Show us the URL.

I'm sorry, I can't.. this is at work, am still in dev server... (this
is for JSP's/XSL's/dynamic content, the works..) need to experiment more
in plain HTML then..

thank you very much...
I'd say that saving an HTML(/CSS) source and putting it up somewhere else
should not be a problem, is it?
--
Rik Wasmus
Dec 3 '07 #7
Jonathan N. Little wrote:
background: #fff background-image:url(images/more.jpg) no-repeat 1% 50%;
Sorry about that stupid cut'n paste error

<inserting foot and chewing vigorously>

Should have been:

background: #ffffff url(images/more.jpg) no-repeat 1% 50%;

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Dec 3 '07 #8
Rik Wasmus wrote:
On Mon, 03 Dec 2007 18:07:25 +0100, maya <ma********@yahoo.comwrote:
>Rik Wasmus wrote:
>>On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
Jonathan N. Little wrote:
maya wrote:
>am getting W3C error on this code:
>>
>background-color:#FFFFFF; background-image:url(images/more.jpg)
>no-repeat 1% 50%;
>what is wrong w/it, pls..
>>
background-image is just the single property hat has only one
value: /the image/
If you want to combine your properties then what you what is
"background"
http://www.w3.org/TR/CSS21/colors.ht...def-background
background: #fff background-image:url(images/more.jpg) no-repeat
1% 50%;

ok, am getting errors on BOTH of these:

background:#FFFFFF; background-image: url(images/more_roll.jpg)
no-repeat 1% 50%;

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;
Show us the URL.

I'm sorry, I can't.. this is at work, am still in dev server...
(this is for JSP's/XSL's/dynamic content, the works..) need to
experiment more in plain HTML then..

thank you very much...

I'd say that saving an HTML(/CSS) source and putting it up somewhere
else should not be a problem, is it?
no, of course not.. am so buys.. will do as soon as I can.. because AM
curious about this.. thank you very much..
Dec 3 '07 #9
maya wrote:
Rik Wasmus wrote:
>On Mon, 03 Dec 2007 18:07:25 +0100, maya <ma********@yahoo.comwrote:
>I'd say that saving an HTML(/CSS) source and putting it up somewhere
else should not be a problem, is it?

no, of course not.. am so buys.. will do as soon as I can.. because AM
curious about this.. thank you very much..

Next time a URL is most useful, but I did answer your question elsewhere
in thread.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Dec 3 '07 #10
On Mon, 03 Dec 2007 20:30:09 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
maya wrote:
>Rik Wasmus wrote:
>>I'd say that saving an HTML(/CSS) source and putting it up somewhere
else should not be a problem, is it?
no, of course not.. am so buys.. will do as soon as I can.. because
AM curious about this.. thank you very much..
Next time a URL is most useful, but I did answer your question elsewhere
in thread.
However, the OP claimed the right solution didn't solve anything:

On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
ok, am getting errors on BOTH of these:

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;
--
Rik Wasmus
Dec 4 '07 #11
Rik Wasmus wrote:
On Mon, 03 Dec 2007 20:30:09 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
>maya wrote:
>>Rik Wasmus wrote:
I'd say that saving an HTML(/CSS) source and putting it up somewhere
else should not be a problem, is it?
no, of course not.. am so buys.. will do as soon as I can.. because
AM curious about this.. thank you very much..
Next time a URL is most useful, but I did answer your question
elsewhere in thread.

However, the OP claimed the right solution didn't solve anything:

On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
>ok, am getting errors on BOTH of these:

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;
That's because I made a cut'n paste error in the version he tried. Above
is the corrected version....

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Dec 4 '07 #12
On Tue, 04 Dec 2007 05:06:05 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
Rik Wasmus wrote:
>On Mon, 03 Dec 2007 20:30:09 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
>>maya wrote:
Rik Wasmus wrote:
I'd say that saving an HTML(/CSS) source and putting it up somewhere
else should not be a problem, is it?
no, of course not.. am so buys.. will do as soon as I can.. because
AM curious about this.. thank you very much..

Next time a URL is most useful, but I did answer your question
elsewhere in thread.
However, the OP claimed the right solution didn't solve anything:
On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
>>ok, am getting errors on BOTH of these:

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;

That's because I made a cut'n paste error in the version he tried. Above
is the corrected version....
And the above is the one he claims he uses (and offcourse, #fff as a color
is still valid too, changing that too might confuse some people).
--
Rik Wasmus
Dec 4 '07 #13
Rik Wasmus wrote:
On Tue, 04 Dec 2007 05:06:05 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
>Rik Wasmus wrote:
>>On Mon, 03 Dec 2007 20:30:09 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
maya wrote:
Rik Wasmus wrote:
>I'd say that saving an HTML(/CSS) source and putting it up
>somewhere else should not be a problem, is it?
no, of course not.. am so buys.. will do as soon as I can..
because AM curious about this.. thank you very much..
>
Next time a URL is most useful, but I did answer your question
elsewhere in thread.
However, the OP claimed the right solution didn't solve anything:
On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.comwrote:
ok, am getting errors on BOTH of these:

background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;

That's because I made a cut'n paste error in the version he tried.
Above is the corrected version....

And the above is the one he claims he uses (and offcourse, #fff as a
color is still valid too, changing that too might confuse some people).
And of course not URL and no post of said W3C error! Can't help some
folks...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Dec 4 '07 #14
On Tue, 04 Dec 2007 05:22:31 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
Rik Wasmus wrote:
>On Tue, 04 Dec 2007 05:06:05 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
>>Rik Wasmus wrote:
On Mon, 03 Dec 2007 20:30:09 +0100, Jonathan N. Little
<lw*****@centralva.netwrote:
maya wrote:
>Rik Wasmus wrote:
>>I'd say that saving an HTML(/CSS) source and putting it up
>>somewhere else should not be a problem, is it?
> no, of course not.. am so buys.. will do as soon as I can..
>because AM curious about this.. thank you very much..
>>
Next time a URL is most useful, but I did answer your question
elsewhere in thread.
However, the OP claimed the right solution didn't solve anything:
On Mon, 03 Dec 2007 17:46:33 +0100, maya <ma********@yahoo.com>
wrote:
ok, am getting errors on BOTH of these:
>
background:#FFFFFF url(images/more_roll.jpg) no-repeat 1% 50%;

That's because I made a cut'n paste error in the version he tried.
Above is the corrected version....
And the above is the one he claims he uses (and offcourse, #fff as a
color is still valid too, changing that too might confuse some people).

And of course not URL
.... which we'll get soon according to the OP.
--
Rik Wasmus
Dec 4 '07 #15
In article <op***************@metallium.lan>,
"Rik Wasmus" <lu************@hotmail.comwrote:
On Tue, 04 Dec 2007 05:22:31 +0100, Jonathan N. Little
And of course not URL

... which we'll get soon according to the OP.
I, for one, am making big preparations for when it arrives... I
have hired a small band.

--
dorayme
Dec 4 '07 #16
rf wrote:
"maya" <ma********@yahoo.comwrote in message news:fj**********@aioe.org...
>hi,

am getting W3C error on this code:

background-color:#FFFFFF; background-image:url(images/more.jpg) no-repeat
1% 50%;

Care to tell us what the actual error is?
>what is wrong w/it, pls..

What is a w/it?
Presumably it means "with it" but why somebody would think this is
easier than using proper English is beyond me.
Dec 5 '07 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Dixie | last post by:
Can I set the Format property in a date/time field in code? Can I set the Input Mask in a date/time field in code? Can I set the Format of a Yes/No field to Checkbox in code? I am working on...
10
by: Sunny | last post by:
Hi, I have an old problem which I couldn't solve so far. Now I have found a post in that group that gave me an idea, but I can not fully understand it. The problem is: I'm trying to use a...
5
by: Chuck Bowling | last post by:
Ok, either I'm doing something wrong or the filters in help are worthless... I'm trying to format a string... Nothing special, just formatting... like C++... How do I do a newline? i.e.,...
26
by: julien | last post by:
Hello, I don't know when to use fields and when to used properties. It looks to me that using properties is always better. But I guess fields must be better in some cases, otherwise they wouldn't...
5
by: djscratchnsniffing | last post by:
i know you can access an ascx's properties/methods from an aspx file. Let's say you have an aspx file with two code-behind files(ascx files). Can you access one of the ascx file's...
1
by: CsaaGuy | last post by:
I am curious, does anyone know how the visual studio saves the properties you set at design time? I would like to do this at runtime so i'm curious. A note: I had a post eariler about setting a...
1
by: Phill. W | last post by:
I have a number of properties on a UserControl that are logically related to one another and do a specific job. What I'd /like/ to do is to have these properties available in the Forms Designer,...
1
by: Corrado Labinaz | last post by:
Hi everyone, I've a Configuration class with almost 200 read only properties. This class makes available configuration data to my whole application. I would like to group realted properties...
1
by: Christophe Peillet | last post by:
I have a CompositeControl with two types of properties: 1.) Mapped Properties that map directly to a child control's properties (ex.: this.TextboxText = m_txt.Text). These properties are handled...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.