• I’m using standard tables to get the images to show up as a background to the site. However, when I go to use the theme, NONE of the css works. All the graphics are gone, and it looks like I may as well be using 1.0 browsers to view it as all formatting is gone.

    Not quite sure what happened here, but any assistance would be fine.

    https://shepriffic.com/narf

Viewing 11 replies - 1 through 11 (of 11 total)
  • I’m not sure if I know enough to help but, did you assign a table class in css to format/stylize the tables? The problem may lie there.

    You’re missing your DOCTYPE, amongst other things.

    Check your index.php to see if you’ve declared <?php get_header(); ?>

    Thread Starter theshep

    (@theshep)

    I thought I could reference the stylesheet directly from index.php. I have header tags inside there. I’m guessing that all header tags should be in the header.php. I’m also going to find out what significance doctype does.

    The header is there – he’s just calling in his images and stylesheet wrong.

    Your stylesheet link needs to look like this:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    and all images need to look like this:

    <img src="<?php echo get_bloginfo('template_directory'); ?>/images/IMAGE_NAME_HERE" />

    Jeez. Well, if you don’t HAVE a doctype, every browser in the world goes into quirks mode, chokes, and dies.

    And I’m not even going to address tables for layout as opposed to tables for tabular data.

    Thread Starter theshep

    (@theshep)

    I thank you all for your assistance, it is much appreciated ??

    Thread Starter theshep

    (@theshep)

    Oh and especially a thanks for the tip on PHPing the image links, my page doesnt break ?? Now for getting all the text in proper colors, etc.

    The header is there – he’s just calling in his images and stylesheet wrong.

    When I looked under source view on his home page, there was NO DOCTYPE declared. His first HTML was:

    <html>
    <head>
    With no reference whatsever to any links or stylesheets. So I suppose he must have put the header elements in ??

    Looking again, now, there is no declaration for <body> nor is there closing elements for [/html] & [/head]

    I’m seeing the same as KatGirl.. ??

    10 validation errors.

    spencerp

    When I looked under source view on his home page, there was NO DOCTYPE declared. His first HTML was:

    Oh, I agree – there wasn’t a doctype declaration or anything like that, I know. But he *did* have headers there. I didn’t say they were the right ones, though. ??

    >>With no reference whatsever to any links or stylesheets.<<

    He must have put something in between your visit and mine, because I *did* see stylesheet links and scripts and stuff like that. But again, not the right ones. ??

    But yeah, this stuff is the least of his problems – 10 validation errors? That’s all? Really? I was expecting TONS more than that!

    But yeah, this stuff is the least of his problems – 10 validation errors? That’s all? Really? I was expecting TONS more than that!

    Hahaha.. So was I, apparently..that’s ALL though, lol! =P

    spencerp

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘My new theme is broken.’ is closed to new replies.