|
|
|
start date: Sun, 5 Aug 2007 23:11:43 +0100,
posted on: microsoft.public.dotnet.framework.aspnet.webcontrols
back
| Thread Index |
|
1
Silicon Strawberry
|
|
2
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
|
|
3
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
|
Unable to place controls in layout grid cells
Hello,
When I do the following:
- create a layout grid by going 'Layout' > 'Insert Table';
- accept the default settings (3 x 3 grid);
- drag a text box from the toolbox on the centre cell of the grid (i.e. at
row 2, column 2);
instead of the edit box to be placed in the centre cell, it is placed in the
top left row (row 1, column 1).
What's more, when I look at the source code for the page, it *does* tell me
that the control *is* in the centre. The reason it appears not to display
correctly is that it is css position attribute is *absolute*, not
*relative*.
Is there any way I can make the attribute relative by default when I drag
and drop controls into layouts?
Thanks in advance,
Akin
--
akyak at aksoto dot idps dot co dot uk
Date:Sun, 5 Aug 2007 23:11:43 +0100
Author:
|
Re: Unable to place controls in layout grid cells
Yes, this is done in Visual Studio's "Tools|Options" dialog box.
It's under the HTML Designer, CSS Positioning option.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Silicon Strawberry" wrote in message
news:zWrti.13818$fR5.1687@newsfet01.ams...
> Hello,
>
> When I do the following:
>
> - create a layout grid by going 'Layout' > 'Insert Table';
>
> - accept the default settings (3 x 3 grid);
>
> - drag a text box from the toolbox on the centre cell of the grid (i.e. at
> row 2, column 2);
>
> instead of the edit box to be placed in the centre cell, it is placed in
> the top left row (row 1, column 1).
>
> What's more, when I look at the source code for the page, it *does* tell
> me that the control *is* in the centre. The reason it appears not to
> display correctly is that it is css position attribute is *absolute*, not
> *relative*.
>
> Is there any way I can make the attribute relative by default when I drag
> and drop controls into layouts?
>
> Thanks in advance,
>
> Akin
> --
> akyak at aksoto dot idps dot co dot uk
>
Date:Mon, 13 Aug 2007 15:27:33 -0700
Author:
|
Re: Unable to place controls in layout grid cells
Yes, this is done in Visual Studio's "Tools|Options" dialog box.
It's under the HTML Designer, CSS Positioning option.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Silicon Strawberry" wrote in message
news:zWrti.13818$fR5.1687@newsfet01.ams...
> Hello,
>
> When I do the following:
>
> - create a layout grid by going 'Layout' > 'Insert Table';
>
> - accept the default settings (3 x 3 grid);
>
> - drag a text box from the toolbox on the centre cell of the grid (i.e. at
> row 2, column 2);
>
> instead of the edit box to be placed in the centre cell, it is placed in
> the top left row (row 1, column 1).
>
> What's more, when I look at the source code for the page, it *does* tell
> me that the control *is* in the centre. The reason it appears not to
> display correctly is that it is css position attribute is *absolute*, not
> *relative*.
>
> Is there any way I can make the attribute relative by default when I drag
> and drop controls into layouts?
>
> Thanks in advance,
>
> Akin
> --
> akyak at aksoto dot idps dot co dot uk
>
Date:Mon, 13 Aug 2007 15:27:33 -0700
Author:
|
|
|