PC Review


Reply
Thread Tools Rate Thread

absolute positioning in vs 2008

 
 
rahul gupta
Guest
Posts: n/a
 
      20th Aug 2010
hey friends i was using vs 2008 for windows app earlier.
but when i moved to asp.net web site page development.
i was unable to adjust my controls.
vs 2008 by defalut takes conrol in flow layout.
this situation is ****ing man.
the only solution i came to know after hours of googling is that we
have to individually set each postion type to absolute position.
this is not a permanent solution
so i have to shift to vs 2005 where we have layout position ang we can
by default set each and every control to absolute positioning.
but i want to work in vs 2008 ...is there any permanent solution to
this prob.??????
 
Reply With Quote
 
 
 
 
Brian Cryer
Guest
Posts: n/a
 
      21st Jan 2011
On 20/08/2010 07:36, rahul gupta wrote:
> hey friends i was using vs 2008 for windows app earlier.
> but when i moved to asp.net web site page development.
> i was unable to adjust my controls.
> vs 2008 by defalut takes conrol in flow layout.
> this situation is f***** man.
> the only solution i came to know after hours of googling is that we
> have to individually set each postion type to absolute position.
> this is not a permanent solution
> so i have to shift to vs 2005 where we have layout position ang we can
> by default set each and every control to absolute positioning.
> but i want to work in vs 2008 ...is there any permanent solution to
> this prob.??????


Yes, there is a simple solution but there is also a better solution.

1. The simple solution

Grid layout is still there (although I've never touched it).
Tools > Options > HTML Designer > CSS Styling > Check the option "Change
positioning to absolute for controls added using Toolbox, paste or drag
and drop".

2. The better solution

But the better (but in your case also more painful) solution is to learn
to use flow layout.

Fixed positioning of control was always a bad idea and was given as an
option solely to help desktop developers feel at home on the web. The
reason its a bad idea is that you have no idea what sized browser window
your visitors will be using, and it makes your site look very
unprofessional if half your content is hidden off the to the right of
the window (or gets cropped when printed). Fortunatly Microsoft realised
their mistake and depreciatred it in VS 2008.

That said, I do acknowledge that if you've designed your site using grid
layout then to move to flow layout is a major pain.

Hope this helps.
--
Brian Cryer
http://www.cryer.co.uk/brian



 
Reply With Quote
 
Brian Cryer
Guest
Posts: n/a
 
      21st Jan 2011
On 21/01/2011 09:24, Brian Cryer wrote:
> On 20/08/2010 07:36, rahul gupta wrote:
>> hey friends i was using vs 2008 for windows app earlier.
>> but when i moved to asp.net web site page development.
>> i was unable to adjust my controls.
>> vs 2008 by defalut takes conrol in flow layout.
>> this situation is f***** man.
>> the only solution i came to know after hours of googling is that we
>> have to individually set each postion type to absolute position.
>> this is not a permanent solution
>> so i have to shift to vs 2005 where we have layout position ang we can
>> by default set each and every control to absolute positioning.
>> but i want to work in vs 2008 ...is there any permanent solution to
>> this prob.??????

>
> Yes, there is a simple solution but there is also a better solution.
>
> 1. The simple solution
>
> Grid layout is still there (although I've never touched it).
> Tools > Options > HTML Designer > CSS Styling > Check the option "Change
> positioning to absolute for controls added using Toolbox, paste or drag
> and drop".
>
> 2. The better solution
>
> But the better (but in your case also more painful) solution is to learn
> to use flow layout.
>
> Fixed positioning of control was always a bad idea and was given as an
> option solely to help desktop developers feel at home on the web. The
> reason its a bad idea is that you have no idea what sized browser window
> your visitors will be using, and it makes your site look very
> unprofessional if half your content is hidden off the to the right of
> the window (or gets cropped when printed). Fortunatly Microsoft realised
> their mistake and depreciatred it in VS 2008.
>
> That said, I do acknowledge that if you've designed your site using grid
> layout then to move to flow layout is a major pain.
>
> Hope this helps.


Sorry, am trially a different newsreader and hadn't appreciated that the
post I was responding to was so old.
--
Brian Cryer
http://www.cryer.co.uk/brian

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
absolute positioning in vs 2008 rahul gupta Microsoft C# .NET 1 19th Aug 2010 05:28 PM
Absolute Positioning OHM Microsoft ASP .NET 1 3rd Dec 2006 04:49 PM
positioning and absolute positioning features do not work =?Utf-8?B?TWFnbnVzMTQ=?= Microsoft Frontpage 3 27th Oct 2004 02:54 PM
Re: absolute positioning Kevin Spencer Microsoft Frontpage 0 4th Aug 2003 04:15 PM
absolute positioning jeanette Microsoft Frontpage 4 18th Jul 2003 04:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:23 PM.