So I'm Web browsing and I go to rottentomatoes. com, and I see
something interesting:
If you go to any movie page, you'll see on the top left, above and
below the film poster image, the names of a couple of the actors and
the director. Those names are orangeish, but with a black drop shadow!
And it's just text, not images.
I could really use that technique on my Web site where I have some
text over an image that needs to "pop" and be in more contrast from
the image.
How's this done?
I looked at the viewable CSS file, and I can't find it.
Thanks for any pointers or suggestions of where to look for this!
Thanks,
Liam 3 3410 me********@gmai l.com wrote:
So I'm Web browsing and I go to rottentomatoes. com, and I see
something interesting:
If you go to any movie page, you'll see on the top left, above and
below the film poster image, the names of a couple of the actors and
the director. Those names are orangeish, but with a black drop shadow!
And it's just text, not images.
I could really use that technique on my Web site where I have some
text over an image that needs to "pop" and be in more contrast from
the image.
How's this done?
I looked at the viewable CSS file, and I can't find it.
span with duplicate text preceding the link with style
..sidebar_movie _txt_shadow {
margin:2px 0 0 1px;
color:#0f160b;
font-weight:bold;
position:absolu te;
z-index:-1;
}
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
<me********@gma il.comwrote:
So I'm Web browsing and I go to rottentomatoes. com, and I see
something interesting:
If you go to any movie page, you'll see on the top left, above and
below the film poster image, the names of a couple of the actors and
the director. Those names are orangeish, but with a black drop shadow!
And it's just text, not images.
I could really use that technique on my Web site where I have some
text over an image that needs to "pop" and be in more contrast from
the image.
How's this done?
I looked at the viewable CSS file, and I can't find it.
You should instead have had a look at the html source. Each text with
shadow is written twice, the first copy enclosed in a span which is then
positioned absolutely and put behind the following copy (which is the
link) by giving it a negative z-index.
So without CSS the source reads
LIONS FOR LAMBS
Robert RedfordRobert Redford
Meryl StreepMeryl Streep
which I consider a really bad solution.
Too bad that "text-shadow" did not make it into the Specs.
Cheers,
Rainer
On Nov 1, 2:12 pm, "Jonathan N. Little" <lws4...@centra lva.netwrote:
mechphi...@gmai l.com wrote:
So I'm Web browsing and I go to rottentomatoes. com, and I see
something interesting:
If you go to any movie page, you'll see on the top left, above and
below the film poster image, the names of a couple of the actors and
the director. Those names are orangeish, but with a black drop shadow!
And it's just text, not images.
I could really use that technique on my Web site where I have some
text over an image that needs to "pop" and be in more contrast from
the image.
How's this done?
I looked at the viewable CSS file, and I can't find it.
span with duplicate text preceding the link with style
.sidebar_movie_ txt_shadow {
margin:2px 0 0 1px;
color:#0f160b;
font-weight:bold;
position:absolu te;
z-index:-1;
}
--
Take care,
Oh, well, there you go. That's what I needed!
Got it working on my site and it looks good now. =) Thanks!
-Liam This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paulo Jan |
last post by:
Hi all:
I've got the following example page:
http://www.arrakis.es/~paulj/test.html, where I try to simulate a drop
shadow effect in the upper and lower <DIV>s. It works perfectly in
Mozilla, but in IE 6, the image that forms the lower "drop shadow"
doesn't stick to the bottom <DIV>; instead, there's some space between
it and the <DIV>.
Can anybody shed some light on why this happens? I'm new to
stylesheets, so maybe it's some...
|
by: surajitkhan |
last post by:
Hi
Can anyone tell me how to make a drop shadow for a table or td through
css. I dont want to use any image. I want it done through background
color.
Thanks
Surajit
|
by: Vedia |
last post by:
Hi All,
I made a CSS Drop Shadow with help of www.alistapart.com.
http://www.halimsasmaz.com/DropShadow/test.htm
On above link, If I set IMG tag's Alignment attribute to Right it works
wrong.
How can I solve this problem?
|
by: juglesh |
last post by:
Hello, I've searched and d/l'd but cant seem to find a way of creating
a semi-transparent drop shadow for an image.
Let me say, be fore I go on, I *do not* want one of those scripts that
resizes your image a bit to the left and bottom, and then grafts a
shadow onto it. I want to use a full shadow (it would be about as big
as the image) and shift it a bit with CSS. So, I will have the image
sitting in a DIV which will have the shadow as...
|
by: eholz1 |
last post by:
Hello CSS group,
I saw a beautiful effect that I would like to use either by CSS or
using photoshop to create the image/effect (maybe even imagemagick)
the site address is: http://victor.hasselblad.com/.
the lead image here is a white photograph (jpeg) on a white
background, with a shadow like effect around the entire
image. In this case the shadow effect is part of the jpeg, and not
| |
by: adastic |
last post by:
Any idea how this guy does his AJAX drop shadows (see the post title "New Year New Site" in blue with the light gray in larger font offset from it):
http://www.dhtmlnirvana.com/blog/archives/New-Year-New-Site.html
...and could this technique be used to create a more conventional same-font/slightly offset text drop shadow?
I see from this post that sometimes text drop shadows are done in a way that leaves the text showing up double in...
|
by: Jon Boyes |
last post by:
I like the drop shadow effect on this site that gives the impression of
a piece of paper:
http://www.dacvs.org.uk/
I have looked at the style sheet and the html but cannot figure it out.
Could someone please explain, with reference to the relevant bit in the
style sheet.
Thanks.
|
by: Peter Morris |
last post by:
I have a 200x200 PNG file which has an Alpha layer.
What I would now like is a 200x200 image that is completely black, but with
the same alpha mask. This is so that I can use it as a drop shadow behind
the PNG when drawing to a target image.
I cannot see how I can draw to a Graphics without destroying the Alpha. Any
hints?
|
by: Peter Morris |
last post by:
A while ago I asked how to replace an image with a solid black colour whilst
preserving the alpha mask/channel, this was so that I could automatically
create a drop shadow. For future reference of anyone seeking the answer
here it is:
private static void MakeShadow(Bitmap dest)
{
BitmapData bits = dest.LockBits(new Rectangle(0, 0, dest.Width,
dest.Height), System.Drawing.Imaging.ImageLockMode.ReadWrite,...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |