Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > I guess a simple question but I cant find it :-(

Reply
Thread Tools

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

 
 
Klaas
Guest
Posts: n/a
 
      07-27-2006
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:
progidXImageTransform.Microsoft.Gradient(Gradien tType=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)


 
Reply With Quote
 
 
 
 
Klaas
Guest
Posts: n/a
 
      07-27-2006
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" <> schreef in bericht
news:...
>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:
> progidXImageTransform.Microsoft.Gradient(Gradien tType=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)
>
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?YnJpYW5zW01DU0Rd?=
Guest
Posts: n/a
 
      07-27-2006
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" <> schreef in bericht
> news:...
> >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:
> > progidXImageTransform.Microsoft.Gradient(Gradien tType=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)
> >
> >

>
>
>

 
Reply With Quote
 
Alessandro Zifiglio
Guest
Posts: n/a
 
      07-28-2006
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" <> ha scritto nel messaggio
news:...
> 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" <> schreef in bericht
> news:...
>>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:
>> progidXImageTransform.Microsoft.Gradient(Gradien tType=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)
>>
>>

>
>



 
Reply With Quote
 
Klaas
Guest
Posts: n/a
 
      07-28-2006
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:...
> 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" <> ha scritto nel messaggio
> news:...
>> 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" <> schreef in bericht
>> news:...
>>>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:
>>> progidXImageTransform.Microsoft.Gradient(Gradien tType=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)
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Klaas
Guest
Posts: n/a
 
      07-28-2006
Hi Brains,

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

Thank you

Klaas

"brians[MCSD]" <> schreef in bericht
news:4D13DF8B-9BDC-4EF0-8279-...
> 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" <> schreef in bericht
>> news:...
>> >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:
>> > progidXImageTransform.Microsoft.Gradient(Gradien tType=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)
>> >
>> >

>>
>>
>>



 
Reply With Quote
 
Alessandro Zifiglio
Guest
Posts: n/a
 
      07-29-2006
You are more than welcome, klass

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

"Klaas" <> ha scritto nel messaggio
news:...
> 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:...
>> 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" <> ha scritto nel messaggio
>> news:...
>>> 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" <> schreef in bericht
>>> news:...
>>>>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:
>>>> progidXImageTransform.Microsoft.Gradient(Gradien tType=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)
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
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
HELP!! Mp3 phone but cant find a suitable data cable!! alex_1991 General Computer Support 1 08-18-2007 06:44 AM
cant compile on linux system.cant compile on cant compile onlinux system. Nagaraj C++ 1 03-01-2007 11:18 AM
I guess a simple question but I cant find it :-( Klaas ASP .Net Web Controls 6 07-29-2006 08:01 AM
Might not be pure HTML but I guess it's part of it... Jean-Louis Crouzet HTML 14 06-14-2005 07:36 AM
very simple question, but i cant find the answer suzy ASP .Net 3 03-05-2004 11:34 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