Results 1 to 3 of 3

Thread: [RESOLVED] Div positioning question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Posts
    166

    Resolved [RESOLVED] Div positioning question

    Trying to get my two div containers to be side by side but not having any success using my style sheet. The containers #contact_leftside is on top of #form_right side. Can anyone help?

    HTML Code:
    #contact_leftside {
    	width: 250px;
    	clear: right;
    	float:left;
    }
    }
    #form_rightside {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 10px;
    	font-style: normal;
    	font-weight: normal;
    	background-color: #CCC;
    	width: auto;
    	float: left;
    	top: 0px;
    	right: auto;
    	left: 300px;
    	height: auto;

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Div positioning question

    first: your top/left/right properties are sort of wasted here (you must define the position property to be able to use them) -- and you have an extra bracket before #form_rightside that could be causing some sort of problem (but that could simply be because of bad copy/pasting). but other than that, everything looks like it would work.

    you really probably want to post your mark-up so that we can see some context, along with the rest of the stylesheet as well. if you're clearing on the right, you obviously have some other elements floating around and those elements are probably making your stylesheet not work the way it should.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Posts
    166

    Re: Div positioning question

    Kows, I corrected those top, left and right properties you mentioned and that helped. I did this with something called Dreamweaver and I've only used html a little. Thanks it was a big help.

Posting Permissions

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



Click Here to Expand Forum to Full Width