473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Soft shadows without graphics?

Looking for some advanced help here.

Is there a way to get the soft shadows effect in HTML, WITHOUT using
GIFs, JPEGs, PNGs...?

Basically, the issue is, I want to create a signature file for my HTML
e-mail, and I want to add a soft shadow to the table containing the
text, to make it stand out from the content of the e-mail. However, I
can't use images for the effect. I tried to use the "Send pictures
with message" feature of Outlook Express, but the signature gets to be
too large. At the same time, I can't host the images on my web site
and embed HREFs to them, since more and more e-mail clients now allow
you to block the "web bug" images.

So, I guess what I'm left with is some magic in HTML.

Anyone?

-Wiley
Jul 20 '05 #1
4 3081
On 26 May 2004 14:43:14 -0700, Wiley Q. Hacker <wi**********@hotmail.com>
wrote:
Looking for some advanced help here.

Is there a way to get the soft shadows effect in HTML, WITHOUT using
GIFs, JPEGs, PNGs...?

Basically, the issue is, I want to create a signature file for my HTML
e-mail, and I want to add a soft shadow to the table containing the
text, to make it stand out from the content of the e-mail. However, I
can't use images for the effect. I tried to use the "Send pictures
with message" feature of Outlook Express, but the signature gets to be
too large. At the same time, I can't host the images on my web site
and embed HREFs to them, since more and more e-mail clients now allow
you to block the "web bug" images.

So, I guess what I'm left with is some magic in HTML.


Answer: no can do. I've perhaps heard somewhere that a future version of
CSS might do this, but I'm not very positive about that.
Jul 20 '05 #2
On Wed, 26 May 2004 17:56:28 -0400, Neal <ne*****@yahoo.com> wrote:
On 26 May 2004 14:43:14 -0700, Wiley Q. Hacker
<wi**********@hotmail.com> wrote:
Looking for some advanced help here.

Is there a way to get the soft shadows effect in HTML, WITHOUT using
GIFs, JPEGs, PNGs...?

Basically, the issue is, I want to create a signature file for my HTML
e-mail, and I want to add a soft shadow to the table containing the
text, to make it stand out from the content of the e-mail. However, I
can't use images for the effect. I tried to use the "Send pictures
with message" feature of Outlook Express, but the signature gets to be
too large. At the same time, I can't host the images on my web site
and embed HREFs to them, since more and more e-mail clients now allow
you to block the "web bug" images.

So, I guess what I'm left with is some magic in HTML.


Answer: no can do. I've perhaps heard somewhere that a future version of
CSS might do this, but I'm not very positive about that.


Not sure if this does what you want, but check this out...

<div style="position: relative">
<div style="position: absolute;top: 1em;left: 1em;z-index: 2;color: #f00">
<p>This is a test. This is only a test.</p>
</div>
<div style="position: absolute;top: 1.1em;left: 0.9em;z-index: 1;color:
#fcc">
<p>This is a test. This is only a test.</p>
</div>
</div>
Jul 20 '05 #3
On Wed, 26 May 2004 18:12:22 -0400, Neal <ne*****@yahoo.com> wrote:
On Wed, 26 May 2004 17:56:28 -0400, Neal <ne*****@yahoo.com> wrote:
On 26 May 2004 14:43:14 -0700, Wiley Q. Hacker
<wi**********@hotmail.com> wrote:
Is there a way to get the soft shadows effect in HTML, WITHOUT using
GIFs, JPEGs, PNGs...?

Not sure if this does what you want, but check this out...

<div style="position: relative">
<div style="position: absolute;top: 1em;left: 1em;z-index: 2;color:
#f00">
<p>This is a test. This is only a test.</p>
</div>
<div style="position: absolute;top: 1.1em;left: 0.9em;z-index: 1;color:
#fcc">
<p>This is a test. This is only a test.</p>
</div>
</div>


Sorry for all the posts. I should have stressed that this is NOT a good
thing to do in a webpage. For a sig in an email, however, it's likely
harmless. The worst thing that could happen is that the user will read it
as "plaintext" and get a double signature.
Jul 20 '05 #4
joe
you may use css to accomplish what you want ....

a simple trick is to add a border to right and bottom of (any block element)

border-color: black;
broder-style: solid;
border:0px 2px 2px 0px;
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Christopher W. Douglas | last post by:
I am developing a VB.NET app using Visual Studio.NET 2003. VB.NET allows me to create a class with two or more methods that have the same name, as long as they have different (non-optional)...
10
by: Özden Irmak | last post by:
Hi, I'm trying to hide an event of my custom usercontrol derived control, something like "Shadows" in VB.Net, but although the event is hidden from PropertyGrid, from CodeEditor I can still...
8
by: Dot net work | last post by:
I need VB.NET's "shadows" functionality inside a C# project. I tried the "new" keyword, but it didn't seem to work, because my particular function does in fact differ in signature to the function...
4
by: tbatwork828 | last post by:
Related to my other post on Graphics.FillRectangle and a lot of page faults caused by this call... We determine that when Control.DoubleBuffer=true to avoid the flicker effect,...
7
by: Satish | last post by:
Hi Friends I am little confused about the shadows keyword in VB.NET could anyone explain with an example about Shadows keyword Many thanks Satish
6
by: Jeff Johnson [MVP: VB] | last post by:
I'm developing a form which is to be used as an enhanced MessageBox(). I don't want it to be shown with the default Show() method, so as I provided overloaded versions of Show() I marked them as...
3
by: flat_ross | last post by:
For anyone who is just getting into VB.NET and/or is starting to work with inheritance I would like to point out a potential pitfall. We found this confusion recently when code-reviewing an...
1
by: VBTricks.de.vu Webmaster | last post by:
Hello everybody, I'm using the filetype icons of the system. The icons are gotten using SHGetFileInformation and added to an ImageList (ColorDepth = 32bit). This works fine when ListViewItems...
2
by: =?Utf-8?B?QU1lcmNlcg==?= | last post by:
In the class below, I inherit from Generic.Dictionary so I can override property Item. Item is not overridable, so I used Shadows, and it works as I want. It works equally well if I replace...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.