C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Image border Shadow using CSS
WhatsApp
Purushottam Rathore
17y
15.7
k
0
0
25
Blog
<
html
>
<
head
id
="Head1"
runat
="server">
<
title
>
Gradient Background
</
title
>
<
style
type
="text/css">
.Shadow
{
border
:
solid
1px
#336699
;
border-collapse
:
collapse
;
background-color
:
White
;
margin-bottom
:
2px
;
filter
:
progid:DXImageTransform.Microsoft.Shadow(color="#141414",Direction=135,
Strength=8)
;
}
</
style
>
</
head
>
<
body
bgcolor
=silver>
<
form
id
="form1"
runat
="server">
<
table
height
="150"
width
="300"
class
="Shadow"
>
<
tr
valign
=top>
<
td
>
Hi!
</
td
>
</
tr
>
<
tr
>
<
td
align
=right>
Bye...
</
td
>
</
tr
>
</
table
>
</
form
>
</
body
>
</
html
>
Output:
People also reading
Membership not found