473,387 Members | 1,464 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.

layer

if on a page i have a layer, and i want to anchor it at the bottom,
how could i do that? (Asp.net 2.0 C#).

Thanks

Vinnie

Oct 3 '07 #1
5 1492
"Vinnie" <ce**********@gmail.comwrote in message
news:11**********************@19g2000hsx.googlegro ups.com...
if on a page i have a layer, and i want to anchor it at the bottom,
how could i do that? (Asp.net 2.0 C#).
style="position:absolute;bottom:0px;"
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 4 '07 #2
On Oct 3, 8:12 pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
>
style="position:absolute;bottom:0px;"

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net

hi Mark, thanks for your help, but the problem persist: i have on the
masterpage 2 layers: one at the bottom (called footer) and one in the
middle in which i have inserted the contentplaceholder.

Now, on the masterpage the footer stays at the bottom (after adding
style="position:absolute;bottom:0px;") but on the child page, if i
place 2 big images in the contentplaceholder, it happens that the
images go underneath the footer layer extending the page, while the
footer remains at it initial position, meaning that the footer does
not stay always at the bottom.

what else i could do?

Thanks
Vinnie

Oct 4 '07 #3
"Vinnie" <ce**********@gmail.comwrote in message
news:11**********************@o80g2000hse.googlegr oups.com...
>style="position:absolute;bottom:0px;"

hi Mark, thanks for your help, but the problem persist: i have on the
masterpage 2 layers: one at the bottom (called footer) and one in the
middle in which i have inserted the contentplaceholder.

Now, on the masterpage the footer stays at the bottom (after adding
style="position:absolute;bottom:0px;") but on the child page, if i
place 2 big images in the contentplaceholder, it happens that the
images go underneath the footer layer extending the page, while the
footer remains at it initial position, meaning that the footer does
not stay always at the bottom.

what else i could do?
That's correct behaviour based on what you originally posted - no mention of
MasterPages or large images in your original post...

The inline style I gave you will position a DOM object at the bottom of the
screen, because that's what you asked for - if there is content on the page
which scrolls beyond the bottom of the screen, the DOM object in question
will still stay at the bottom of the screen...

Can you please clarify what you actually want...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 4 '07 #4
On Oct 4, 1:25 pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
That's correct behaviour based on what you originally posted - no mention of
MasterPages or large images in your original post...

The inline style I gave you will position a DOM object at the bottom of the
screen, because that's what you asked for - if there is content on the page
which scrolls beyond the bottom of the screen, the DOM object in question
will still stay at the bottom of the screen...

Can you please clarify what you actually want...

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
hi Mark, thanks for your great help, and sorry for not being more
specific, i'm at the very beginning, just learning.

What i need, is to put something at the very bottom of the page, to
write the common stuffs like: Copyrights......... bla bla bla

thanks
Vinnie

Oct 4 '07 #5
"Vinnie" <ce**********@gmail.comwrote in message
news:11********************@d55g2000hsg.googlegrou ps.com...
hi Mark, thanks for your great help, and sorry for not being more
specific, i'm at the very beginning, just learning.
No problem.
What i need, is to put something at the very bottom of the page, to
write the common stuffs like: Copyrights......... bla bla bla
Yes, but you need to decide whether you mean the bottom of the *page* or the
bottom of the *screen*...

The inline style I gave you will position the element to which it is applied
at the bottom of the *screen*, no matter what else might be on the *page* -
that's the function of the position:absolute; bit...

If you mean the bottom of the page, then you don't really need any
particular positioning style at all, since the HTML will be rendered from
top to bottom until there's no more...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 4 '07 #6

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

Similar topics

1
by: PAD | last post by:
I have written a javascript routine that populates a parent document with a series of <iframe>s. Each <iframe> receives its contents from a series of separate smaller HTML files. Of course my NN...
2
by: headware | last post by:
I'm relatively new to ASP.NET and ADO.NET, but I have a basic design question regarding the use of web services and APS.NET applications. Right now we have an application that uses web services to...
8
by: Jon Maz | last post by:
Hi, I'm facing a code-optimisation issue on an asp.net/vb.net/SQL Server 2000 project. A web page containing not much more than 3 DropDownLists is taking nigh on 6 seconds to load, because each...
3
by: Merlin | last post by:
Hi there, I am trying to create a form with an dynamic field that can be shown or hidden. As I saw for example on google it is possible with JS to show a layer and move the content underneath...
2
by: dkode | last post by:
Hello, I am laying out the architecture for a very large website that will scale to a very large degree. I have a couple of questions before I attempt to go and implement a Broker/Persistence...
1
by: rbg | last post by:
Hi, I am trying to understand the layering concept with the ASP.NET 2.0 apps. I have a ASP.NET 2.0 Web app which has 3 layers Presentation layer which contains UI elements and Input...
16
by: MS newsgroup | last post by:
I don't have clear reasons why we need business logic layer and data logic layer instead of having only data logic layer. Are there any good reasons for that?
4
by: pratham | last post by:
Hi! I'm making a database application and i heard from a friend that it is more proffecional and easy to do this with bussines objects. Can anyone tell me where i can find more info on bussines...
2
by: Ily | last post by:
Hi all I am using Visual studio 2005. Im my project I have a presentation layer, a business layer and a data access layer. From my business layer i have a reference to my data layer. I also...
6
by: Dhananjay | last post by:
hello everyone i have got a problem i want to design business layer, data access layer , presentation layer for asp.net using C#.net , can anyone help me to solve this problem. i want some...
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: 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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.