Jump to content

Mainbody drop shadow? Aligning CSS vertical BG to right of mainbody?


Recommended Posts

Hello guys,

 

I'm working on a new style for my website. And I'm currently trying to add a drop shadow to the right of the greay main body. It will be about 10-20px wide and I will make it 100% vertical. I would not like it to get in the way for smaller browsers.

 

http://tactical-infusion.com/test/

 

I am aware it doesn't work in IE6 and under, and to be frank I no longer care... Works fine in FF and IE7. But if you know how feel free to help me.

 

100% CSS, fluid, sticky footer and 3 columns :). With some help from Aneko.

 

#mainbody{

background:#CCCCCC;

min-height:100%;

padding-right:208px;

padding-left:200px;

margin-bottom:-62px;

min-width:500px;

border-left:4px solid #b3b3b3;

border-right:4px solid #b3b3b3;

}

 

#mainbodyshadow{

width:8px;

background:#003333;

height:200px;

background-image:();

background-repeat:repeat-y;

float:left;

}

 

I can't seem to edit my OP. But just to let you know the mainbodyshadow style was just a test one. I am just trying to get it to float to the left of the mainbody.

 

View the live source for my added info.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.