1 (edited by zc923 2005-11-26 03:45)

Topic: Wordpress DIV tag issue

http://profile.zc923.homeip.net
In Firefox, the links in the post work. In IE, it treats the the links as regular text.
After a bit of tweaking, I found it to be a div tag in the index file of the template.

<div class="entry">

Even If I put a </div> directly following this, the links still do not work. Its not even a css issue. The only way I can get it to work is to remove the code itself.

I swear, when I modified the template, it worked. The only reason I found out of the problem was when a frequent visitor told me the links in the post no longer worked. The code had remained unchanged since then.

Any one have suggestions?

I hate this.

2 seconds after posting, I tried something and it worked.

<?php 
get_header();
?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry">

With the code line in the header was

<div id="main">

I removed the main div from the header, and placed it like this:

<?php 
get_header();
?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="main">
    <div class="entry">

It works now, But pushes the sidepbar all the way to the bottom of the page in both browsers.

Isolation of the problem even further,

<?php 
get_header();
?>
<div id="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="entry">

This places the side bar correctly, but links don't work in ie.


EDIT: Ignore everything. Apperantly, IE does not like negative margins. The div tags had nothing to do with the problem. Still, why would IE suddenly stop accepting something it accepted earlier?

Do, or do not.