Hi guys!
As some of you know, I am re-desgining my website into a full-css (Yes this is the same one
). I added a shadow to a div. I wound up creating 3 other div's for the right shadow, bottom shadow, and corner. It works, but is there an easier way than having 4 nested div's?
CSS:
Code:
.ddbbmcont
{
background: url("images/r-shadow-fade.png") bottom right;
}
.ddbbmcontinner1
{
background: url("images/r-shadow.png") repeat-y right;
}
.ddbbmcontinner2
{
background: url("images/b-shadow.png") repeat-x bottom;
width: 179px;
}
and the acutal page:
Code:
<div class='sidebar'>
<div class="ddbbmcont"><div class="ddbbmcontinner1"><div class="ddbbmcontinner2">
<div id="ddblueblockmenu">
<div class="menutitle">My Compnay Name</div>
<ul>
<li><a href="./index.php">Home</a></li>
<li><a href="./company/index.php">Company</a></li>
<li><a href="./services/index.php">Services</a></li>
<li><a href="./wwwdevop/index.php">WWW Devopment</a></li>
</ul>
<div class="menutitle">Website Shortcuts</div>
<ul>
<li><a href="javascript:alert('COMING SOON')">Forums</a></li>
<li><a href="./service/index.php"><img src="./images/service.png" alt="service"> </a></li>
<li><a href="./ser1/index.php"><img src="./images/phpincnetwork.png" alt="ser1\network"> </a></li>
<li><a href="./school/index.php">Tutorials</a></li>
</ul>
<div class="menutitle">Client Services</div>
<ul>
<li><a href="./login.clients/index.php">Login</a></li>
<li><a href="./clients/index.php">Client Index</a></li>
<li><a href="./clients/list.php">Client List</a></li>
<li><a href="./clients/become.php">Become A Client</a></li>
</ul>
<div class="menutitle"><a href="./more.php" style="color: white;">More --></a></div>
</div>
<a href="./advertise.php"><img src="./images/ad01.png" alt="ADVERTISE HERE: 169x300"></a></div>
</div>
</div>
<br><script type="text/javascript" src="/help/chat/livehelp_js.php?department=1&serversession=1&pingtimes=15"></script><div class="end"><table cellpadding=0 cellspacing=0 style="margin-left: 14px; margin-right: 14px;"><tr><td>
<table><tr><td><a href="http://validator.w3.org/check?referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid " height="31" width="88"></a></td><td><a href="http://www.anybrowser.org/campaign/"><img src="images/anybrowser.png" alt="Any Browser Compatable Site"></a></td></tr></table></td></tr></table><div class="footer">
Copyright ©2005-2008 My Company Name » Your iP: 123.4.56.789
</div></div></div>
Thanks,
Bookmarks