• Resolved temp

    (@temp)


    Guys, I had this Warnings on W3C:

    * Line : 60 (Level : 2) Redefinition of margin-bottom : #header
    * Line : 60 (Level : 2) Redefinition of margin-right : #header
    * Line : 60 (Level : 2) Redefinition of margin-top : #header
    * Line : 60 (Level : 2) Redefinition of margin-left : #header

    And I noticied that the header is not centralized with the rest. (If you want to check out – blog.goukisp.com)

    Any help on how to fix this was appreciated!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter temp

    (@temp)

    Please!! I really need it to work.

    Thread Starter temp

    (@temp)

    Cmon!! Im sure the experts can tell me how to fix this problem in 1 minute.

    I dont want to be a pain in the @ss, but I sord of, have a dead line.

    Thanks all.

    PS: Sorry for my bad English.

    Thread Starter temp

    (@temp)

    BUMP!

    All I see is
    Target: https://blog.goukisp.com/
    Please, validate your XML document first!

    Line 386

    Column 5

    The element type “li” must be terminated by the matching end-tag “”.

    Thread Starter temp

    (@temp)

    but, going by the warnings I gave, is it possible to know what to do to fix the header alignment? it is 1 pixel to the right!

    thanks

    Moderator James Huff

    (@macmanx)

    The warnings that you have quoted state that you have more than one “margin-bottom”, “margin-right”, “margin-top”, and “margin-left” value stated for the “#header” entry, which is not a good thing, and fixing those may fix your header problem.

    And, no matter how urgent your situation is, please don’t bump your thread. Once you added the first bump to this thread, it took you off of the “no-replies” list, which is what most of the forum regulars monitor. So, contrary to popular belief, thread bumping actually works against you, and may have been the reason for why you had to wait 26 hours for a reply.

    Thread Starter temp

    (@temp)

    Ok. I didnt knew about that, and for that Im sorry.

    Didnt want to be a pain in the ass. Sorry.

    About the problem, cause you gave me any futher instructions on how to fix it?

    Its weird cause, its such a small problem (1 pixel) and yet, I have look everything and tried allot of things and still wasnt able to solve it.

    Thanks. Any help would be apreciated.

    you could give some more info.. like what your “#header” entry says from your css styles… whether there is css in the actual post.php in that theme.. or any other css entries have “margin-bottom”, “margin-right”, “margin-top”, and “margin-left” values.

    I havent quite perfected my telepathy skill.. and I am not one to hack someones webserver to see what the css page says ??

    Thread Starter temp

    (@temp)

    I only replaced the images with the new ones.

    No theme has been applyed.

    Header.php:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;

    <head profile=”https://gmpg.org/xfn/11″&gt;
    <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’); ?>” /> <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <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’); ?>” />

    <style type=”text/css” media=”screen”>

    /* BEGIN IMAGE CSS */
    /* To accomodate differing install paths of WordPress, images are referred only here,
    and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
    not, then go right ahead and delete the following lines, and the image files. */

    body { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgcolor.jpg”); } <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg.jpg”) repeat-y top; border: none; } <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; } <?php } ?>
    #header { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickheader.jpg”) no-repeat bottom center; }
    #footer { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickfooter.jpg”) no-repeat bottom; border: none;}

    /* Because the template is slightly different, size-wise, with images, this needs to be set here
    If you don’t want to use the template’s images, you can also delete the following two lines. */

    #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
    #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
    /* END IMAGE CSS */

    /* To ease the insertion of a personal header image, I have done it in such a way,
    that you simply drop in an image called ‘personalheader.jpg’ into your /images/
    directory. Dimensions should be at least 760px x 200px. Anything above that will
    get cropped off of the image. */

    /*
    #headerimg { background: url(‘<?php bloginfo(‘stylesheet_directory’); ?>/images/personalheader.jpg’) no-repeat top;}
    */

    </style>

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

    <?php wp_head(); ?>
    </head>
    <body>

    <div id=”page”>

    <div id=”header”>

    <img src=”https://blog.goukisp.com/wp-content/themes/default/images/kubrickheader.jpg&#8221; alt=”Your Image” />

    </div>
    <hr />

    On CSS:

    #header {
    padding: 0;
    margin: 0 auto;
    height: 200px;
    width: 100%;
    background-color: #73a0c5;
    }

    #headerimg {
    margin: 0;
    height: 200px;
    width: 100%;
    }

    Thanks!!

    Would

    /* Because the template is slightly different, size-wise, with images, this needs to be set here
    If you don’t want to use the template’s images, you can also delete the following two lines. */

    #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
    #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }

    that need to be deleteed cos it might be consflicting with

    On CSS:

    #header {
    padding: 0;
    margin: 0 auto;
    height: 200px;
    width: 100%;
    background-color: #73a0c5;
    }

    #headerimg {
    margin: 0;
    height: 200px;
    width: 100%;
    }

    Thread Starter temp

    (@temp)

    OMG! And now im in love!!!

    estjohn!! just deleting the 2 lines you told me fixed the problem righ away!!

    THREAD CHANGED TO SOLVED!!

    LOL. Glad I could help ?? Congrats on getting it to work. Keep up the good job.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Header Warnings!’ is closed to new replies.