Linked by Will Senn on Thu 22nd Apr 2004 06:30 UTC
This article is intended to give you a practical recipe for creating a simple Web Control and extending Visual Studio with support for the control. The control itself is a basic Country Code drop down list such as you would find on many profile entry pages.
Permalink for comment
To read all comments associated with this story, please click here.
8.3. FlowLayout Positioning
Visual Studio defaults to GridLayout for .aspx files. Change it to FlowLayout. The difference is that GridLayout uses absolution pixel positioning (Grid) and FlowLayout uses relative positioning (Flow, things get put next to each other). To change the layout, Click over to the HTML view of default.aspx and change the MS_POSITIONING body attribute to FlowLayout:
<body MS_POSITIONING="FlowLayout">
This is really important for cross browser compatibility. GridLayout is a PITA. It doesn't work in most browsers and is only reliable in IE. It attempts to turn a web page into a form type design. To me, it feels like a way to help move program designers to web design. Switching to FlowLayout is much better.
Then again, all HTML/CSS support in VS.net/ASP.net is pretty horrid in general.
8.3. FlowLayout Positioning
Visual Studio defaults to GridLayout for .aspx files. Change it to FlowLayout. The difference is that GridLayout uses absolution pixel positioning (Grid) and FlowLayout uses relative positioning (Flow, things get put next to each other). To change the layout, Click over to the HTML view of default.aspx and change the MS_POSITIONING body attribute to FlowLayout:
<body MS_POSITIONING="FlowLayout">
This is really important for cross browser compatibility. GridLayout is a PITA. It doesn't work in most browsers and is only reliable in IE. It attempts to turn a web page into a form type design. To me, it feels like a way to help move program designers to web design. Switching to FlowLayout is much better.
Then again, all HTML/CSS support in VS.net/ASP.net is pretty horrid in general.