| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Dec 2007
Posts: 1
|
Display two div's inline within a div
Hi there, I'm really struggling to get two div's to appear inline within a parent div (code below). There are javascript elements that require this structure (for text to appear when field selected). Just simply need to get the div "usernote" to appear inline with the form field, as opposed to under the field. Any help would be greatly appreciated! Thanks! Josh Code:
|
|
|
|
|
|
#2 (permalink) |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,625
|
The main reason you can't do what you say you are trying to do, is that you only have two divs, and they aren't inside another div. Also you have an empty set of P tags. But that's not really related to your issue. |
|
|
|
#4 (permalink) |
|
Default User
Join Date: Jan 2008
Location: Cumming, GA
Posts: 72
|
The way that I would do it would be like this HTML Code:
make sure that you use specific sizes if needed. |
|
|
|
#6 (permalink) | |
|
Senior Member
Join Date: Jan 2005
Posts: 12,340
|
Quote:
You can either float the parent of the float containers - the "float everything" approach. Or you can use: New clearing method needed for IE7? | 456 Berea Street |
|
|
![]() |