Home All Groups Group Topic Archive Search About

I guess a simple question but I cant find it :-(

Author
27 Jul 2006 8:33 PM
Klaas
I want the backgrond of my whole page in gradient.
In the source tab I have:

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title>Untitled Page</title>

</head>

<body>

<form id="form1" runat="server">

<div style="width: 100%; height: 100%; filter:
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
StartColorStr='#0000FF',

EndColorStr='#000000')">

</div>

</form>

</body>

</html>

In the design view everything looks like I want, but in runtime the height
isnt 100% ??? :-s

I also tried a panel but with no luck...

How can I fill the whole page? (dynamicly)

Author
27 Jul 2006 8:38 PM
Klaas
hmm, got some progress...
I put it in the body...nice.
But there is still a white border around it.....how can I get ride of
that???

thanks

Show quoteHide quote
"Klaas" <NoSpam@klaas.com> schreef in bericht
news:uQq1evbsGHA.1304@TK2MSFTNGP06.phx.gbl...
>I want the backgrond of my whole page in gradient.
> In the source tab I have:
>
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> <head runat="server">
>
> <title>Untitled Page</title>
>
> </head>
>
> <body>
>
> <form id="form1" runat="server">
>
> <div style="width: 100%; height: 100%; filter:
> progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
> StartColorStr='#0000FF',
>
> EndColorStr='#000000')">
>
> </div>
>
> </form>
>
> </body>
>
> </html>
>
> In the design view everything looks like I want, but in runtime the height
> isnt 100% ??? :-s
>
> I also tried a panel but with no luck...
>
> How can I fill the whole page? (dynamicly)
>
>
Author
27 Jul 2006 10:41 PM
brians[MCSD]
Hello Klass,

I have a gradient background at www.limbertech.com. I accomplished it a bit
differently. In the body element I assigned the background attribute as
follows:

body
{
    background: url(Images/PageBackGround.jpg) #99ccff repeat-x;
}

