![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Okay, I'm swallowing my pride and asking for help. ;-) We have a Movable Type blog that works dynamically and uses templates. The version that we are using (3.34) did not have a pagination system so I Googled and found how to add the code manually. It works as far as the pagination goes but it seems to have created a new problem. The section with the links that should be at the top of the right side of the page is fine in most of the blogs but on one, it is showing at the bottom of the page. I haven't a clue why as everything is on the same templates. It should 100% work or 100% be broken. Prior to adding the pagination code, all blogs worked properly. I have tried expanding the container and the beta (right side) div and shrinking the alpha (left side) div but no good. I played around with several other settings with no change. I'm just about out of original ideas on what to change. Anyone have any guidance for me? The blog that's acting up is at http://land.allears.net/blogs/michaelbachand/ It is an index page, not an individual entry. All the other blogs use the same templates and they display perfectly. Links to several of the good ones so you can see what it *should* look like: http://land.allears.net/blogs/photoblog/ http://land.allears.net/blogs/allearsteam/ http://land.allears.net/blogs/mikescopa/ |
#3
| |||
| |||
|
|
On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: Okay, I'm swallowing my pride and asking for help. ;-) We have a Movable Type blog that works dynamically and uses templates. The version that we are using (3.34) did not have a pagination system so I Googled and found how to add the code manually. It works as far as the pagination goes but it seems to have created a new problem. The section with the links that should be at the top of the right side of the page is fine in most of the blogs but on one, it is showing at the bottom of the page. I haven't a clue why as everything is on the same templates. It should 100% work or 100% be broken. Prior to adding the pagination code, all blogs worked properly. I have tried expanding the container and the beta (right side) div and shrinking the alpha (left side) div but no good. I played around with several other settings with no change. I'm just about out of original ideas on what to change. Anyone have any guidance for me? The blog that's acting up is at http://land.allears.net/blogs/michaelbachand/ It is an index page, not an individual entry. All the other blogs use the same templates and they display perfectly. Links to several of the good ones so you can see what it *should* look like: http://land.allears.net/blogs/photoblog/ http://land.allears.net/blogs/allearsteam/ http://land.allears.net/blogs/mikescopa/ The problem is with the HTML not the CSS. It looks like there's an extra </div> somewhere in all the stuff inside #alpha that is closing off pagebody-inner prematurely, so beta is ending up outside pagebody-inner altogether, and that's why its box goes below it. Alpha and beta are supposed to be siblings inside pagebody-inner, but they aren't in the bad page. |
#4
| |||
| |||
|
|
Ben C wrote: On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: Okay, I'm swallowing my pride and asking for help. ;-) We have a Movable Type blog that works dynamically and uses templates. The version that we are using (3.34) did not have a pagination system so I Googled and found how to add the code manually. It works as far as the pagination goes but it seems to have created a new problem. The section with the links that should be at the top of the right side of the page is fine in most of the blogs but on one, it is showing at the bottom of the page. I haven't a clue why as everything is on the same templates. It should 100% work or 100% be broken. Prior to adding the pagination code, all blogs worked properly. It looks like there's an extra </div> somewhere in all the stuff inside #alpha that is closing off pagebody-inner prematurely, so beta is ending up outside pagebody-inner altogether, and that's why its box goes below it. Alpha and beta are supposed to be siblings inside pagebody-inner, but they aren't in the bad page. I thought of a </div> mismatch and checked out each open and close. They are all where they are supposed to be. I used Firebug to highlight the divs and all the alpha and beta divs are showing the way they should be. Besides, if what you suggest was the cause then all of the blogs would be broken since they all work on the same templates and stylesheets. |
#5
| |||
| |||
|
|
JackM wrote: Ben C wrote: On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: Okay, I'm swallowing my pride and asking for help. ;-) We have a Movable Type blog that works dynamically and uses templates. The version that we are using (3.34) did not have a pagination system so I Googled and found how to add the code manually. It works as far as the pagination goes but it seems to have created a new problem. The section with the links that should be at the top of the right side of the page is fine in most of the blogs but on one, it is showing at the bottom of the page. I haven't a clue why as everything is on the same templates. It should 100% work or 100% be broken. Prior to adding the pagination code, all blogs worked properly. It looks like there's an extra </div> somewhere in all the stuff inside #alpha that is closing off pagebody-inner prematurely, so beta is ending up outside pagebody-inner altogether, and that's why its box goes below it. Alpha and beta are supposed to be siblings inside pagebody-inner, but they aren't in the bad page. I thought of a </div> mismatch and checked out each open and close. They are all where they are supposed to be. I used Firebug to highlight the divs and all the alpha and beta divs are showing the way they should be. Besides, if what you suggest was the cause then all of the blogs would be broken since they all work on the same templates and stylesheets. Run the HTML validator on the page. There are errors, including a <div where it does not belong. This MAY be happening because the code includes JavaScript in which special characters have not been properly escaped, confusing the parser. You also have document.write calls, which is not advisable with XHTML. |
#6
| |||
| |||
|
|
Ben C wrote: On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: Okay, I'm swallowing my pride and asking for help. ;-) We have a Movable Type blog that works dynamically and uses templates. The version that we are using (3.34) did not have a pagination system so I Googled and found how to add the code manually. It works as far as the pagination goes but it seems to have created a new problem. The section with the links that should be at the top of the right side of the page is fine in most of the blogs but on one, it is showing at the bottom of the page. I haven't a clue why as everything is on the same templates. It should 100% work or 100% be broken. Prior to adding the pagination code, all blogs worked properly. I have tried expanding the container and the beta (right side) div and shrinking the alpha (left side) div but no good. I played around with several other settings with no change. I'm just about out of original ideas on what to change. Anyone have any guidance for me? The blog that's acting up is at http://land.allears.net/blogs/michaelbachand/ It is an index page, not an individual entry. All the other blogs use the same templates and they display perfectly. Links to several of the good ones so you can see what it *should* look like: http://land.allears.net/blogs/photoblog/ http://land.allears.net/blogs/allearsteam/ http://land.allears.net/blogs/mikescopa/ The problem is with the HTML not the CSS. It looks like there's an extra </div> somewhere in all the stuff inside #alpha that is closing off pagebody-inner prematurely, so beta is ending up outside pagebody-inner altogether, and that's why its box goes below it. Alpha and beta are supposed to be siblings inside pagebody-inner, but they aren't in the bad page. I thought of a </div> mismatch and checked out each open and close. They are all where they are supposed to be. I used Firebug to highlight the divs and all the alpha and beta divs are showing the way they should be. Besides, if what you suggest was the cause then all of the blogs would be broken since they all work on the same templates and stylesheets. |
#7
| |||
| |||
|
|
Ben C wrote: On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: Okay, I'm swallowing my pride and asking for help. ;-) We have a Movable Type blog that works dynamically and uses templates. The version that we are using (3.34) did not have a pagination system so I Googled and found how to add the code manually. It works as far as the pagination goes but it seems to have created a new problem. The section with the links that should be at the top of the right side of the page is fine in most of the blogs but on one, it is showing at the bottom of the page. I haven't a clue why as everything is on the same templates. It should 100% work or 100% be broken. Prior to adding the pagination code, all blogs worked properly. I have tried expanding the container and the beta (right side) div and shrinking the alpha (left side) div but no good. I played around with several other settings with no change. I'm just about out of original ideas on what to change. Anyone have any guidance for me? The blog that's acting up is at http://land.allears.net/blogs/michaelbachand/ It is an index page, not an individual entry. All the other blogs use the same templates and they display perfectly. Links to several of the good ones so you can see what it *should* look like: http://land.allears.net/blogs/photoblog/ http://land.allears.net/blogs/allearsteam/ http://land.allears.net/blogs/mikescopa/ The problem is with the HTML not the CSS. It looks like there's an extra </div> somewhere in all the stuff inside #alpha that is closing off pagebody-inner prematurely, so beta is ending up outside pagebody-inner altogether, and that's why its box goes below it. Alpha and beta are supposed to be siblings inside pagebody-inner, but they aren't in the bad page. I thought of a </div> mismatch and checked out each open and close. They are all where they are supposed to be. I used Firebug to highlight the divs and all the alpha and beta divs are showing the way they should be. Besides, if what you suggest was the cause then all of the blogs would be broken since they all work on the same templates and stylesheets. |
|
Thanks for taking a look though, Ben. I do appreciate it. Maybe I'll have to cross my fingers that dorayme or Els happens to take a look at it. ;-) |
#8
| |||
| |||
|
|
On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: Maybe I'll have to cross my fingers that dorayme or Els happens to take a look at it. ;-) It is unfortunate you are having to make do with someone inferior like me. |
#9
| |||
| |||
|
|
On 2009-04-15, JackM <notreal (AT) earthlink (DOT) net> wrote: I thought of a </div> mismatch and checked out each open and close. They are all where they are supposed to be. I used Firebug to highlight the divs and all the alpha and beta divs are showing the way they should be. Besides, if what you suggest was the cause then all of the blogs would be broken since they all work on the same templates and stylesheets. When I look at it in Firebug, I see the problem in its "Inspect" DOM Tree viewer thing. I am definitely seeing beta outside pagebody-inner on the bad page and not on the good one. Maybe it's scripting that's breaking the tree rather than the markup. I am sure that is the place to look. I was interested by your problem, because I could not see how any descendent of a float of specified width could affect the placing of a subsequent float. And indeed that isn't what's happening-- it's a different DOM tree. |
![]() |
| Thread Tools | |
| Display Modes | |
| |