Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Oct 2008
    Location
    Poland
    Posts
    382
    Thanks
    150
    Thanked 2 Times in 2 Posts

    Internet Explorer IE as usual displays something else

    The site is: http://erasmusinpoland.com/WPMU/

    I have tested it with the newest Opera and FF and IE 6.0

    In IE, as you can see the right sidebar is displayed in a bad way.

    The right sidebar exites to the right and the round bullets are not shown.
    How can I resolve this issue?


    Here there is the code of the left sidebar:
    PHP Code:
    <?php 
        
    // this file defines the default sidebar
        // if you are using widgets, you do not need to edit this file

        
    global $mandigo_options;

        
    // heading level for widget title (h1, h2, div, ...)
        
    $tag_widget $mandigo_options['heading_level_widget_title'];
    ?>
        <td id="sidebar1">
            <ul class="sidebars">
    <?php
        
    // if wp doesn't support sidebars, or if we are not using any widget in sidebar 1
        
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar 1')) {

            
    // our search widget, defined in functions.php
            
    widget_mandigo_search();
            
            
    // our calendar widget, defined in functions.php
            
    widget_mandigo_calendar();



            
    // if we are browsing a category archive
            
    if (is_category()) {
                
    $what_youre_doing sprintf(
                    
    __('You are currently browsing the archives for the \'%s\' category.''mandigo'),
                    
    single_cat_title(''false)
                );
            }

            
    // if wp supports tags and this is a tag archive
            
    elseif (function_exists(is_tag) && is_tag()) {
                
    $what_youre_doing sprintf(
                    
    __('You are currently browsing the %s weblog archives for posts tagged \'%s\'.''mandigo'),
                    
    sprintf(
                        
    '<a href="%s/">%s</a>',
                        
    get_bloginfo('home'),
                        
    get_bloginfo('name')
                    ),
                    
    single_tag_title(''false)
                );
            }
            
            
            
    // if this is a daily archive
            
    elseif (is_day()) {
                
    $what_youre_doing sprintf(
                    
    __('You are currently browsing the %s weblog archives for the day %s.''mandigo'),
                    
    sprintf(
                        
    '<a href="%s/">%s</a>',
                        
    get_bloginfo('home'),
                        
    get_bloginfo('name')
                    ),
                    
    get_the_time(__('l, F jS, Y''mandigo'))
                );
            }
            
            
            
    // if this is a monthly archive
            
    elseif (is_month()) {
                
    $what_youre_doing sprintf(
                    
    __('You are currently browsing the %s weblog archives for %s.''mandigo'),
                    
    sprintf(
                        
    '<a href="%s/">%s</a>',
                        
    get_bloginfo('home'),
                        
    get_bloginfo('name')
                    ),
                    
    get_the_time(__('F, Y''mandigo'))
                );
            }
            
            
            
    // if this is a yearly archive
            
    elseif (is_year()) {
                
    $what_youre_doing sprintf(
                    
    __('You are currently browsing the %s weblog archives for the year %s.''mandigo'),
                    
    sprintf(
                        
    '<a href="%s/">%s</a>',
                        
    get_bloginfo('home'),
                        
    get_bloginfo('name')
                    ),
                    
    get_the_time('Y')
                );
            }
            
            
            
    // if this is a search result
            
    elseif (is_search()) {
                
    $what_youre_doing sprintf(
                    
    __('You have searched the %s weblog archives for %s. If you are unable to find anything in these search results, you can try one of these links.''mandigo'),
                    
    sprintf(
                        
    '<a href="%s/">%s</a>',
                        
    get_bloginfo('home'),
                        
    get_bloginfo('name')
                    ),
                    
    '<strong>\''wp_specialchars($s) .'\'</strong>'
                
    );
            }
            
            
            
    // otherwise, not sure when this is triggered
            
    elseif (isset($_GET['paged']) && !empty($_GET['paged'])) {
                
    $what_youre_doing sprintf(
                    
    __('You are currently browsing the %s weblog archives.''mandigo'),
                    
    sprintf(
                        
    '<a href="%s/">%s</a>',
                        
    get_bloginfo('home'),
                        
    get_bloginfo('name')
                    )
                );
            }

            
    // make sure the variable has been set
            
    if ($what_youre_doing) {
    ?>
                <li><?php echo $what_youre_doing?></li>
    <?php
            
    }
            
            
            
    // the list of pages
            
    wp_list_pages(
                array(
                    
    'sort_column' => 'menu_order',
                    
    'title_li'    => sprintf(
                        
    '<%s class="widgettitle">%s</%s>',
                        
    $tag_widget,
                        
    str_replace('&''%26'__('Pages''mandigo')),
                        
    $tag_widget
                    
    ),
                )
            );
    ?>

                <li><<?php echo $tag_widget?> class="widgettitle"><?php _e('Categories''mandigo'); ?></<?php echo $tag_widget?>>
                    <ul>
    <?php
            
    // the list of categories
            
    wp_list_cats(
                array(
                    
    'sort_column'  => 'name',
                    
    'optioncount'  => 1,
                    
    'hide_empty'   => 0,
                    
    'hierarchical' => 1,
                )
            );
    ?>
                    </ul>
                </li>

    <?php
            
    // if wordpress supports tags
            
    if (function_exists('wp_tag_cloud')) {
    ?>
                <li><<?php echo $tag_widget?> class="widgettitle"><?php _e('Tags''mandigo'); ?></<?php echo $tag_widget?>>
                    <?php wp_tag_cloud(); ?>
                </li>
    <?php
            
    }

            
    // if this is the frontpage 
            
    if (is_home() || is_page()) {
                
    // put the blogroll
                
    get_links_list();
            }
            
            
    // our meta widget, defined in functions.php
            
    widget_mandigo_meta();
        }
    ?>
            </ul>
        </td>

    and here is the right sidebar:
    PHP Code:
    <?php 
        
    // this file defines the default second sidebar
        // if you are using widgets, you do not need to edit this file
    ?>
        <td id="sidebar2">
        <ul class="sidebars">
        <?php get_header(); ?>

    <!-- <div id="content" class="widecolumn"> -->
                    
                    
    <h2>Erasmusinpoland.com</h2>
    <p>Everything you need to know about the events in Warsaw, news and help to study, have fun and finding a job. We will keep you up-to-date, you can ask us questions, and we will reply with the best effort to make you like Poland and the life here. </p>


    <br />


    <p><h4>You can:</h4> <ul><?php wp_register(); ?><li> <?php wp_loginout(); ?></li><li> <a href="wp-signup.php">Create a new blog</a></li></ul></p>


    <br /><br />


    <h3><u>The Latest News </u></h3>

    <ul>

    <!-- <strong>Site News</strong> -->
    <h4> Site News </h4>


    <?php 
    query_posts
    ('showposts=7');
    if (
    have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title();?> </a></li>

    <?php endwhile; ?><?php endif; ?>

    </ul>

    <?php
    $blogs 
    get_last_updated();
    if( 
    is_array$blogs ) ) {
        
    ?> <br />
        <ul>
        <h4>Updated Blogs</h4>
        <?php foreach( $blogs as $details ) {
            
    ?><li><a href="http://<?php echo $details'domain' ] . $details'path' ?>"><?php echo get_blog_option$details'blog_id' ], 'blogname' ?></a></li><?php
        
    }
        
    ?>
        </ul>
        <?php
    }
    ?>
    <!-- </div> -->

    <?php
    //    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar 2')) {
    //        widget_mandigo_meta();
    //    }
    ?>
        </ul>
        </td>

    1 css: http://erasmusinpoland.com/WPMU/wp-c.../style.css.php

    2 css: http://erasmusinpoland.com/WPMU/wp-c...eal/scheme.css


    How can I make it as similar as possible in IE?
    Last edited by utnalove; 11-05-2008 at 11:52 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    It's not fine in FF2 either for me. Fix it for FF first and then you may hack it for IE.
    btw, are you adding that table to the layout or Is it comes with the wordpress template?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Oct 2008
    Location
    Poland
    Posts
    382
    Thanks
    150
    Thanked 2 Times in 2 Posts
    I have changed the codes I posted above with irrelevant things for other reasons and I updated them.

    Anyway the code for the sidebar2 I took from a .php of another template. The original code of sidebar2 was:

    PHP Code:
    <?php 
        
    // this file defines the default second sidebar
        // if you are using widgets, you do not need to edit this file
    ?>
        <td id="sidebar2">
        <ul class="sidebars">
    <?php
        
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar 2')) {
            
    widget_mandigo_meta();
        }
    ?>
        </ul>
        </td>
    And also the original code has the same problems when shown in IE or old FF.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Read "Why tables for layout is stupid?", if you've missed it.

    You'd need to fix all errors in your markup, before expecting a proper display. See http://validator.w3.org/check?uri=ht...Inline&group=0
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    Regular Coder
    Join Date
    Oct 2008
    Location
    Poland
    Posts
    382
    Thanks
    150
    Thanked 2 Times in 2 Posts
    The problem with IE SP2 is resolved because I changed the widht of the sidebar 2.

    But in IE first versions it looks like this (see attachment) ... similar happens with FF2.0

    About the validation I have no idea.
    Attached Thumbnails Attached Thumbnails IE as usual displays something else-ienosp.jpg  

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Yes, and the issue might not be with the browser, but with your erroneous markup.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #7
    Regular Coder
    Join Date
    Oct 2008
    Location
    Poland
    Posts
    382
    Thanks
    150
    Thanked 2 Times in 2 Posts
    I did something... I installed the same stuff and theme one more time in the main domain, not on a folder of it.

    I imported the posts, I found the errors of the W3C validation and I resolved them...

    Ok... a bit of work, but finally I found where was the error. The errors was on the POSTS only.

    In this new theme there is nothing changed. The sidebar is the original one, with the original widget.

    Please tell me what codes I should provide you, and I will straight away.
    Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •