I have a requirement to place a single line banner "bar" at the top and
bottom of every page containing a security message. The bar has to occupy
the entire width of the page.
I am using a Panel to do this, and, for the top banner, can insert it just
before the opening form tag in the master page to get it where I want. I
have to set the body margin, top, and left to zero to get it to align
properly.
The component looks like this:
<asp:Panel ID="banner_top" runat="server" ForeColor="white"
BackColor="green" BorderColor="gold" BorderStyle="Solid" BorderWidth="1"
Width="100%" HorizontalAlign="Center" Height="15" Wrap="false"
Font-Names="Calibri" Font-Size="Smaller">Security Message Here</asp:Panel>
The bottom banner is a problem, however. It will appear at the bottom of the
form, but this may be in the middle of the page if it is too short to fill
the browser window, and may disappear if the page is too big.
How can I anchor the banner bar to the bottom of the browser window so that
it is anchored just above the status bar? It should always be on top, and
content should scroll behind it if necessary.
Any ideas would be very welcome.
Steve 2 1852
"Steve" <ze*************@zen.co.ukwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>I have a requirement to place a single line banner "bar" at the top and bottom of every page containing a security message. The bar has to occupy the entire width of the page.
I am using a Panel to do this, and, for the top banner, can insert it just
before the opening form tag in the master page to get it where I want. I
have to set the body margin, top, and left to zero to get it to align
properly.
The component looks like this:
<asp:Panel ID="banner_top" runat="server" ForeColor="white"
BackColor="green" BorderColor="gold" BorderStyle="Solid" BorderWidth="1"
Width="100%" HorizontalAlign="Center" Height="15" Wrap="false"
Font-Names="Calibri" Font-Size="Smaller">Security Message Here</asp:Panel>
The bottom banner is a problem, however. It will appear at the bottom of
the form, but this may be in the middle of the page if it is too short to
fill the browser window, and may disappear if the page is too big.
How can I anchor the banner bar to the bottom of the browser window so
that it is anchored just above the status bar? It should always be on top,
and content should scroll behind it if necessary.
Any ideas would be very welcome.
Steve
It's a common problem... google for something like 'keep footer on the
bottom'
George
Well, that was easy...
I found a good description here: http://www.alistapart.com/articles/footers
Thanks for your suggestion
Steve
"George" <no*****@comcast.netwrote in message
news:eW**************@TK2MSFTNGP03.phx.gbl...
"Steve" <ze*************@zen.co.ukwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>I have a requirement to place a single line banner "bar" at the top and bottom of every page containing a security message. The bar has to occupy the entire width of the page.
I am using a Panel to do this, and, for the top banner, can insert it just before the opening form tag in the master page to get it where I want. I have to set the body margin, top, and left to zero to get it to align properly.
The component looks like this:
<asp:Panel ID="banner_top" runat="server" ForeColor="white" BackColor="green" BorderColor="gold" BorderStyle="Solid" BorderWidth="1" Width="100%" HorizontalAlign="Center" Height="15" Wrap="false" Font-Names="Calibri" Font-Size="Smaller">Security Message Here</asp:Panel>
The bottom banner is a problem, however. It will appear at the bottom of the form, but this may be in the middle of the page if it is too short to fill the browser window, and may disappear if the page is too big.
How can I anchor the banner bar to the bottom of the browser window so that it is anchored just above the status bar? It should always be on top, and content should scroll behind it if necessary.
Any ideas would be very welcome.
Steve
It's a common problem... google for something like 'keep footer on the
bottom'
George
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: szukteam |
last post by:
I'm very new to java- as a matter of fact, I'd say that I know nothing about it....except for how to cut and paste free java script to my pages.
I have the need for three different slide shows on...
|
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...
|
by: Steve |
last post by:
I have a requirement to place a single line banner "bar" at the top and
bottom of every page containing a security message. The bar has to occupy
the entire width of the page.
I am using a Panel...
|
by: jock1up |
last post by:
I am working with javascript...where I have cycling banners at the top, 3 of them and I need to make two of them clickable to a website that I assign to the two. bannerad2 for www.bigmtn.com and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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,...
|
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...
|
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...
| |