Wordpress IE issue
Posted on
16th Feb 2014 07:03 pm by
admin
So I am trying to add the background shadow to my wordpress page. It works fine in Firefox but does not in IE.
So here is the original code:
<?php get_header(); ?>
<?php sy_pre_content(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<!--<h2><?php the_title(); ?></h2> -->
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
<!-- Both comments and pings are currently closed. -->
<?php } edit_post_link('Edit this entry','','.'); ?>
<?php comments_template(); ?>
</div><!-- content -->
<?php sy_post_content(); ?>
<?php get_footer(); ?>
my new background is a <div id="shadow"> I put it on the very first and last line of the code.
Any idea why IE does not display the shadow? Actually this div is breaking the page in IE.
Thanks in advance
No comments posted yet
Your Answer:
Login to answer
278
8
Other forums
help with image text
Hi ...
see i need the text of the name and number to start in the center and always be in the
Libraries in C++
Hi all,
I have two libraries. one is based targeted on linux platform and uses another li
Email Form Syntax Issue
I need the TO: in email to display To: CEO instead of To: abc@mail.com
How to alter the scri
Remove directories not empty
hi,
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<
Last character removed
I have created a string from an array. I have inserted commas from my form values. I am trying to re
need help in creating captcha
hi i have a problem creating captcha system. i create some basic script for image displaying but it
please help me... my password gets encrypted but not able to get in database
hai guys,
please help me... in the following function my password gets encrypted but no
TimeZoneOffset
Hello,
Please i need your help. I have a system that users can use to punch in and out. This
Values disappear from my array :( HELP!
hey all, I have a lil mysql/php/apache script that queries a database
and pulls put 5 integers.
Google Wave
So... has anyone used it yet? Is it any good?
http://wave.google.com/help/wave/about.html#vid