Link to home
Start Free TrialLog in
Avatar of allanmark
allanmark

asked on

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??
Avatar of davehunt00
davehunt00

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
I meant GridLayout turned OFF, Flow on.
If you are in VisualStudio2003, I think this is under Projects / Properties / Designer Defaults.
Avatar of allanmark

ASKER

Thanks!

Next dumb question ... using 2005 ... where do I find this ??
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".
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 ??
ASKER CERTIFIED SOLUTION
Avatar of davehunt00
davehunt00

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks 4 the help!!!