Title: CSS Help, please :)
Last modified: August 19, 2016

---

# CSS Help, please :)

 *  [xrockchild](https://wordpress.org/support/users/xrockchild/)
 * (@xrockchild)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/css-help-please-1/)
 * So I am working with some CSS and there is an image that needs to span the down
   or up depending on the word press entries or whatever content is put in that 
   place. The blue outline box isn’t fitting the WP entries and I can’t quite figure
   out how to do it so it fits the two entries than expands furthur down when you
   view or want to add a comment so all the content is within the blue box.
 * What I am working on:
 * [http://oct31st.org/wp/](http://oct31st.org/wp/)
 * Here is the CSS & header file, I can’t quite figure it out!
 * [http://oct31st.org/wp/wp-content/themes/oct31/style.css](http://oct31st.org/wp/wp-content/themes/oct31/style.css)
 * The rest of the code is in the view source on the page above (oct31st.org/wp)
   as the header file.
 * Any help would be much appreciated I am stuck 🙁
 * Thanks,
    Adam

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

 *  [devlshone](https://wordpress.org/support/users/devlshone/)
 * (@devlshone)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/css-help-please-1/#post-862285)
 * Looks like you’ve got some mispaced DIVs. Your _content_ DIV should be nested
   within the _centercontent_ DIV.
    Hope this helps!
 *  Thread Starter [xrockchild](https://wordpress.org/support/users/xrockchild/)
 * (@xrockchild)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/css-help-please-1/#post-862291)
 * Thank you for replying!
 * Sheesh I tried moving it within the centercontent div and it dropped it down.
   My code must be way off! I am having a hard time learning this css2! 🙁
 * Thanks
    Adam
 *  [jberghem](https://wordpress.org/support/users/jberghem/)
 * (@jberghem)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/css-help-please-1/#post-862293)
 * Hey Adam, the site looks really cool. I can’t wait to see it when it’s finished.
   But you really need to fix some major XHTML errors before trying to fix your 
   layout & style problems. Validate your XHTML at [http://validator.w3.org/](http://validator.w3.org/)
   Once you’ve fixed the XHTML the CSS will be a piece of cake.
 * There are only a few syntax errors in your CSS:
    Change
 *     ```
       #centercontent {
       background:url(/images/bg.jpg); repeat-y;
       width: 698px;
       margin:0 auto;
        	}
       ```
   
 * into:
 *     ```
       #centercontent {
       background:url(/images/bg.jpg);
       background-repeat: repeat-y;
       width: 698px;
       margin:0 auto;
        	}
       ```
   
 * And
 *     ```
       a:link, a:visited, a:active
       {color: #574182; text-decoration: underline; background: # none;}
       a:hover
       {color: #60aac1; text-decoration: underline; background: # none;}
       ```
   
 * into:
 *     ```
       a:link, a:visited, a:active
       {color: #574182; text-decoration: underline; background: none;}
       a:hover
       {color: #60aac1; text-decoration: underline; background: none;}
       ```
   
 *  Thread Starter [xrockchild](https://wordpress.org/support/users/xrockchild/)
 * (@xrockchild)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/css-help-please-1/#post-862296)
 * Thanks I appreciate it 🙂

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

The topic ‘CSS Help, please :)’ is closed to new replies.

 * 4 replies
 * 3 participants
 * Last reply from: [xrockchild](https://wordpress.org/support/users/xrockchild/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/css-help-please-1/#post-862296)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
