|
Posted by mbstevens on 06/01/06 18:52
fred.haab@gmail.com wrote:
>>><p>List Title:</p>
>>
>>No. Use <hx>...</hx>
>
>
> Well, that's just nit-picking. I want the font to be the same.
Preferring semantic markup is hardly nit-picking. The comment was
lagniappe, but I addressed the question you asked just after this.
If you want the font to be the same, set it the same in CSS and stick
to semantic markup.
> But let's say I write this for the lowest common denominator
CSS based pages are supposed to be usable by the lcd, not written
specifically for it. But you knew that...
> If I fix the width of the box, then there is a problem when users
> resize the font - the width of the container should expand up to the
> maximum it can before text starts wrapping.
I don't understand what you really want.
Text within an <li> does wrap only when it reaches the width of its
container (the <ul>). If you're
using the <ul> as the center column, the text will expand and contract.
The text within the <li> will wrap at whatever size the <ul> is.
______________________________
It would be much easier to understand exactly what your problem is if
you would put up a couple of pages, one tables, one CSS, that
demonstrate your problem.
________________________________
> So I'm leaving it plain for now (not centered), and I'm hoping that
> someone will tell me it's possible to center an arbitrary sized
> (dependent on the content) container.
>
I thought you wanted the <ul> to be uncontained:
['So the "requirement" is that the UL block itself is centered AS A
WHOLE. '].
There is another method than the one I mentioned in the previous post.
If you can drop this no-container requirement you just center one
container within another with the auto-width margins method of centering.
#outer_container {
text-align:center;
}
#contained_container{
margin:0px auto;
text-align:left;
}
___________________________
But again, why don't you put up a couple of pages that actually
demonstrate your problem. That will eliminate a huge amount of
fencing.
___________________________
[Back to original message]
|