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

Master Pages & relative/absolute positioning?

Hi:

I'm working on one of my first web applications in asp.net 2.0 and I'm
having a problem with absolute versus relative positioning of controls
that I place on pages that use master pages with Content Place Holders.

The controls placed in a content area with absolute or relative
positioning can easily "drift" beyond my Content Place Holder.

I'm trying to put a "footer" on every page of the site and this is
creating a problem for me. I've tried using two content place holders -
one for the content and one just for the footer - and this doen't work
either.

Is there a way to solve this? Is there a way to make a content area
"expand" to enclose all its content?

Any help would be GREATLY appreciated!

Thanks,

Fred
Feb 19 '06 #1
1 1784
Ignore the positioning to start with and set your controls into their
respective files (master and content). Then, using the source from the
browser, identify the rendered controls that are merged from the HTML. This
should give you a starting point for creating CSS classes. As you add these
classes, keep using the browser source to make sure that the classes are
going where you think they should be going.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eY**************@TK2MSFTNGP09.phx.gbl...
Hi:

I'm working on one of my first web applications in asp.net 2.0 and I'm
having a problem with absolute versus relative positioning of controls
that I place on pages that use master pages with Content Place Holders.

The controls placed in a content area with absolute or relative
positioning can easily "drift" beyond my Content Place Holder.

I'm trying to put a "footer" on every page of the site and this is
creating a problem for me. I've tried using two content place holders -
one for the content and one just for the footer - and this doen't work
either.

Is there a way to solve this? Is there a way to make a content area
"expand" to enclose all its content?

Any help would be GREATLY appreciated!

Thanks,

Fred

Feb 21 '06 #2

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

Similar topics

2
by: Catherine Lynn Wood | last post by:
I need to know how to overlap DIV content within 'relative' associated rendering. I am building div layers in the middle of a page and when I set positioning to absolute in the CSS, it references...
3
by: Markus Ernst | last post by:
Hello Reading the follwing document: http://www.w3.org/TR/WD-positioning-970131#In-flow it seems very clear that position:relative should be relative to the parent element. So in the following...
2
by: sylvian stone | last post by:
Hi, I'm trying to do something that has always been easy with tables - namely use a three column layout, and above the main layout, show three images - one on the absolute left, one on the absolute...
0
by: TheCoder | last post by:
I am making a D-base with web conectivity for my class project. I have everything working but the subit button sends the data to the correct fields but afterwards it wants to reproduce new blank...
1
by: Jorge Luzarraga | last post by:
Hello, IŽd like to know if some of you guys have ever implemented a form item template that may be one for searching (with some criteria a seek button and a grid for showing results) inside a...
3
by: Bart Van der Donck | last post by:
Hello, I'm having a hard time trying to configure printed output that consists of multiple pages. The idea is the following: <div style=" border: 1px solid blue; position: absolute; top:...
1
by: Jeff | last post by:
I'm having a terrible time understanding how the Master Pages in VWeb 2005 using VB - handle layout issues with content placeholders and tables. Everytime I think that I understand how these things...
1
by: NW Technicals | last post by:
HELLO, I created my site with absolute positioning of controls. Upon suggestions from a good friend of mine I am trying to move my site to Relative positioning, but having problems All my...
16
by: IfThenElse | last post by:
Hi, I have a web page in a subfolder that inherits a Master page at the root. the webpage in the subfolder can not see the Master page. This is what I have in my ...
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
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?
1
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...
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
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
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.