WordPress.org

Ready to get started?Download WordPress

Forums

Styling "Read More" not working on IE7 (6 posts)

  1. LockeAG4
    Member
    Posted 6 years ago #

    Hi everyone, I'm having the problem that the SUPER IE7 as always making things as it wants.

    I tried styling "read more" and all is perfect in FF and Safari. But IE is staying with the general

    a{}
    a:hover{}
    a:visited{}

    instead of

    #more-link {
    	float:left;
    	width: 220px;
    	text-align: left;
    	padding: 0px;
    	margin: 0px 10px 0px 10px;
    	display: inline;
    	}
    
    #more-link a:link {
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:11px;
    	font-weight:bold;
    	color:#FFFFCC;
    	text-decoration:none;
    	}
    
    #more-link a:visited {
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:11px;
    	font-weight:bold;
    	color:#FFFFCC;
    	text-decoration:none;
    	}
    
    #more-link a:hover {
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:11px;
    	font-weight:bold;
    	color:#FFFFFF;
    	text-decoration: underline;
    	}

    of course I change from post-template.php

    <span id="more-'.$id.'"></span>

    to

    <div id="more-'.$id.'"></div>

    because my the_content is

    <?php the_content(__('
    			<div class="clear"></div>
    			<div class="separator">
    			<div id="more-link">Continue Reading</div>
    			<div class="postmetaright"><a href="#top" title="top"><img src="top.gif" alt="top" border="0"  /></a></div>
    			<div class="clear"></div>
                </div>'));?>

    Maybe I have some error in the css or I mess the_content totally I don't know but I will like to discard everything, 'cos today I reach the point of despairing to lunacy . :)

    Hope somebody gimme a hand.

    thanks

    ciao

  2. Roy
    Member
    Posted 6 years ago #

    Wow what a post! Isn't it as simple as either your browswer cache or a cache plugin? I always have to clear WP-super-cache before I see changes.

  3. LockeAG4
    Member
    Posted 6 years ago #

    thanks for you replay but, you know, i haven't add any plugin.. :(

    thanks

  4. LockeAG4
    Member
    Posted 6 years ago #

    somebody?

  5. LockeAG4
    Member
    Posted 6 years ago #

    Well I try also

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Strict.dtd">

    and nothing, I guess is something wrong in the "the_content", what do you think???

    ciao

  6. LockeAG4
    Member
    Posted 6 years ago #

    O yes everybody hates IE, isn't?

    I resolve my stupid problem reading well the docs!! So yes I'm Lazy and as you can read My mother language is not English so That makes my more Lazy.

    Let's see, I started doing this.

    instead of Styling the Read More I just styled a "the_permalink" link

    First I removed the read more :

    <?php the_content('', TRUE); ?>

    then, after this I only add this

    <div id="morelink"><a href="<?php the_permalink(); ?> rel="bookmark"">Continue Reading</a></div>

    Of course I added a cool style to this. well thats what I think :)

    Maybe this was not the best solution but it works for me.

    See'a everybody (or the few that read this.)

Topic Closed

This topic has been closed to new replies.

About this Topic