Web design help

JGP.

Active member
Hey Guys,

Can anyone explain to me how to get a shadow on the left and right sides of a table or div using css or html?

thanks
 
Uhh are you looking for padding? Because in CSS you can put cellpadding (value) or something. It's been a year since I did web design and CSS but I know for a fact you can get padding through a CSS
 
I dont think that is what I am trying to do, I am just trying to get a thin black shadow on the sides of a table...
 
The only way i know of doing that is to actualy create a little verticaly tileing image. So what youd do is start with like a 4x8 pixel image that has the same background color as whatever is outside the table, create a gradient across this little image using black, make sure you end the gradient completely before hitting the edge of the little image otherwise youll get a funny line instead of a shadow, then create a colum on each side of the table and tile your little shadow jpeg verticaly. kinda hard to explain.
 
Back
Top