Re: [css-d] form doesn't show well on Linux platform
On 12/5/06, Henk Cortier [EMAIL PROTECTED] wrote: Hi, I created a simple form with the labels with fixed width: form label.fixedwidth { clear: both display: block; width: 140px; float: left; } it shows ok in Safari and PC/IE but on Linux it's a nightmare, any idease? You don't give us a lot to go on there: by Linux do you mean Mozilla, Opera or Konqueror? But having done CSS form layouts before, I'm guessing that a a nightmare means a column of labels which is either taller or shorter than the adjacent column of form controls, so nothing aligns. Try containing each label/input pair in a div or p element any apply the clear to that rather than the label. -- Richard Grevers, New Plymouth, New Zealand Hat 1: Development Engineer, Webfarm Ltd. Hat 2: Dramatic Design www.dramatic.co.nz __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] form doesn't show well on Linux platform
thanks Richard, I'm testing the site through browsershots.org on many different Linux browsers (there are so many!). It's a game of float, clear and using different div's, tricky sometimes. Let's hope one day all browsers will interpret css the same (good) way. bye Henk Henk Cortier zaakvoerder Melimato VOF [EMAIL PROTECTED] On 5 dic 2006, at 18:38, Richard Grevers wrote: On 12/5/06, Henk Cortier [EMAIL PROTECTED] wrote: Hi, I created a simple form with the labels with fixed width: form label.fixedwidth { clear: both display: block; width: 140px; float: left; } it shows ok in Safari and PC/IE but on Linux it's a nightmare, any idease? You don't give us a lot to go on there: by Linux do you mean Mozilla, Opera or Konqueror? But having done CSS form layouts before, I'm guessing that a a nightmare means a column of labels which is either taller or shorter than the adjacent column of form controls, so nothing aligns. Try containing each label/input pair in a div or p element any apply the clear to that rather than the label. -- Richard Grevers, New Plymouth, New Zealand Hat 1: Development Engineer, Webfarm Ltd. Hat 2: Dramatic Design www.dramatic.co.nz __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] form doesn't show well on Linux platform
Hi, I created a simple form with the labels with fixed width: form label.fixedwidth { clear: both display: block; width: 140px; float: left; } it shows ok in Safari and PC/IE but on Linux it's a nightmare, any idease? thanks Henk __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/