473,618 Members | 3,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bottom Banner

I want a banner to appear at the bottom of each page of a web app. I
created a user control that describes the banner and have it placed in all
my pages. For the most part it functions as needed. The exception is when
the content of the web page is longer than the screen. The user has to
scroll for the full content, but the bottom banner still appears at the
bottom of the screen, so it appears across the main body content on small
windows.

How can I have a banner appear at the bottom of the window, but force itself
to be below all the content if the content ends up being longer than the
window?

Thanks.

Jerry
Jan 17 '06 #1
3 2309
This is a question of styling. Try something like this:

<html>
<body>
<div id="MainSection " Style="height:9 0%;overflow: auto;margin-bottom:10pt;">
<p>Fill up plenty of text in this section to test the division scroll
bar....</p>
</div>
<div id="Footer" style="border-top:1pt black solid;">
This footer will always take 10% of the height of the screen while the main
section will
display a scroll bar if it were longer than 90% of the screen.
<div>
</body>
</html>

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"rl*****@newsgr oups.nospam" wrote:
I want a banner to appear at the bottom of each page of a web app. I
created a user control that describes the banner and have it placed in all
my pages. For the most part it functions as needed. The exception is when
the content of the web page is longer than the screen. The user has to
scroll for the full content, but the bottom banner still appears at the
bottom of the screen, so it appears across the main body content on small
windows.

How can I have a banner appear at the bottom of the window, but force itself
to be below all the content if the content ends up being longer than the
window?

Thanks.

Jerry

Jan 17 '06 #2
Thanks, Phillip - I appreciate the feedback.

"Phillip Williams" <Ph************ **@webswapp.com > wrote in message
news:2C******** *************** ***********@mic rosoft.com...
This is a question of styling. Try something like this:

<html>
<body>
<div id="MainSection " Style="height:9 0%;overflow: auto;margin-bottom:10pt;"> <p>Fill up plenty of text in this section to test the division scroll
bar....</p>
</div>
<div id="Footer" style="border-top:1pt black solid;">
This footer will always take 10% of the height of the screen while the main section will
display a scroll bar if it were longer than 90% of the screen.
<div>
</body>
</html>

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"rl*****@newsgr oups.nospam" wrote:
I want a banner to appear at the bottom of each page of a web app. I
created a user control that describes the banner and have it placed in all my pages. For the most part it functions as needed. The exception is when the content of the web page is longer than the screen. The user has to
scroll for the full content, but the bottom banner still appears at the
bottom of the screen, so it appears across the main body content on small windows.

How can I have a banner appear at the bottom of the window, but force itself to be below all the content if the content ends up being longer than the
window?

Thanks.

Jerry

Jan 17 '06 #3
That's good.

Hi Jerry,

Also, you can use an html <table> to structure your page's main layout,
e.g: divide the page into three table rows and top banner and bottom banner
are put in the top and bottom table rows.....

In addition, if you're using asp.net 2.0, the master page is also a good
choice :)

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: <rl*****@newsgr oups.nospam>
| References: <O5************ **@TK2MSFTNGP09 .phx.gbl>
<2C************ *************** *******@microso ft.com>
| Subject: Re: Bottom Banner
| Date: Tue, 17 Jan 2006 14:58:55 -0500
| Lines: 55
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
| Message-ID: <e3************ **@tk2msftngp13 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 198.160.134.100
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3715 14
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Thanks, Phillip - I appreciate the feedback.
|
| "Phillip Williams" <Ph************ **@webswapp.com > wrote in message
| news:2C******** *************** ***********@mic rosoft.com...
| > This is a question of styling. Try something like this:
| >
| > <html>
| > <body>
| > <div id="MainSection " Style="height:9 0%;overflow:
| auto;margin-bottom:10pt;">
| > <p>Fill up plenty of text in this section to test the division scroll
| > bar....</p>
| > </div>
| > <div id="Footer" style="border-top:1pt black solid;">
| > This footer will always take 10% of the height of the screen while the
| main
| > section will
| > display a scroll bar if it were longer than 90% of the screen.
| > <div>
| > </body>
| > </html>
| >
| > --
| > HTH,
| > Phillip Williams
| > http://www.societopia.net
| > http://www.webswapp.com
| >
| >
| > "rl*****@newsgr oups.nospam" wrote:
| >
| > > I want a banner to appear at the bottom of each page of a web app. I
| > > created a user control that describes the banner and have it placed in
| all
| > > my pages. For the most part it functions as needed. The exception is
| when
| > > the content of the web page is longer than the screen. The user has
to
| > > scroll for the full content, but the bottom banner still appears at
the
| > > bottom of the screen, so it appears across the main body content on
| small
| > > windows.
| > >
| > > How can I have a banner appear at the bottom of the window, but force
| itself
| > > to be below all the content if the content ends up being longer than
the
| > > window?
| > >
| > > Thanks.
| > >
| > > Jerry
| > >
| > >
| > >
|
|
|

