Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How do I call something from the CSS stylesheet in Internet Explorer?

I've defined this block in my stylesheet:

#featured z3, z3 a, z3 a:visited {

margin: 0px 0px 10px 0px;

padding: 0px;

font-family: Geneva, Arial;

font-size: 31px;

line-height: 35px;

font-weight: normal;

color: #cc0000;

letter-spacing: -1px;

text-decoration: none;

}

When I put <z3> Big Red Headline </z3> it works perfectly in Chrome and Firefox, but it doesn't work in Internet Explorer. How do I fix this?

The HTML where I try to implement this is:

<?php get_header(); ?>

<div id="content" class="container">

<div id="front" class="column_main">

<div id="featured"> <!-- The 1st post, with the black background by default -->

<?php query_posts('showposts=1'); ?>

<?php while (have_posts()) : the_post(); ?>

<h2><?php the_category(', '); ?><i> - <?php the_time('l, F j, Y G:i'); ?> </i></h2>

<z3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></z3><br>

4 Answers

Relevance
Still have questions? Get your answers by asking now.