|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
 |
Re: span width/height from contained elements failing? |
 |
|
 |
|
|
|
  01-22-05 - 12:21 AM
|
bugbear <bugbear@trim_papermule.co.uk_trim> wrote:
>bugbear wrote:
>
> From further reading, it appears that I require
>the new, exotic and widely unavailable
>"inline-block".
>
>Can anyone explaine WHY I need this,
You want the container to (a) only be as wide as the content, and to
have multiple such containers in a row, but (b) otherwise behave like
a box. That's a combination of inline and block behaviours, so
inline-block makes sense.
>and what point I'm missing about
>"non-replaced inline-level elements"
The relationship between inline elements (such as your span) and the
one or more line boxes that they may encompass is complex, espevially
when you have an inline replaced element (such as your image) inside
them. The image extends the height of the line box but not the height
of the inline box, or is it the other way round? See I said it was
complex.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
| All times are GMT. The time now is 10:14 AM. |
 |
|
|
|
|
|  |
|