Avatar of Carla Romere
Carla Romere
Flag for United States of America asked on

Resizing a ContentPlaceHolder

I'm working on a new site for a minimum of 800x600 and am using master pages and contentplaceholders. I have the main page table width set to 800px and the left column set to 180px and the right column to 620px. However, when I put a contentplaceholder on the master page in the right hand column, it's wider than the 620px and is forcing a horizontal scroll bar and I don't want horizontal scrolling at all. I can't figure out how to make it narrower.

What am I missing?

Thanks.
ASP.NET

Avatar of undefined
Last Comment
TornadoV

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
TornadoV

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Carla Romere

ASKER
Even when it's an empty contentplaceholder it's doing it. I changed the table sizes on the masterpage. This is just weird because there is nothing visible when you scroll to the right...http://classatrucker.com/blank.aspx and http://classatrucker.com/ (with and without content and you still can see the scroll bar...)
Carla Romere

ASKER
Well I took your suggestion one step farther and used a total width of 750px and that did the trick.
TornadoV

Looks good, keep in mind that IE window is 2px narrower on Windows XP machines with the default blue color scheme, so it would make it 778px wide.  

In any case your 750px is a very wise choice.

have a nice weekend.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck