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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help with aligning!!

    I am currently coding a webpage for a local business, the problem i am having is that when ever the webpage is too large or off center the editable text slides over with it.

    take a look: http://www.frobergsfarm.com

    this is the code i am using:

    <style>
    .aboutme {
    background-color:transparent;
    border:0px solid;
    border-color:000000;
    width:801px;
    height:426px;
    overflow:none;
    position:absolute;
    z-index:4;
    left:50%;
    top:0%;
    margin-left:-370px;
    margin-top:400px;
    ALIGN=center;
    text-align:center;
    visibility:visible;
    padding:0px;}

  • #2
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    You have no Doctype. Also several mark-up errors here.
    CSS errors here.

    You should put these matters right first.

    Frank
    Last edited by effpeetee; 06-13-2010 at 05:10 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Do not abuse position:absolute. There are a lot of issues wrong with your code. If they are a business why didn't they hire a professional?
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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