Results 1 to 9 of 9

Thread: Page Design

  1. #1

    Thread Starter
    Hyperactive Member spoiledkid's Avatar
    Join Date
    Oct 2002
    Location
    Canada
    Posts
    437

    Page Design

    What is the preffered choice for designing aspx pages on internet which works good in both resolutions (800/600 & above) on most browsers ?? What are the standards ? What controls do you guys use .. Is it just Tables or Panels or what ? Some direction and guidance to me here would be appreciated ..

  2. #2
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: Page Design

    I've heard using tables is considered 'bad practice'. Personnaly I use Java to set the page size.
    TPM

    Add yourself to the VBForums Frappr Map!!

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Page Design

    Quote Originally Posted by -TPM-
    I've heard using tables is considered 'bad practice'. Personnaly I use Java to set the page size.


    Sorry, you won't get what I found so funny.

    Some prefer tables, some prefer divs. I prefer tables, and use percentages in widths so that it will work across resolutions.

    I try to keep the HTML as 'light' as possible. In other words, during the prototype design of an application, I avoid using ASP.NET controls (or java ), just keeping it pure HTML and CSS.

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: Page Design

    Ditto! I use plain old fashioned tables to layout the page - just set your width's using percentage values rather than absolute pixel values. i.e. "100%" rather than "100px" and this will automatically update when the page is resized or loaded

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  5. #5
    Member basilisk's Avatar
    Join Date
    Jan 2002
    Posts
    32

    Re: Page Design

    Ditto also - I use tables to layout the pages and use percentages as well. I also prefer using the HTML window in visual studio.Net and handcoding placement of controls etc rather than the designer as when you switch back and forth to the designer it changes your code formatting which i hate.

  6. #6
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: Page Design

    Quote Originally Posted by mendhak


    Sorry, you won't get what I found so funny.

    Some prefer tables, some prefer divs. I prefer tables, and use percentages in widths so that it will work across resolutions.

    I try to keep the HTML as 'light' as possible. In other words, during the prototype design of an application, I avoid using ASP.NET controls (or java ), just keeping it pure HTML and CSS.
    Well I didn't say using Java was 'good' practice.... I think it's the most flexible though. As for 'light', let me see you do all you page layout with 11 lines of CSS
    TPM

    Add yourself to the VBForums Frappr Map!!

  7. #7
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: Page Design

    I also prefer using the HTML window in visual studio.Net and handcoding placement of controls etc rather than the designer as when you switch back and forth to the designer it changes your code formatting which i hate.
    I definitely agree with that one! I never used to use that in Interdev either. I do switch back & forth (you can turn the autoformatting off fromt he tools > options menu), but never drag & drop the controls due to the code being completely screwed up!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Page Design

    Quote Originally Posted by -TPM-
    Well I didn't say using Java was 'good' practice.... I think it's the most flexible though. As for 'light', let me see you do all you page layout with 11 lines of CSS
    You'll have to explain what you mean when you say you're using Java for page layout...

  9. #9
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Page Design

    Most clients are geared to a screen size of 1024x768. However, a fair amount of people still use 800x600. To that end, most web applications are designed using 750 pixels wide as the standard.

    750 pixels allows room for scrollbars which may take up to 20-30 pixels. Additionally, some people set their window borders to take up 5 pixels.
    Now, that leaves approximately 770 pixels, but most designers will sacrafice the extra 20 pixels (770-20 = 750) to make calculations easier.

    The 450px height allows for browser toolbars on a 800x600 screen, and status bars on the bottom.

    Hardly any commercial web site uses 1024x768. But to make the site look good at that resolution, web sites center the content on the screen, or push it far left.
    http://www.cnn.com/ 800x600 - left justified content
    http://www.gamespot.com/ 800x600 - centered content (NO TABLE LAYOUT AT ALL)
    http://www.microsoft.com/ 800x600 - left justified content

    The only time you will see 1024x768 are at personal web sites or tech-driven sites (vbforums for example).

    To meet the requirements, you can use tables or divs, doesn't matter, since you will be setting a fixed width anyway. And because of that, setting percentages on table just makes the browser work harder and effectively take longer to display your page.

    Using DIVs for layout is still the least hard to maintain and add content, and in the GAMESPOT example above, proves it can be done cross-browser.
    Last edited by nemaroller; Jul 25th, 2005 at 03:59 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width