Content Place Holder Width

R

Rene

I have a master page where I would like to be able to resize the width of
the ContentPlaceHolder.

Once the Content Place Holder control has the with that I want, I don't want
it to change even if the browser is resized.

Is it possible to accomplish this?
 
G

Guest

As far as I know, ContentPlaceHolder is just that - a placeholder for what
you decide to put in it. You determine the size via the CSS properties of the
containing DIV or PANEL that you eventually attach to it.
Peter
 
R

Rene

Thanks Peter,

I started doing what you suggested and its working nicely, the only thing
that I don't like is that I have to basically use a Panel or Div on every
single page that uses the master page, this seems to defeat the purpose of
the master page.

If I was able to resize and set some properties (alignment, back color etc)
on the ContentPlaceHolder control, then I wouldn't need to add a Panel or
Div on each of the page that uses the master page, I could simply start
inserting controls straight up on the page... Oh well, no big deal.

I am still new to ASP so maybe I can do what I want using CSS like you
suggested and don't have to worry about setting Div or Panel properties ....
time to research some more.

Thanks.
 
R

Rene

Good idea but it didn't appear to work, for now its ok, I just want to get
the website done and then tweak it as I learn more about ASP.



Thanks for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top