AutoDirector forum

The AutoDirector support and advice forum

Firefox 3 and vehicle list text wrapping

Post Reply

Page: 1

Author Post
Administrator
Registered: Apr 2008
Posts: 324
Firefox 3 is due shortly and RC1 is out now.

There appears to be a strange problem when viewing the vehicle list in Fx3 - the text wraps earlier than it should in most of the templates. For example, "1997 McLaren F1" can appear like this even though there's plenty of room on the right-hand side:

model: 1997
McLaren F1


It seems that the floated <dl> element that shows this information is using the absolute minimum of horizontal space. In IE, Opera, and previous versions of Firefox, the element uses all the space that's available.

This could be a Fx3 bug and might be fixed prior to release. However, there is a possibility that it's doing the right thing (I won't be sure until I delve into the W3C CSS specifications ... which won't be much fun!)

Anyway, there is a workaround for the CSS templates that are affected: you need to add a min-width setting to #autodirector_list dl (usually around line 40), e.g.

#autodirector_list dl
{
display: block;
float: left;
min-width: 75%;
margin: 6px;
border-style: none;
}

I hope that helps. We'll update the templates in future releases if Fx3 continues to be a problem.
_______________
AutoDirector administrator
Member
Registered: Jul 2008
Posts: 26
Location: UK & US
Craig,

You're a god!

That fixed my problem, thank you so much!

Matt

Post Reply

Page: 1