Help with putting a div on a new line

manlymatt83

Lifer
Oct 14, 2005
10,051
44
91
Text

Fo some reason, the calendar window is supposed to be below the webmail window, but in some browsers it is to the right of it.

Ideas?
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Because your CSS applies "float:left" to the div. Make your window narrower, and all browsers should kick it down below the webmail div, or fix your CSS.
 

clamum

Lifer
Feb 13, 2003
26,256
406
126
Maybe try putting those two DIVs within a container DIV, and don't specify a float properly to the two individual ones?
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
Originally posted by: clamum
Maybe try putting those two DIVs within a container DIV, and don't specify a float properly to the two individual ones?

Either that or put a fixed width on the body
 
Aug 25, 2004
11,151
1
81
Originally posted by: clamum
Maybe try putting those two DIVs within a container DIV, and don't specify a float properly to the two individual ones?

Agreed. You need a wrapper div where you are free to define width, float and whatever else you need.
 

bchalker

Golden Member
Feb 17, 2000
1,204
0
0
Easier fix:

> remove the float.
> place the logo image as a non-repeating background for a specific div.
> add padding-left:280px to both the "wmail" and "cal" divs.

Should fix it. Floats can get tricky at times. Also, what "George P Burdell" and "clamum" said was correct...place everything in a "wrapper" div to provide the best and most flexible control to a site.