Title: Webpage Shifting Problem
Last modified: August 21, 2016

---

# Webpage Shifting Problem

 *  [Steven](https://wordpress.org/support/users/lamsteven94/)
 * (@lamsteven94)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/)
 * hey guys,
 * My website is [http://www.slamlink.net](http://www.slamlink.net) and I was wondering
   why my webpages keep shifting. For example, if you look in my java lab: [http://slamlink.net/java/lab-5-card-game/](http://slamlink.net/java/lab-5-card-game/);
   the headers on the right side of the page that displays the codes have a big 
   gap between each <div>. I dont know what caused this problem because I didn’t
   touch my website today and it was perfectly fine last night. It also occured 
   before. Any help would be appreciated. Thanks!
 * -Steven

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855723)
 * you are somehow using the `#container` css id twice;
 * the second time is in the html and css structure of the _content _of that page;
   
   this could possibly be the cause for the problem…
 *  Thread Starter [Steven](https://wordpress.org/support/users/lamsteven94/)
 * (@lamsteven94)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855750)
 * Ah, I have this code in my edit css:
 * #sidebar.column.threecol {
    width: 185px; }
 * .column.twocol {
    width: 100%; }
 * #content.column.twothirdcol {
    width: 900px; }
 * And they’re marked with I’s on the left side of the line numbers.
 * I changed the names of the ids on the content page but that didnt do the trick
   =/
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855752)
 * the html and CSS in the _**content **_of your page is the problem;
 * for some reason you are using CSS ids which are also used in your theme, and 
   this creates an interference, and also creates invalid code;
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fslamlink.net%2Fjava%2Flab-5-card-game%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fslamlink.net%2Fjava%2Flab-5-card-game%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * [http://codex.wordpress.org/Validating_a_Website](http://codex.wordpress.org/Validating_a_Website)
 *  Thread Starter [Steven](https://wordpress.org/support/users/lamsteven94/)
 * (@lamsteven94)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855764)
 * wow thanks! that’s a big help! Let me fix all of them and see if there are any
   problems still.
 *  Thread Starter [Steven](https://wordpress.org/support/users/lamsteven94/)
 * (@lamsteven94)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855765)
 * is </br> an invalid end tag bar? CI use it to make a larger page break in my 
   paragraphs. Is there a better way to do this to fix this “error”?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855766)
 * the linebreak tag is a self-closing tag:
 * `<br />`
 * [http://www.w3schools.com/tags/tag_br.asp](http://www.w3schools.com/tags/tag_br.asp)
 *  Thread Starter [Steven](https://wordpress.org/support/users/lamsteven94/)
 * (@lamsteven94)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855769)
 * okay, I’ve been using </br> instead of 
    or  because it gives me a larger page
   break in my paragraphs. I fixed all the ID errors except “code_title”; is it 
   a big problem in html to share the same ID among multiple headers?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855798)
 * > is it a big problem in html to share the same ID among multiple headers?
 * this should generally not cause a problem for the formatting, unless the elements
   with the duplicate css ids lead to unintended layout problems.
 *  Thread Starter [Steven](https://wordpress.org/support/users/lamsteven94/)
 * (@lamsteven94)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855799)
 * perfect, thanks a bunch alchymyth! I hope it stays like this now~
 * -Steven

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

The topic ‘Webpage Shifting Problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [Steven](https://wordpress.org/support/users/lamsteven94/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-shifting-problem/#post-3855799)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