The PageBackGround.jpg is a thin, long image (5x1024) of the gradient as it
goes from dark blue to light blue (#99ccff) which I created using Fireworks
(you could use any different graphics package). It is repeated in the x
direction. Since the background color of the page is specified as light blue
(#99ccff), the image blends into the background of the page at the bottom.
Show quoteHide quote
"Klaas" wrote:

> hmm, got some progress...
> I put it in the body...nice.
> But there is still a white border around it.....how can I get ride of
> that???
>
> thanks
>
> "Klaas" <NoSpam@klaas.com> schreef in bericht
> news:uQq1evbsGHA.1304@TK2MSFTNGP06.phx.gbl...
> >I want the backgrond of my whole page in gradient.
> > In the source tab I have:
> >
> > <html xmlns="http://www.w3.org/1999/xhtml">
> >
> > <head runat="server">
> >
> > <title>Untitled Page</title>
> >
> > </head>
> >
> > <body>
> >
> > <form id="form1" runat="server">
> >
> > <div style="width: 100%; height: 100%; filter:
> > progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
> > StartColorStr='#0000FF',
> >
> > EndColorStr='#000000')">
> >
> > </div>
> >
> > </form>
> >
> > </body>
> >
> > </html>
> >
> > In the design view everything looks like I want, but in runtime the height
> > isnt 100% ??? :-s
> >
> > I also tried a panel but with no luck...
> >
> > How can I fill the whole page? (dynamicly)
> >
> >
>
>
>
Author
28 Jul 2006 8:23 PM
Klaas
Hi Brains,

Ken ik zie de PageBackGround.jpg, please?
Ik understand what you are saying but cant visualize the JPG.....:-(

Thank you

Klaas

Show quoteHide quote
"brians[MCSD]" <briansM***@discussions.microsoft.com> schreef in bericht
news:4D13DF8B-9BDC-4EF0-8279-B25BA1F2F1F4@microsoft.com...
> Hello Klass,
>
> I have a gradient background at www.limbertech.com. I accomplished it a
> bit
> differently. In the body element I assigned the background attribute as
> follows:
>
> body
> {
>    background: url(Images/PageBackGround.jpg) #99ccff repeat-x;
> }
>
> The PageBackGround.jpg is a thin, long image (5x1024) of the gradient as
> it
> goes from dark blue to light blue (#99ccff) which I created using
> Fireworks
> (you could use any different graphics package). It is repeated in the x
> direction. Since the background color of the page is specified as light
> blue
> (#99ccff), the image blends into the background of the page at the bottom.
> --
> brians
> http://www.limbertech.com
>
>
> "Klaas" wrote:
>
>> hmm, got some progress...
>> I put it in the body...nice.
>> But there is still a white border around it.....how can I get ride of
>> that???
>>
>> thanks
>>
>> "Klaas" <NoSpam@klaas.com> schreef in bericht
>> news:uQq1evbsGHA.1304@TK2MSFTNGP06.phx.gbl...
>> >I want the backgrond of my whole page in gradient.
>> > In the source tab I have:
>> >
>> > <html xmlns="http://www.w3.org/1999/xhtml">
>> >
>> > <head runat="server">
>> >
>> > <title>Untitled Page</title>
>> >
>> > </head>
>> >
>> > <body>
>> >
>> > <form id="form1" runat="server">
>> >
>> > <div style="width: 100%; height: 100%; filter:
>> > progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
>> > StartColorStr='#0000FF',
>> >
>> > EndColorStr='#000000')">
>> >
>> > </div>
>> >
>> > </form>
>> >
>> > </body>
>> >
>> > </html>
>> >
>> > In the design view everything looks like I want, but in runtime the
>> > height
>> > isnt 100% ??? :-s
>> >
>> > I also tried a panel but with no luck...
>> >
>> > How can I fill the whole page? (dynamicly)
>> >
>> >
>>
>>
>>
Author
28 Jul 2006 12:27 PM
Alessandro Zifiglio
hi Klass, in addition to what brains said, make sure you remove the default
margin and the padding from your body element, seems to me that this is what
you are experiencing. Setting it to zero will remove it.
<body style="margin:0px;padding:0px" ..

Regards,
Alessandro Zifiglio
http://www.AsyncUI.net

Show quoteHide quote
"Klaas" <NoSpam@klaas.com> ha scritto nel messaggio
news:eMEMbybsGHA.3516@TK2MSFTNGP04.phx.gbl...
> hmm, got some progress...
> I put it in the body...nice.
> But there is still a white border around it.....how can I get ride of
> that???
>
> thanks
>
> "Klaas" <NoSpam@klaas.com> schreef in bericht
> news:uQq1evbsGHA.1304@TK2MSFTNGP06.phx.gbl...
>>I want the backgrond of my whole page in gradient.
>> In the source tab I have:
>>
>> <html xmlns="http://www.w3.org/1999/xhtml">
>>
>> <head runat="server">
>>
>> <title>Untitled Page</title>
>>
>> </head>
>>
>> <body>
>>
>> <form id="form1" runat="server">
>>
>> <div style="width: 100%; height: 100%; filter:
>> progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
>> StartColorStr='#0000FF',
>>
>> EndColorStr='#000000')">
>>
>> </div>
>>
>> </form>
>>
>> </body>
>>
>> </html>
>>
>> In the design view everything looks like I want, but in runtime the
>> height isnt 100% ??? :-s
>>
>> I also tried a panel but with no luck...
>>
>> How can I fill the whole page? (dynamicly)
>>
>>
>
>
Author
28 Jul 2006 7:46 PM
Klaas
YES!!!
You are right Alessandro!!!
Thank you very very much...great!

May the source be with you!!!

greetings,

Klaas

Show quoteHide quote
"Alessandro Zifiglio" <AlessandroZifiglio @ -h-o-t-m-a-i-l-c-o-m> schreef in
bericht news:uA0kyEksGHA.4140@TK2MSFTNGP06.phx.gbl...
> hi Klass, in addition to what brains said, make sure you remove the
> default margin and the padding from your body element, seems to me that
> this is what you are experiencing. Setting it to zero will remove it.
> <body style="margin:0px;padding:0px" ..
>
> Regards,
> Alessandro Zifiglio
> http://www.AsyncUI.net
>
> "Klaas" <NoSpam@klaas.com> ha scritto nel messaggio
> news:eMEMbybsGHA.3516@TK2MSFTNGP04.phx.gbl...
>> hmm, got some progress...
>> I put it in the body...nice.
>> But there is still a white border around it.....how can I get ride of
>> that???
>>
>> thanks
>>
>> "Klaas" <NoSpam@klaas.com> schreef in bericht
>> news:uQq1evbsGHA.1304@TK2MSFTNGP06.phx.gbl...
>>>I want the backgrond of my whole page in gradient.
>>> In the source tab I have:
>>>
>>> <html xmlns="http://www.w3.org/1999/xhtml">
>>>
>>> <head runat="server">
>>>
>>> <title>Untitled Page</title>
>>>
>>> </head>
>>>
>>> <body>
>>>
>>> <form id="form1" runat="server">
>>>
>>> <div style="width: 100%; height: 100%; filter:
>>> progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
>>> StartColorStr='#0000FF',
>>>
>>> EndColorStr='#000000')">
>>>
>>> </div>
>>>
>>> </form>
>>>
>>> </body>
>>>
>>> </html>
>>>
>>> In the design view everything looks like I want, but in runtime the
>>> height isnt 100% ??? :-s
>>>
>>> I also tried a panel but with no luck...
>>>
>>> How can I fill the whole page? (dynamicly)
>>>
>>>
>>
>>
>
>
Author
29 Jul 2006 8:01 AM
Alessandro Zifiglio
You are more than welcome, klass :-)