Jan 18 '06 #4

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

Similar topics

2
3379
by: Derek | last post by:
I have some third party sponsor banners on my website and since installing the entire page pauses loading then displays the whole page. It seems that the page is waiting on the banners. Is there a way to set IIS or coding to load the page and then load the banners if they take longer to load?
82
10663
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | | | | | | | | left | center | right | | | | | | | | |
7
10109
by: DaWoE | last post by:
Hi, I want to place a div centered of another div in IE. I get this to work in Mozilla, but not in IE. The code i use for mozilla is the following : <html> <head> <style type="text/css">
6
1400
by: paul reed | last post by:
Hello, I have two environments, QA and Production. When the users are testing, I want them to know they are in the QA environment versus the Production enviroment. One solution would be to use the bottom area of the ASPX page (not sure what it is called) that informs you what page is loading and then it says Done upon completion. At some websites I see this used to present a scrolling banner in that area. How does one do this...what is...
4
1958
by: Patrick Rouse | last post by:
Please point me to the correct newsgroup if this is the wrong place to post this question. My website is written in simple HTML and hosted on a windows server at secureserver.net (via GoDaddy). I use an ASP Web Stats program called Power-Stats to track my website traffic, search keywords... The data is stored in an Access Database hosted on my website. I'd like to be able to track how many clicks I get on each of my banner ads,...
2
2817
by: sgMuser | last post by:
Hi, I am not a good developer of Javascript codes. Needs this help to make some modification to this famous free javascript from Anarchos. i am using this in one of my webpage. What it does is, rotates banners with hyperlink specific to each image. it works just perfect but i need a simple modification. now I want to stop rotating the images when I mouseover on the image, and then continue once I move the cursor out of the banner image....
0
1427
by: mmcgee00 | last post by:
Hi, Currently, I am trying to get different service banner by connecting to different ports using python (code below). The versions I am working with are python 4.2.1 and fedora core 4. I am trying to reproduce a very small piece of nmap, since nmap has to get a port's banner in order to figure out the version. However, I haven't been entirely successful. *******************************************************
0
1191
by: jasone | last post by:
Hey guys, im creating a website that will be mostly powered by php. I will start by giving you some backgroound: I want the website to be totally dependant, so the user can update it all themselves.. upload new images,select which to show etc.! the first hurdle ive hit is that i want the 'admin' to be able to select what banner is shown on the page depending on what time of year it is. for instance in the admin section that i will...
10
5438
by: Yohann L. | last post by:
Hello. I would like to have an horizontal banner which autoadjust its width to 100% of the page width. So, I've sliced the image banner in three parts, but don't find a way to do the middle one autoadjust. Knbowing that this middle image can be horizontally distorded without problem about aspect. Here is my test page with a dummy banner : http://yohannl.tripod.com/autoadjust_banner/banner.html
0
8153
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8595
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8304
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8455
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7126
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5552
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4065
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2587
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.