Forum Moderators: not2easy

Message Too Old, No Replies

Shadows with 3 Column Layout

         

Stewart81

3:49 am on Nov 22, 2008 (gmt 0)

10+ Year Member



I was wondering if any of you might know of a method of have some idea's on how to do a 3 column layout with a drop shadow.

I think I've seen it done before but then it might of just been done with the background having a shadow. I'm not entirely sure. Anyway there is a wrapper div followed by a header, menu, left, center, right, footer. The idea is to attach a shadow to the wrapper div somehow.

Anyway if anyone has some ideas I couldn't find anything with a search or at least nothing that seemed to be right to the purpose so hoping someone may at least be able to steer me in the right direction.

Thank you
Stewart

swa66

10:00 am on Nov 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm low on time here, but I think you're searching for faux columns. If you need to have it in (somewhat) flexible width, you can combine it with a sliding doors technique. Also look for flexi-floats.

vincevincevince

10:25 am on Nov 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>Box with border</title>
<style type="text/css">
.wrappera {
background-color:#ccc;
padding-left:10px;
padding-bottom:10px;
width:400px;
position:absolute;
top:20px;
}
.wrapperb {
margin-top:-10px;
border:1px solid;
background-color:white;
padding:5px;
width:100%;
}
.bd, .bdf {
outline:1px dashed blue;
clear:both;
}
.bdf {
float:left;
clear:none;
width:33.333%
}
</style>
</head>
<body>
<div class="wrappera">
<div class="wrapperb">
<div class="bd header">header</div>
<div class="bd menu">menu</div>
<div class="bdf left">left</div>
<div class="bdf middle">middle</div>
<div class="bdf right">right</div>
<div class="bd foot">foot</div>
</div>
</div>
</body>
</html>

The box will grow with the content, as per expectation; this is designed for a fixed overall width - is that what you want?

tomcam

10:17 am on Nov 29, 2008 (gmt 0)

10+ Year Member



Wow, VVV, you rock. That's great stuff.