/    Sign up×
Community /Pin to ProfileBookmark

Alpha filters

Hello, I am having a problem with my alpha filters. I know they’re IE proprietary, but I also have Moz Opacity, so I’m hoping that should be good enough. Anyway, here’s the CSS:

[code]h1 {
color: #fff;
font-family: arial;
margin: 0;
padding: 0;
}
h1.btitle {
background: url(“images/circles.png”) top left no-repeat;
min-height: 31px;
margin: 0;
padding: 0 0 0 45px;
}
p {
font-family: times;
color: #fff;
padding: 0;
margin: 10px 0;
}
body {
background: #1f4f6f;
margin: 0;
padding: 0;
}
img {
display: block;
}
a {
color: #c00;
text-decoration: none;
}
a:hover {
color: #f00;
text-decoration: none;
}
div#page {
background: #069 url(“images/bk.png”) top right no-repeat;
border: 1px solid #000;
border-top: 0;
width: 700px;
padding: 0;
margin: 0 auto;
}
div#title {
height: 150px;
width: 700px;
margin: 0;
padding: 0;
}
div#nav {
border: 1px solid #000;
border-right: 0;
border-left: 0;
height: 1.5em;
width: 700px;
font-family: arial, times, sans;
}
div#nav ul {
background: #000;[color=red]
-moz-opacity: 0.35;
filter: alpha(opacity=35);[/color]
height: 1.5em;
margin: 0;
padding: 0;
}
div#nav ul li {
display: block;
float: left;
list-style-type: none;
text-align: center;
width: 100px;
height: 1.5em;
line-height: 1.5em;
color: #ff0;
margin: 0;
padding: 0;
}
div#nav ul li a {
display: block;
color: #69c;
font-weight: bold;
text-decoration: none;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
div#nav ul li a:hover {
color: #fff;
}
div#content {
width: 680px !important;
width: 700px;
background: #069;[color=red]
-moz-opacity: 0.75;
filter: alpha(opacity=50);[/color]
color: #fff;
padding: 10px;
margin: 0;
}
div#footer {
width: 700px;
height: 5px;
padding: 0;
margin: 0;
clear: both;
background-color: #036;
}[/code]

And the HTML:

[code]<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”content-style-type” content=”text/css” />
<meta http-equiv=”content-type” content=”application/xhtml+xml; charset=iso-8859-1″ />
<meta http-equiv=”content-script-type” content=”text/javascript” />
<meta http-equiv=”imagetoolbar” content=”no” />

<meta name=”robots” content=”all” />
<meta name=”copyright” content=”Copyright 2004 Daniel Tomasiewicz” />
<meta name=”author” content=”Daniel Tomasiewicz” />

<meta name=”description” content=”Daniel Tomasiewicz’s personal Website and blog. Come check out my personal website and see what’s new in my world.” />
<meta name=”keywords” content=”xhtml, css, design, web, layout, standards, biography, Daniel, Tomasiewicz, blog” />

<meta name=”rating” content=”general” />
<meta name=”revisit-after” content=”5 days” />
<meta name=”doc-class” content=”living document” />
<link rel=”stylesheet” type=”text/css” media=”screen” href=”styles.css” />
<title>Untitled Document</title>
</head>

<body>

<div id=”page”>
<div id=”title”></div>
<div id=”nav”>
<ul>
<li><a href=”index.php” title=”Home” accesskey=”h”>Home</a></li>
<li><a href=”blog.php” title=”Blog Archives” accesskey=”b”>Blog</a></li>
<li><a href=”about.php” title=”About” accesskey=”a”>About</a></li>
<li><a href=”bio.php” title=”Biography” accesskey=”i”>Biography</a></li>
<li><a href=”profile.php” title=”My Profile” accesskey=”p”>Profile</a></li>
<li><a href=”contact.php” title=”Contact” accesskey=”c”>Contact</a></li>
<li><a href=”links.php” title=”Links” accesskey=”l”>Links</a></li>
</ul>
</div>
<div id=”content”>
<h1 class=”btitle”>Blog header</h1>
<p>Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br />Blog entry<br /></p>
</div>
</div>

</body>
</html>[/code]

The opacity works fine in Gecko browers, but not IE. Can someone tell me what I’ve missed? Thanx,
-Dan

to post a comment
CSS

9 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonMay 09.2004 — Perhaps the opacity is not inherited, try applying it to the li's, h1's and p's as well.
Copy linkTweet thisAlerts:
@Daniel_TauthorMay 09.2004 — Ah, turns out it was workin' before. Stupid mistake on my part. Sasser deleted iexplorer.exe, and I have the [i]View this page in IE[/i] extension on FF. When I click [i]View this page in IE[/i], it opens it in the most recent version of IE on my system. Since it couldn't find IE6, it used IE5, which doesn't support filters. I feel awefully embarassed that I didn't even notice what IE version I was using :rolleyes:

-Dan
Copy linkTweet thisAlerts:
@David_HarrisonMay 09.2004 — I don't pay much attention to IE either. :p

I thought that Sasser just shut your PC down though.
Copy linkTweet thisAlerts:
@Daniel_TauthorMay 09.2004 — [i]Originally posted by lavalamp [/i]

[B]I thought that Sasser just shut your PC down though. [/B][/QUOTE]

No, it has the ability to destroy files too. For me, it first targeted my sound driver, so I had to reinstall it. Then, it killed Windows Media Player, and apparently IE6.

-Dan
Copy linkTweet thisAlerts:
@David_HarrisonMay 09.2004 — Sounds really nasty. :S
Copy linkTweet thisAlerts:
@Paul_JrMay 09.2004 — [i]Originally posted by DanieLTomaS [/i]

[B]I have the [i]View this page in IE[/i] extension on FF.[/B][/QUOTE]

Where would I find that...? And is it FF only, or will it also work with FB?
Copy linkTweet thisAlerts:
@pyroMay 09.2004 — You can find it at http://texturizer.net/firefox/extensions/#ieview, and yes, it works in Firefox as well as Firebird.
Copy linkTweet thisAlerts:
@Paul_JrMay 09.2004 — [i]Originally posted by pyro [/i]

[B]You can find it at http://texturizer.net/firefox/extensions/#ieview, and yes, it works in Firefox as well as Firebird. [/B][/QUOTE]

Merci. ?
Copy linkTweet thisAlerts:
@pyroMay 09.2004 — No problem. ?
×

Success!

Help @Daniel_T spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...