(Msg. 1) Posted: Wed Oct 28, 2009 10:31 am
Post subject: problem with repeating css graphic Archived from groups: microsoft>public>frontpage>client (more info?)
body{background-image:url('images/bggreen.jpg');}
This is created in a css page and is linked to a page. It displays it in
the page I want it to. The problem is I do not want to image to repeat.
The code below works on a single page. The problem seems to be trying to
get the image not to repeat and get the color to continue on the page on the
css page that I am linking it to. The image displays but it repeats. It
seems like I am missing some type of configuration. Any help would be
appreciated.
<style type="text/css">
body {background: #EFEFEF url(images/bggreen.jpg) repeat-x;}
</style>
(Msg. 2) Posted: Wed Oct 28, 2009 1:05 pm
Post subject: Re: problem with repeating css graphic [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hi Mark,
There's 4 options for repeat
repeat-x - repeats across the page (but not down)
repeat-y - repeats down the page (but not across)
repeat - tiles to fill the page
no-repeat - shows the image once.
Sounds like you should be using no-repeat rather than repeat-x. This will
show the image once in the top left - if you want it somewhere else you can
set it's position.
Cheers,
Jon
"Mark" <rmwatrich.TakeThisOut@hotmail.com> wrote in message
news:9EF3299B-1464-4277-99FA-D0B8B275AE85@microsoft.com...
>
>
> body{background-image:url('images/bggreen.jpg');}
>
>
> This is created in a css page and is linked to a page. It displays it in
> the page I want it to. The problem is I do not want to image to repeat.
>
> The code below works on a single page. The problem seems to be trying to
> get the image not to repeat and get the color to continue on the page on
> the css page that I am linking it to. The image displays but it repeats.
> It seems like I am missing some type of configuration. Any help would be
> appreciated.
>
> <style type="text/css">
> body {background: #EFEFEF url(images/bggreen.jpg) repeat-x;}
> </style>
>
>
(Msg. 3) Posted: Wed Oct 28, 2009 1:13 pm
Post subject: Re: problem with repeating css graphic [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
I've tried all four and was not successful with any of these. It works if I
put it on the same page but when I put the information below in my css page
and then link it I get the graphic but it repeats. Below is what I put in.
I substituted repeat-x for any of the other three. the graphic starts out
green and then fades to a light gray so I want the light gray to continue
for the duration of the page
"Jon Spivey" <js.TakeThisOut@nisusnewmedia.com> wrote in message
news:uQx4sq#VKHA.1236@TK2MSFTNGP05.phx.gbl...
> Hi Mark,
> There's 4 options for repeat
> repeat-x - repeats across the page (but not down)
> repeat-y - repeats down the page (but not across)
> repeat - tiles to fill the page
> no-repeat - shows the image once.
>
> Sounds like you should be using no-repeat rather than repeat-x. This will
> show the image once in the top left - if you want it somewhere else you
> can set it's position.
>
> Cheers,
> Jon
>
> "Mark" <rmwatrich.TakeThisOut@hotmail.com> wrote in message
> news:9EF3299B-1464-4277-99FA-D0B8B275AE85@microsoft.com...
>>
>>
>> body{background-image:url('images/bggreen.jpg');}
>>
>>
>> This is created in a css page and is linked to a page. It displays it in
>> the page I want it to. The problem is I do not want to image to repeat.
>>
>> The code below works on a single page. The problem seems to be trying to
>> get the image not to repeat and get the color to continue on the page on
>> the css page that I am linking it to. The image displays but it repeats.
>> It seems like I am missing some type of configuration. Any help would be
>> appreciated.
>>
>> <style type="text/css">
>> body {background: #EFEFEF url(images/bggreen.jpg) repeat-x;}
>> </style>
>>
>>
>
>
(Msg. 4) Posted: Wed Oct 28, 2009 1:33 pm
Post subject: Re: problem with repeating css graphic [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
disregard it. I think I finally got it to work.
"Mark" <rmwatrich RemoveThis @hotmail.com> wrote in message
news:#lop4G$VKHA.1792@TK2MSFTNGP04.phx.gbl...
>
> I've tried all four and was not successful with any of these. It works if
> I put it on the same page but when I put the information below in my css
> page and then link it I get the graphic but it repeats. Below is what I
> put in. I substituted repeat-x for any of the other three. the graphic
> starts out green and then fades to a light gray so I want the light gray
> to continue for the duration of the page
>
>
> body{background-image:url('images/bggreen.jpg');} repeat-x >
> or repeat -
>
> "Jon Spivey" <js RemoveThis @nisusnewmedia.com> wrote in message
> news:uQx4sq#VKHA.1236@TK2MSFTNGP05.phx.gbl...
>> Hi Mark,
>> There's 4 options for repeat
>> repeat-x - repeats across the page (but not down)
>> repeat-y - repeats down the page (but not across)
>> repeat - tiles to fill the page
>> no-repeat - shows the image once.
>>
>> Sounds like you should be using no-repeat rather than repeat-x. This will
>> show the image once in the top left - if you want it somewhere else you
>> can set it's position.
>>
>> Cheers,
>> Jon
>>
>> "Mark" <rmwatrich RemoveThis @hotmail.com> wrote in message
>> news:9EF3299B-1464-4277-99FA-D0B8B275AE85@microsoft.com...
>>>
>>>
>>> body{background-image:url('images/bggreen.jpg');}
>>>
>>>
>>> This is created in a css page and is linked to a page. It displays it
>>> in the page I want it to. The problem is I do not want to image to
>>> repeat.
>>>
>>> The code below works on a single page. The problem seems to be trying
>>> to get the image not to repeat and get the color to continue on the page
>>> on the css page that I am linking it to. The image displays but it
>>> repeats. It seems like I am missing some type of configuration. Any
>>> help would be appreciated.
>>>
>>> <style type="text/css">
>>> body {background: #EFEFEF url(images/bggreen.jpg) repeat-x;}
>>> </style>
>>>
>>>
>>
>>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum