div issue help
- Started
- Last post
- 18 Responses
- Claymantis
Hello again,
http://www.claytoneedham.com/dar…
In chrome the contact form appears under the content. Not sure why that is. It seems to work in other browers.
Can someone help me? Thanks!
- Continuity0
<div id="inside_content2" style="width:200px; padding-top:4px; float:;">
Should probably be:
<div id="inside_content2" style="width:200px; padding-top:4px; float:left;">
The div in which the contact form is should have a float:right
- bulletfactory0
removing the max width on the inside_content div might remedy the problem.
- ETM0
Am I blind, because i don't even see a div surrounding the table used for the form. Also, I don;t see the table class is in the style sheet.
- i didn't see the table class either.bulletfactory
- me neitherContinuity
- The table should likely be unique id rather than a class.ETM
- Claymantis0
hmm doesn't seem to be working...
- ETM0
But your left column in a left floating div, and put your contact table in a right floated div.
- Claymantis0
removing max width fixed it
- ETM0
Or they can both be left floated and they will stack next to each other if the contact form isn't going all the way to the right margin.
- Claymantis0
thanks alot for the help... I wish I could see the light with coding.
- ETM0
Put that table in a div
- Continuity0
Simplify your life, mate:
.contactLeft {
width: BLABLABLApx;
float: left;
}.contactRight {
width: BLABLABLApx;
float: right;
}<div id="contactLeft">content</div>
<div id="contactRight">content+table</div>- <ETM
- IMO you should use IDs though. Classes are for elements that get repeated/not exclusive. Just a pet peeve.ETM
- I did use IDs ... I though classes were # ... o_OContinuity
- Nope, you have it reversed.ETM
- Bugger.Continuity
- :)ETM
- All right Clay: . = # :DContinuity
- spraycan0
big mess in FF 3.0
- ETM0
I think he figured it was fixed and left.
- Claymantis0
No I'm still here reading...hahah
- Claymantis0
Now it works!
- Claymantis0
I still get confused with DIV positioning.. all that floating drives me crazzzzzy
- Why? Its similar to align left and right from the old days, but with more flexibility.ETM
- What I'd REALLY like is to be able to flow copy into a multi-column/DIV layout. Mmmm.Continuity
- CSS3ETM
- http://www.alistapar…ETM
- Holy shit. AWESOME.Continuity
- I guess I always make coding out to be crazier then it is...Claymantis
- ETM0
- ETM0