Title: CSS Border Issues
Last modified: August 19, 2016

---

# CSS Border Issues

 *  [nocturnalsojourn](https://wordpress.org/support/users/nocturnalsojourn/)
 * (@nocturnalsojourn)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/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](http://www.nocturnalsojourn.org/fire/div-index.htm)
   
   The layout in WordPress: [http://nocturnalsojourn.org/ultimatemcr/](http://nocturnalsojourn.org/ultimatemcr/)

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

 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720729)
 * Hi.
 * First things first… you should validate your content:
    XHTML: [34 Errors](http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fnocturnalsojourn.org%2Fultimatemcr%2F)
   CSS: [9 Errors](http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fnocturnalsojourn.org%2Fultimatemcr%2F)
 * I have reworked the xhmtl for your site and pasted it here: [http://wordpress.pastebin.ca/962837](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
 *  Thread Starter [nocturnalsojourn](https://wordpress.org/support/users/nocturnalsojourn/)
 * (@nocturnalsojourn)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720736)
 * 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…
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720738)
 * 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](https://addons.mozilla.org/en-US/firefox/addon/60)
   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
 *  Thread Starter [nocturnalsojourn](https://wordpress.org/support/users/nocturnalsojourn/)
 * (@nocturnalsojourn)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720884)
 * 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!
 *  Thread Starter [nocturnalsojourn](https://wordpress.org/support/users/nocturnalsojourn/)
 * (@nocturnalsojourn)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720885)
 * 🙂
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720886)
 * > 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.
 *  Thread Starter [nocturnalsojourn](https://wordpress.org/support/users/nocturnalsojourn/)
 * (@nocturnalsojourn)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720887)
 * 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.

## Tags

 * [Borders](https://wordpress.org/support/topic-tag/borders/)
 * [container](https://wordpress.org/support/topic-tag/container/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [div](https://wordpress.org/support/topic-tag/div/)
 * [xhtml](https://wordpress.org/support/topic-tag/xhtml/)

 * 7 replies
 * 2 participants
 * Last reply from: [nocturnalsojourn](https://wordpress.org/support/users/nocturnalsojourn/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/css-border-issues/#post-720887)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
