Master Pages & relative/absolute positioning?

  • Thread starter Thread starter Fred Nelson
  • Start date Start date
F

Fred Nelson

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
 
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.
 
Back
Top