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

prolem with footer div

hi all,

I am working on aspx page which is having three 'div' tags.
First one is header div which is having fixed positioning and left and top
position '0px'.Also the div is having 50px height and 1060px width .
Second div is a footer div which is fixed at the bottom of the page.
Third div is the content div which contains the content text.

here is how the code follows:
<body>
<form id="form1" runat="server">
<div>
<div id="header" > <h3>
References and Information Sources</h3>
</div>
<div id="content">
<------content text------>
</div>
<div id="footer">
Modifications:
16 Feb 2000: Inclusion of multi-layer architectures and net-centric systems.
</div>
</div>
</form>
</body>


I have set css for header div and footer div in the folowing way:

#header
{
position:fixed;
left:0px;
top:0px;
height: 50px;
width: 1060px;
text-align: center;
padding: 5px;
/*overflow: scroll;*/

font: 0.75em verdana;
background-color:Gray;
color:Red;

}

#footer
{
position:fixed;
left:0px;
top:530px;
height: 50px;
width: 1060px;
text-align:center;
padding: 5px;
/*overflow: scroll;*/
font: 0.75em verdana;
background-color:Gray;
color:Red;
}

now i have a problem when i restore the window after maximizing my footer just vanishes and again it comes back when maximized.
here i want the header and footer positions to be fixed ,whereas in my second div tag which contains my content should get adjusted when the screen is restored.

Does anyone has any accurate suggestions please.......

Regards
Balu
Apr 16 '08 #1
1 1089
kunal pawar
297 100+
due to you footer top position is 530px; so footer will vanish when window get small. do not used top property and then cross check
Apr 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
7
by: Darin | last post by:
I have a report that sub-totals on a group, then grand-totals at the report footer. If there's only one group, the sub-total and grand total are redundant, so I only want to show one of them. I...
3
by: John Crowley | last post by:
I keep running into this over and over again... I want a block server control that renders a header and footer, and child controls in between. But I don't want a templated control, for the...
6
by: tshad | last post by:
I need to get to a status label I have on my footer section of my datalist. There is no event happening that would go to the footer. I am just doing some processing and want to update the label...
0
by: LilBuh | last post by:
Hello :) this is a repost... i ve been looking for a way since last week ... i have a template html file that i modify from my code... i need to print this file without IE's Header and Footer or...
13
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would...
1
by: bylum | last post by:
prolem exception org.apache.jasper.JasperException at jsp the list exception : org.apache.jasper.JasperException...
13
Death Slaught
by: Death Slaught | last post by:
I have my entire page in my "main" div. div.main { width: 100%; height: 100%; border: 1px solid gray; } on the left of the page I have a banner.
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
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.