Jump to content

Web Application Interfaces

- - - - -

  • Please log in to reply
2 replies to this topic

#1
TCristoforo

TCristoforo

    Learning Programmer

  • Members
  • PipPipPip
  • 52 posts
Hi guys,

Probably a silly question, but when I build web apps, I notice the controls are inserted into the first available space(ie: a flow layout similar to java). Is there a way in visual studio 2010 that allows for a 'grid' layout, or something more similar to drag-and-drop from the toolbox?

One idea I had was to use a table.

#2
cdg10620

cdg10620

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 389 posts
When I do layout of a webpage I typically use divs to house my page controls and then use CSS to place them how I want on the page. Using tables is not a bad idea but divs tend to be more flexable. If you want to see a great implementation of CSS styling of a page check out css Zen Garden: The Beauty in CSS Design. Inspect the source of the page and notice that each link you click has the same HTML but the CSS is different. It really shows you how flexable and powerful using CSS can be. :D Hopefully this helped.
-CDG10620
Software Developer

#3
sam_coder

sam_coder

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 372 posts
Yeah, there is a way to lay web forms out "absolute position". But don't do it. =)

I agree with cdg10620, you'll end up with something much more flexible, easier to maintain, and it will likely look and flow a lot better.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users