Regards,
Alessandro Zifiglio
http://www.AsyncUI.net

Show quoteHide quote
"Klaas" <NoSpam@klaas.com> ha scritto nel messaggio
news:u7kOO6nsGHA.4608@TK2MSFTNGP04.phx.gbl...
> YES!!!
> You are right Alessandro!!!
> Thank you very very much...great!
>
> May the source be with you!!!
>
> greetings,
>
> Klaas
>
> "Alessandro Zifiglio" <AlessandroZifiglio @ -h-o-t-m-a-i-l-c-o-m> schreef
> in bericht news:uA0kyEksGHA.4140@TK2MSFTNGP06.phx.gbl...
>> hi Klass, in addition to what brains said, make sure you remove the
>> default margin and the padding from your body element, seems to me that
>> this is what you are experiencing. Setting it to zero will remove it.
>> <body style="margin:0px;padding:0px" ..
>>
>> Regards,
>> Alessandro Zifiglio
>> http://www.AsyncUI.net
>>
>> "Klaas" <NoSpam@klaas.com> ha scritto nel messaggio
>> news:eMEMbybsGHA.3516@TK2MSFTNGP04.phx.gbl...
>>> hmm, got some progress...
>>> I put it in the body...nice.
>>> But there is still a white border around it.....how can I get ride of
>>> that???
>>>
>>> thanks
>>>
>>> "Klaas" <NoSpam@klaas.com> schreef in bericht
>>> news:uQq1evbsGHA.1304@TK2MSFTNGP06.phx.gbl...
>>>>I want the backgrond of my whole page in gradient.
>>>> In the source tab I have:
>>>>
>>>> <html xmlns="http://www.w3.org/1999/xhtml">
>>>>
>>>> <head runat="server">
>>>>
>>>> <title>Untitled Page</title>
>>>>
>>>> </head>
>>>>
>>>> <body>
>>>>
>>>> <form id="form1" runat="server">
>>>>
>>>> <div style="width: 100%; height: 100%; filter:
>>>> progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
>>>> StartColorStr='#0000FF',
>>>>
>>>> EndColorStr='#000000')">
>>>>
>>>> </div>
>>>>
>>>> </form>
>>>>
>>>> </body>
>>>>
>>>> </html>
>>>>
>>>> In the design view everything looks like I want, but in runtime the
>>>> height isnt 100% ??? :-s
>>>>
>>>> I also tried a panel but with no luck...
>>>>
>>>> How can I fill the whole page? (dynamicly)
>>>>
>>>>
>>>
>>>
>>
>>
>
>