• Hi
    My name is Henry. I downloaded WordPress two days a ago. I have been analysing the theme-files (templates) because I am planning on writing my own theme. I edited a theme for my site. It looks great and functions well in a regular webpage. However, I have written four style sheets, each one of them supporting different browsers and their versions. I worked last night on theme for WP, I followed all the steps needed, and deploided to my blog. When I selected the theme that I build- all the coding was overrided and even deleteed by the server. All i got to see was plain text in the browser.
    Could some one give me an idea why this happened?!
    THX
    hd

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have written four style sheets, each one of them supporting different browsers and their versions
    There is something wrong with that theme if it needs 4 stylesheets…

    Do you mean you “uploaded” the theme to your blog? And where did you “select” the theme? In the Presentation menu of the admin panel?

    I’ve never heard anything like you stated: that the theme was overrided and deleted (!) by the server.

    If it was plain text – your theme wasn’t functional.

    Thread Starter hdiaz

    (@hdiaz)

    First Thank you for your feedback!

    I have the many css because I like to support as many browser as possible (ie_v4,v5,v6; netscape_v4; and all the new broswers) – so any body with computer and a browser no matter the broswer and its version get the same experience.

    I have validated all css and the xhtml prior to put it all together. So there is nothing wrong with that part – However, once uploaded and ready to go. the header.php got overrided
    Let me show you what the header.php looks like before the problem :

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”es” lang=”es”>
    <head>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />

    <script src=”<?php bloginfo(‘template_directory’); ?>/granzette.js” type=”text/javascript”></script>

    <link href=”<?php bloginfo(‘template_directory’); ?>/granzette_print.css” rel=”stylesheet” type=”text/css” media=”print” />

    <style type=”text/css” media=”screen”>
    @import “<?php bloginfo(‘stylesheet_url’); ?>”;
    </style>

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <!–[if IE 5]>
    <link href=”<?php bloginfo(‘template_directory’); ?>/granzette_ie5fixes.css” rel=”stylesheet” type=”text/css”>
    <![endif]–>
    <!–[if IE 6]>
    <link href=”<?php bloginfo(‘template_directory’); ?>/granzette_ie6fixes.css” rel=”stylesheet” type=”text/css”>
    <![endif]–>

    <?php wp_get_archives(‘type=monthly&format=link’); ?>

    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”masthead”>
    <h1>“><?php bloginfo(‘name’); ?> – <?php bloginfo(‘description’); ?></h1>
    </div>
    <div id=”skipnav”>[ skip to navigation ]</div>

    – Now, when I saw the result in the Browser, I went to the Presentation > Theme editor, and this is what it shows:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <head>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    ??????

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS multi-browsers support’ is closed to new replies.