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 3 of 3
  1. #1
    Member AllenP's Avatar
    Join Date
    Jul 2005
    Location
    Perris,CA
    Posts
    55
    Member #
    10453

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    I am creating this web site for a lady who specializes in switching people from adjustable rate loans to fixed rate loans. A couple of things she insisted on were the black background and the white text, so I cant really change that. I would appreciate any constructive criticism on how to improve the site.

    This is the first time I have attemped to switch over from XHTML-transitional to XHTML-strict, it is proving a pain in the ***, especially for the forms. I shed a tear for the death of the center tag, as I have not yet figured out how to consistently center the headings and other elements without it.

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    CSS.

    To center inline elements within a block element:
    Code:
    text-align: center;
    To center a block element itself, first give it a specific width (not automatic or 100%), then:
    Code:
    margin: 0px auto 0px auto;
    ...which is shorthand for 0px top and bottom margins, and automatic left and right margins.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Member AllenP's Avatar
    Join Date
    Jul 2005
    Location
    Perris,CA
    Posts
    55
    Member #
    10453
    Thank you, that has saved me alot of coding. I looked it up on google, and the ones I saw never seemed to work. Its because I forgot to change the text-align withing the main div.


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 04:36 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com