473,320 Members | 1,713 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,320 software developers and data experts.

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

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(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)
Jul 27 '06 #1
6 1248
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" <No****@klaas.comschreef in bericht
news:uQ**************@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(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)


Jul 27 '06 #2
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" <No****@klaas.comschreef in bericht
news:uQ**************@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(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)


Jul 27 '06 #3
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" <No****@klaas.comha scritto nel messaggio
news:eM**************@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" <No****@klaas.comschreef in bericht
news:uQ**************@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(Gradie ntType=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)



Jul 28 '06 #4
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-mschreef in
bericht news:uA**************@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" <No****@klaas.comha scritto nel messaggio
news:eM**************@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" <No****@klaas.comschreef in bericht
news:uQ**************@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(Gradi entType=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)




Jul 28 '06 #5
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]" <br********@discussions.microsoft.comschreef in bericht
news:4D**********************************@microsof t.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" <No****@klaas.comschreef in bericht
news:uQ**************@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(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)




Jul 28 '06 #6
You are more than welcome, klass :-)

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

"Klaas" <No****@klaas.comha scritto nel messaggio
news:u7**************@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-mschreef
in bericht news:uA**************@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" <No****@klaas.comha scritto nel messaggio
news:eM**************@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" <No****@klaas.comschreef in bericht
news:uQ**************@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(Grad ientType=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)




Jul 29 '06 #7

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

Similar topics

27
by: Brian Sabbey | last post by:
Here is a first draft of a PEP for thunks. Please let me know what you think. If there is a positive response, I will create a real PEP. I made a patch that implements thunks as described here....
4
by: Owen Parker | last post by:
Hi all I am not a java programmer but i can hack at it a bit. I am trying to allow a user to define the text in a simple javascript text scroller. The data is stored as multiple records in a...
3
by: suzy | last post by:
Hello, I am trying to write a generic tool that accesses a SQL server and reads/updates/deletes/creates records. I want to reference this tool from my asp.net pages to talk to my db. by the...
4
by: Duncan | last post by:
Hi I'm learning c# 2.0 as I feel I need to be able to switch between vb & c#, I'm just starting with a few simple examples and I've come across a problem. I've got two forms ones an MDI parent &...
8
by: Santos L Halper | last post by:
i cant believe that im the only person that has ever run into this problem. im using a very simple table to layout a page. the table has 3 columns, with the middle column being where the data will...
0
by: DanWeaver | last post by:
cant find answer to this and spent 2 hours looking including in this newsgroup! I have a web user control in my project (.ascx) the associated (vb) code (.ascx.vb) doesnt provide intellisense...
1
by: durjoy | last post by:
dunno is the right forum to ask for help , but i cant see any category for html help . dont know any other site as well . this site is my last hope dear experts . i was hosting my site with...
2
by: electroman | last post by:
Hello! I am having a very weird problem that I cant find any solution on the Internet (after so many years!). I am trying to code a C# program and I am using the WebBroswer control. The code is...
5
by: Ibys | last post by:
Hi, i am just starting to learn javascript, so i am probably doing something very simple wrong. i have read a lot of articles on maths in java, but cant find anything simple enough for my problem. I...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.