[thelist] CSS problem

Hardacker, Andrew Andrew.Hardacker at Compuware.com
Tue Mar 12 13:06:01 CST 2002


<snip>
Im trying to redesign www.cache-22.co.uk as CSS as it seems like the
perfect style to convert over.

One main problem Im facing is the shadow style of the site. How would I
get the shadows of the boxes to be the same size as their parents?
</snip>

One possible solution...

<div style="width:50%;padding:20px;">
  <div style="background-color:gray;">
    <div style="background-color:white;border:1px solid black;
                position:relative;top:-10px;left:-10px;padding:10px;">
      Heading<br />
      1. Content<br />
      2. Content<br />
      3. Content<br />
    </div>
  </div>
</div>


Good luck

Andy
andy at hardacker.com



More information about the thelist mailing list