[thelist] CSS opacity question

ben morrison morrison.ben at gmail.com
Wed Jul 11 11:52:37 CDT 2007


On 7/11/07, ben morrison <morrison.ben at gmail.com> wrote:
> On 7/11/07, Barney Carroll <barney at textmatters.com> wrote:
> > Ben Morrison wrote:
> > > This will work, although you may run into problems with how high/wide
> > > the <divs> will be - how can you ensure that the background div will
> > > be the same size as the content div?
> >
> > Because their positioning has been specified using identical expressions
> > of universally unambiguous css. That's what the whole point of the
> > question was.
>
> Using 'universally unambiguous css' how will the background div know
> how wide/high it should be so that it will take up the same amount of
> space as the foreground (content) div (also consider text resizing)?
>
> Generally we are taking about height as widths are more often used than heights.

I guess width:100%;height:100% might do the trick, just back from
hols, haven't tested.

Personally I would try the background route so that you have less divitus.

ben


-- 
Ben Morrison
http://www.benjaminmorrison.com



More information about the thelist mailing list