[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 653
  • Last Modified:

Positioning of controls within content placeholder

Greetings

Another question from me ....

I am trying to place various controls (menu, label, textbox) within the content placeholder, on a contents page. When I browse the page, the controls are always much further down then where they appear in the designer. I also am unable to move/posiiton them within the designer.

Me = clueless ... what should I be looking for??
0
allanmark
Asked:
allanmark
  • 5
  • 3
1 Solution
 
davehunt00Commented:
Hi Allan,

Start by putting a table on your content page. Then use it as a grid for placing controls.

Also, make sure you have GridLayout turned on and turn on Flow. This will give you more "what you see is what you get" results.  

hth
davehunt00
0
 
davehunt00Commented:
I meant GridLayout turned OFF, Flow on.
0
 
davehunt00Commented:
If you are in VisualStudio2003, I think this is under Projects / Properties / Designer Defaults.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
allanmarkAuthor Commented:
Thanks!

Next dumb question ... using 2005 ... where do I find this ??
0
 
davehunt00Commented:
Not a dumb question, actually. It shouldn't be a default in 2005 since they switched to CSS positioning. I wasn't able to find it in 2005, that's why I asked about 2003.

Maybe another expert can help you with that question.  ??

For an immediate fix, you might look at the <body> tag in the source of your page and delete any reference to GridPositioning. Also look at the tags for the other controls and delete "absolute position".
0
 
allanmarkAuthor Commented:
Thanks!

Scratched around and ...

    under  <Tools> <Options> HTML Designer  - CSS Positioning -- I selected Relatively positioned - seems
    to  work.

What still puzzles me is how to centre a control on the page. I thought taht with Relative positioning enabled that I would eb able to select a "Align" option from the "Format" menu - option remain greyed out ??
0
 
davehunt00Commented:
Good deal.

Try setting the control in a single column table and set the cell to align=center/middle and set the table width to 100% and see if that works for you. The table should expand and contract with the browser window width and the control should stay centered in the column.
0
 
allanmarkAuthor Commented:
Thanks 4 the help!!!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now