467,922 Members | 1,287 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,922 developers. It's quick & easy.

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
  • viewed: 1556
Share:
1 Reply
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Catherine Lynn Wood | last post: by
3 posts views Thread by Markus Ernst | last post: by
reply views Thread by TheCoder | last post: by
1 post views Thread by Jorge Luzarraga | last post: by
3 posts views Thread by Bart Van der Donck | last post: by
1 post views Thread by Jeff | last post: by
1 post views Thread by NW Technicals | last post: by
16 posts views Thread by IfThenElse | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.