Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    74
    Member #
    5667
    i have a site that was designed in 800 by 600.
    i notice when i view the site in 1024 by 768 everything sticks to the upper right corner. http://www.azmusicnet.com/
    can i make a div as large as the screen and center its content to make it center in 1024 by 768?
    or even better does anyone know how to get the content to stretch?
    Jeff Mills

  2.  

  3. #2
    Member
    Join Date
    Sep 2004
    Posts
    68
    Member #
    7417
    you need a doctype:
    http://www.w3.org/QA/Tips/Doctype

    lose the font tags, put font styles in the CSS file:
    http://www.w3.org/TR/REC-CSS2/fonts.html

    validate your code, you have 2 BODY tags, that's a no-no. you don't have an ending html or body tag, those are no-no's:
    http://validator.w3.org/

    your site appears to be about 776 pixels wide. that's probably fine for PC but not Macs. Why should you care about Macs? Well, musicians and artists (and some educational institutions) are the largest markets of Mac users, so even if only 10% of the general surfing world uses something other than IE6, that will not likely equate to what your audience will be using. www.webmonkey.com has some browser size stuff that may help you.

    <div align="center"> may help you center stuff. "text-align: center" may help. "margin: 0 auto" may help as well, depends on browser, etc.

  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Quote Originally Posted by TimeBandit
    <div align="center"> may help you center stuff. "text-align: center" may help. "margin: 0 auto" may help as well, depends on browser, etc.
    the align attribute is deprecated for divs

    blatant3: to center your site wrap the whole thing in a div with style="margin: 0 auto;"

    make sure you have margin: 0; and padding: 0; in you body (css)

    hth
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    Member
    Join Date
    Apr 2004
    Posts
    74
    Member #
    5667
    thanks for the tips everyone.
    i know my code is FAR from valid.im working on that.
    ill try out all of your advice.
    thanks!
    Jeff Mills

  6. #5
    Member
    Join Date
    Apr 2004
    Posts
    74
    Member #
    5667
    ok ive started the validation process.the first thing its telling me is that im not allowed to have a <marquee> tag, and to use CSS to get that
    effect. does anyone know how this is done?
    Jeff Mills

  7. #6
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    well... first you should put your doctype
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  8. #7
    Member
    Join Date
    Apr 2004
    Posts
    74
    Member #
    5667
    yeah i was hoping to save that for last.i made the mistaking of designing the site without a doctype, and when i put it in there it throws my sites layout all over the place. so im gonna have to take it offline when i do that. but ok ill get that handled first
    Jeff Mills

  9. #8
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    doctype always comes first. it's what helps browsers interpret your site better.

    which one were you using?
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  10. #9
    Member
    Join Date
    Apr 2004
    Posts
    74
    Member #
    5667
    4 transitional.its not that bad, but ill have to totally re-edit my stylesheet
    Jeff Mills


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com