Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Can Launch Site if Get Past this PROBLEM

    Ready to launch Web Site if I can get past IE problem. Viewing in IE 7.

    Problems with pages not aligned correctly in IE that works in Firefox. Yeah I know surprise, surprise. Let me say right up front that I am just one baby step away from knowing close to zero when it comes to coding.

    I have compared one page that shows correctly in both browsers and tried to find “differences” in the coding that would account for the problem. Just can’t find anything.

    If anyone could point me to the “area” in the coding where the problem(s) exist so I can correct the errors it would be most appreciated.

    This page works fine in both browsers (centered on the page);

    http://www.myhairman.com/html/Removing-Hair-System.htm

    These 3 pages all have the same error. The Logo/Header is centered correctly. The body is aligned to the left of the page instead of the center.

    http://www.myhairman.com/html/Cleaning.htm

    http://www.myhairman.com/html/Propecia-Rogaine.htm

    http://www.myhairman.com/html/Styling.htm

    On this page, everything is flush left instead of centered.

    http://www.myhairman.com/html/Contact.htm

    When I view the page in code view, all I see is align = center. I can’t figure out what is causing these problems. Thanks for any guidance you can give.

    Ron

  • #2
    Regular Coder Jazzo's Avatar
    Join Date
    Apr 2008
    Location
    New York City
    Posts
    164
    Thanks
    20
    Thanked 2 Times in 2 Posts
    Add the following attribute/value and value to the parent element of the content you want to be centered: style="text-align:center;"

    Julian
    ~Julian
    14 y/o web developer, drummer, and Bridge player

  • #3
    New Coder
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Hi Julian,

    And just where would the "parent element" be located on these pages? Guess you missed my comment about knowing close to zero about coding.

    Thanks,
    Ron

  • #4
    New Coder
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Clickman View Post
    Hi Julian,

    And just where would the "parent element" be located on these pages? Guess you missed my comment about knowing close to zero about coding.

    Thanks,
    Ron
    Also, not TEXT that needs centering - it's the TABLE. Can anyone take a look to help on this error?

    Much appreciated.
    Thanks,
    Ron

  • #5
    New Coder
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Problem Solved


  •  

    Tags for this Thread

    Posting Permissions

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