Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Unable to place controls in layout grid cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Silicon Strawberry - 05 Aug 2007 23:11 GMT
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
Signature

akyak at aksoto dot idps dot co dot uk

Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 13 Aug 2007 23:27 GMT
Yes, this is done in Visual Studio's "Tools|Options" dialog box.
It's under the HTML Designer, CSS Positioning option.

Signature

I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

> Hello,
>
[quoted text clipped - 21 lines]
>
> Akin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.