|
-
Mar 16th, 2010, 05:02 PM
#1
Thread Starter
Addicted Member
[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;
-
Mar 16th, 2010, 05:21 PM
#2
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.
-
Mar 16th, 2010, 05:57 PM
#3
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|