![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I¹m trying to create a page, so that if one has a widescreen monitor, they will be able to see as many centered divs on a row as possible. So I¹m floating these div boxes left so they are not stacking vertically, but horizontally. The problem is, they don¹t center. Do you know a way do to it with CSS. |
#3
| |||
| |||
|
|
No, you can't perfect centre with css as I understand you want. You can get awfully close but. But there is a way with some extra: http://tinyurl.com/2jcs5r -- dorayme |
#4
| |||
| |||
|
|
Cool, it worked, but I had to fix the Javascript for it to work in IE for some reason. Worked in FF fine. No, you can't perfect centre with css as I understand you want. You can get awfully close but. But there is a way with some extra: http://tinyurl.com/2jcs5r |
#5
| |||
| |||
|
|
In article db4c1dd2-ef59-4900-ba33-208c373712ac...oglegroups.com>, bay <bay_dar (AT) yahoo (DOT) com> wrote: No, you can't perfect centre with css as I understand you want. You can get awfully close but. But there is a way with some extra: http://tinyurl.com/2jcs5r Cool, it worked, but I had to fix the Javascript for it to work in IE for some reason. Worked in FF fine. Feel free to give a URL so that your js could be traced by us all, it might prove useful. I have clean forgot now if the mass of floats as a whole centred properly in Internet Explorer, I think I would have checked in IE6 at the time, but likely not in IE7? The javascript on those pages at my URL is named in honour of its maker. And it was fashioned probably with the details of my page in mind. So anything you come up with that makes it more general would likely be helpful. |
#6
| |||
| |||
|
|
On Wed, 02 Jul 2008 09:07:43 +1000 dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote in: doraymeRidThis-948361.09074302072008...ptusnet.com.au In article db4c1dd2-ef59-4900-ba33-208c373712ac...oglegroups.com>, bay <bay_dar (AT) yahoo (DOT) com> wrote: No, you can't perfect centre with css as I understand you want. You can get awfully close but. But there is a way with some extra: http://tinyurl.com/2jcs5r Cool, it worked, but I had to fix the Javascript for it to work in IE for some reason. Worked in FF fine. Feel free to give a URL so that your js could be traced by us all, it might prove useful. I have clean forgot now if the mass of floats as a whole centred properly in Internet Explorer, I think I would have checked in IE6 at the time, but likely not in IE7? The javascript on those pages at my URL is named in honour of its maker. And it was fashioned probably with the details of my page in mind. So anything you come up with that makes it more general would likely be helpful. CSS version. I did not even try to make this work with older mozilla type browsers. Not really the same but close, and no js. http://tinyurl.com/637o7j |
#7
| |||
| |||
|
|
In article <20080702012129.773f3fe3 (AT) bootnic (DOT) motzarella.org>, BootNic <bootnic.bounce (AT) gmail (DOT) com> wrote: [snip] CSS version. I did not even try to make this work with older mozilla type browsers. Not really the same but close, and no js. http://tinyurl.com/637o7j This is interesting. Nice in my Safari 2 but there is no wrapping at all in FF 2. |
#8
| |||
| |||
|
|
On Wed, 02 Jul 2008 15:58:02 +1000 dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote in: doraymeRidThis-F64B4F.15580202072008...ptusnet.com.au In article <20080702012129.773f3fe3 (AT) bootnic (DOT) motzarella.org>, BootNic <bootnic.bounce (AT) gmail (DOT) com> wrote: [snip] CSS version. I did not even try to make this work with older mozilla type browsers. Not really the same but close, and no js. http://tinyurl.com/637o7j This is interesting. Nice in my Safari 2 but there is no wrapping at all in FF 2. FF2 does not support inline-block, though FF3 does. It would also fail in most other mozilla browsers. What I have confirmed it works in: IE 6 IE 7 Safari 3 FF 3 Opera 9.5 Galeon 2.0.5 |
![]() |
| Thread Tools | |
| Display Modes | |
| |