Timothy Armes wrote:
>> Once line breaks are determined you would like to have a sort of extra
>> step to fit the placed contents. This 'extra fit' (not required by the
>> spec) is done by Opera (and by FF2), and it would indeed be sometimes
>> desirable, but I don't know how to get it with current CSS.
> 
> Thanks, I now understand the reason for my problem.
> 
> If anyone out there has a solution I'd be a very happy man.

Hi Timothy --

To add to what Bruno has already put forward, you might also consider
taking another look at your code. It's incredibly difficult to fix a CSS
problem with invalid code. You've written your code in XHTML
Transitional, which is more for migrating old sites and documents than
for the creation of new ones. It almost implies that you can't be
bothered to follow all the specs, which I know is not the case.

The W3C Validator returns 104 errors [1] for your XHTML source code
(many of which are probably solved by properly closing a few tags here
and there) and the W3C Jigsaw Validator [2] (for CSS) returns 11 errors.
While it doesn't appear that this would fix your problem since you've
included a simpler test case, it'll save you a lot of headaches later on.

I tested both your website and the simplified code on:
 - Firefox 3/Ubuntu Hardy
 - Konqueror 4.0.5/Ubuntu Hardy
 - Safari 3.1.1/Vista (Hardly)
The behavior in the test case is not the same as it is on your website -
the float shrinks correctly in the test case for all browsers tested.
I'll have another look at it if you like after you've fixed the
validation errors. Your CSS seems quite complicated for a simple (though
nice) layout, so I'm also not sure what else you've got going on in there.

Hope it helps!
Bill Brown
TheHolierGrail.com

[1]:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.timothyarmes.com%2Fgallery.php%3Flang%3Den-gb%26sec%3Dpersonal
[2]:
http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww.timothyarmes.com%2Fgallery.php%3Flang%3Den-gb%26sec%3Dpersonal
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to