• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 655
  • 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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