More information about the Underscore mailing list

[_] CSS righthand space

Matt Kane ascorbic at gmail.com
Thu Jul 6 12:21:52 BST 2006


On 6 Jul 2006, at 12:08, Matt Kane wrote:


>
> On 6 Jul 2006, at 11:57, juan kennaugh wrote:
>
>> Hi Jean-paul
>>
>> Can't you just make the nav div auto width and put a left margin
>> on it?
>>
>> Juan
>
> That wouldn't work, as the left margin is also auto. There's also
> the IE bug with right: 0; width: auto.
> Of the top of my head, you could do something where that line is
> width: 50%; right: 0 and not inside foot_nav. Perhaps an hr below
> foot_nav with a margin-top: -1px; to line it with the navigation.
> There's probably a better way that's less of a hack though.
>


OK, wait a sec. That's no good. I didn't see that it was auto
vertically too. Rather than that, do width: 50%; margin-top: -
somethingpx; text-align: right; margin-right: 0; border: 1 0