WordPress.org

Support

Support » Themes and Templates » CSS Border Issues

CSS Border Issues

  • I have created a layout in XHTML Strict and CSS that I am very happy with. I could run the site without wordpress but I am extremely happy with how it has transformed my blog and made updating easy.

    I am aware of how to build themes for wordpress for the most part but I am having an issue with the border for my DIV container that houses my blog posts. Instead of all posts using the CSS in one instance, each individual post displays the border, etc. I can’t figure out what to do!

    The original layout: http://www.nocturnalsojourn.org/fire/div-index.htm
    The layout in WordPress: http://nocturnalsojourn.org/ultimatemcr/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi.

    First things first… you should validate your content:
    XHTML: 34 Errors
    CSS: 9 Errors

    I have reworked the xhmtl for your site and pasted it here: http://wordpress.pastebin.ca/962837

    The code is valid and looks how you want it to in Firefox.

    BTW: have you checked your template in IE yet?

    Hope this helps,
    -Mike

    Thank you very much for the help. I did have it validated at first then made a bunch of changes without redoing it.

    I did test it in IE at first and it looked good, same with Safari.

    Thank you very much for your help. I’m just wondering what you did exactly? I hope when I take out the posts and put the actual wordpress code in there that I’m going to put it in the right place…

    I basically just validated your code. I could tell right away, by using the “Highlight Current Element” feature of the Web Developer’s Tool bar that you had either forgotten to close a div or had nested like classes. This proved true and I manually edited the code to sort it all out. You had about 6 <br /> tags listed as <br /> and a few other things that could not be validated. Can’t remember what everything was. But the code I posted is tabbed pretty well and you *should* be able to work the template tags in there pretty easily. Let me know if you have issues.

    -Mike

    I figured out that the template I was getting the include tags from to help me was very messed up (although I still don’t know why…)

    I used different coding and so far its looking a lot better. 🙂 Thank you for helping me out. I appreciate it!

    🙂

    Parse error: syntax error, unexpected $end in /home/nocturna/public_html/ultimatemcr/wp-content/themes/ordinaryheroes/index.php on line 176

    Looks like you forgot to close a conditional in your php somewhere. Please post your code in the pastebin. I will look at it later tonight and see what I can do.

    I JUST edited the post above because I figured out what was doing it! You caught my site just as I was sorting things out. hehe

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CSS Border Issues’ is closed to new replies.
Skip to toolbar