![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I'm having trouble getting the following to display correctly in Mozilla Phoenix 0.6 for Windows and Safari 1.0 for Mac. Recent versions of Internet Explorer seem to do fine with the design on both platforms, but no dice on the browsers I thought had good CSS support. I can only assume I'm doing something wrong here: http://osp.claremont.edu/~dan/temp/css-cols/test.html |
#2
| |||
| |||
|
|
On Tue, 19 Aug 2003 03:15:13 GMT, "Dan Phiffer" <danAT (AT) phifferDOT (DOT) com wrote: I'm having trouble getting the following to display correctly in Mozilla Phoenix 0.6 for Windows and Safari 1.0 for Mac. Recent versions of Internet Explorer seem to do fine with the design on both platforms, but no dice on the browsers I thought had good CSS support. I can only assume I'm doing something wrong here: http://osp.claremont.edu/~dan/temp/css-cols/test.html OK, it took me a while to work this one out as well. IE is getting it wrong as usual. I suggest you first do the following: - reduce the amount of text in each div - add 'width: 150px' to your div b - and add different colour (sorry, color) borders to your divs. Then you can probably understand what is happening. To fix it, either add a left margin to div b which is wide enough to accommodate div a, or add float: left to div b. And, as already pointed out, better to use % or em for the widths, though that's not the cause of this problem. -- Stephen Poley http://www.xs4all.nl/~sbpoley/webmatters/ |
#3
| |||
| |||
|
|
The problem, for those who might have been curious, was that in order to put two columns next to each other _both_ divs have to be floated left |
#4
| |||
| |||
|
|
Excellent, that did it. The problem, for those who might have been curious, was that in order to put two columns next to each other _both_ divs have to be floated left - for some reason I thought just the left one had to be. Thanks for the help! -Dan |
![]() |
| Thread Tools | |
| Display Modes | |
| |