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 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2006
    Posts
    64
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Position(style) radio buttons - CSS???

    Hello

    I am having the darndest time moving the buttons seen at www.ryanspahn.net/customize.html to the left so that the text does not wrap around.

    I have tried different CSS techniques to no avail.

    Can anyone look at the page and offer a suggestion?

    Here is the .css

    #slpbox {
    position: absolute;
    top:100px;
    left:75px;
    width:200px;
    height:286px;
    background-color: #FFFFFF;
    border: solid 3px #000000;
    line-height:17px;
    }

    #lrmbox {
    position:absolute;
    top:100px;
    left:288px;
    width:250px;
    height:286px;
    background-color: #FFFFFF;
    border: solid 3px #000000;
    line-height:17px;
    }

    #randombox {
    position:absolute;
    top:100px;
    left:550px;
    width:200px;
    height:286px;
    background-color: #FFFFFF;
    border: solid 3px #000000;
    line-height:17px;
    }

    #boxslp {
    position: absolute;
    top:370px;
    left:75px;
    width:200px;
    height:286px;
    background-color: #FFFFFF;
    border: solid 3px #000000;
    line-height:17px;
    }

    #boxlrm {
    position:absolute;
    top:370px;
    left:288px;
    width:250px;
    height:286px;
    background-color: #FFFFFF;
    border: solid 3px #000000;
    line-height:17px;
    }

    #boxrandom {
    position:absolute;
    top:370px;
    left:550px;
    width:200px;
    height:286px;
    background-color: #FFFFFF;
    border: solid 3px #000000;
    line-height:17px;
    }

    I added padding as a test, but the buttons will move everywhere but to the left. For example padding-left:-200px does nothing Sad

    Thanks,
    Ryan

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,707
    Thanks
    0
    Thanked 237 Times in 232 Posts
    Hi there chaser7016,

    I would suggest that you first correct the coding errors that are revealed here...
    ...and if you get time check out this link...


    coothead


  •  

    Posting Permissions

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