Recently I noticed a strange behavior in my template where the body content pushes the content table way beyond the boundries of what is set in the CSS and i'm having difficulties tracking down where its coming from ... any someone help.
What I'm experiencing is that some pages are very wide (beyond the template) and others renders just fine, this is happen in random tho, so I cannot see which pages is really affected. You can have a look at the blog via the link below ;
http://www.ericagordon.co.uk/eblog/
Has anyone seen this before and if so, can you tell me where to start to look so I can get a fix.
trini809
:::
-oo
-
Template unusual behavior
Does it happen in all browsers, or only in a specific browser and version?
I notice that your frontpage content column is wider than the "Summer is Over" individual entry content column. (FireFox 1.5 on Linux.) It's not a lot, so I'm not sure if this is what you mean by "very wide". In this case, the entry "The Saturday Nite Vibe - 26/08/06" is wider than the content column allows.
I'm not quite sure why, though. I messed with the CSS for a while, but I can't seem to get it. Can you tell what's different between that entry and any others? Could you try rearranging things or temporarily removing parts to see what makes a difference?
I notice that your frontpage content column is wider than the "Summer is Over" individual entry content column. (FireFox 1.5 on Linux.) It's not a lot, so I'm not sure if this is what you mean by "very wide". In this case, the entry "The Saturday Nite Vibe - 26/08/06" is wider than the content column allows.
I'm not quite sure why, though. I messed with the CSS for a while, but I can't seem to get it. Can you tell what's different between that entry and any others? Could you try rearranging things or temporarily removing parts to see what makes a difference?
Hi Erica
If you add width: 526px;
to your
.serendipity_entry class in your style.css this will contain your entries at the correct width for the template.
However the problem seems to be in the formatting of your entries. Have you added any HTML to the entry text on the entries that show too wide? These entries display the body font at a larger size than the entry at the bottom of the page that fits OK.
Dave
If you add width: 526px;
to your
.serendipity_entry class in your style.css this will contain your entries at the correct width for the template.
However the problem seems to be in the formatting of your entries. Have you added any HTML to the entry text on the entries that show too wide? These entries display the body font at a larger size than the entry at the bottom of the page that fits OK.
Dave
d_cee - The strange thing is that when I view a particular entry, lets say (Summer is over) from the front of the blog, I get the expanded table width, but if I view the same entry by click on the "Archive" link for September, the page renders fine, which makes me think that it cannot be from within the content itself, but how the page is being rendered.
Try this, follow the stages ;
1) click http://www.ericagordon.co.uk/eblog/ - you'll get the "wide table"
2) click http://www.ericagordon.co.uk/eblog/inde ... 06/09.html - you'll see a couple of the same entries but the page renders perfectly.
judebert - This behaviour seems to happen in browsers (Safari (Mac), IE, Firefox (both Mac & Windows)), I have not tried it on Linux but will today when I can get to my Linux box.
I will take your suggestion of re-arranging/ommitting some of the entries to see what this does.
Thanks guys for your assistance on this ... any more suggestions is greatly appreciated, I'm pullin my hair out on this one
Try this, follow the stages ;
1) click http://www.ericagordon.co.uk/eblog/ - you'll get the "wide table"
2) click http://www.ericagordon.co.uk/eblog/inde ... 06/09.html - you'll see a couple of the same entries but the page renders perfectly.
judebert - This behaviour seems to happen in browsers (Safari (Mac), IE, Firefox (both Mac & Windows)), I have not tried it on Linux but will today when I can get to my Linux box.
I will take your suggestion of re-arranging/ommitting some of the entries to see what this does.
Thanks guys for your assistance on this ... any more suggestions is greatly appreciated, I'm pullin my hair out on this one
Hi erica
Sunday, August 20. 2006
The Saturday Nite Vibe - 26/08/06
Maybe you could take a look at the HTML content in this entry
cheers
Dave
I've done this and there is no problem with this entry - it seems to me that the problem lies in the entrytrini809 wrote: 1) click http://www.ericagordon.co.uk/eblog/ - you'll get the "wide table"
2) click http://www.ericagordon.co.uk/eblog/inde ... 06/09.html - you'll see a couple of the same entries but the page renders perfectly.
Sunday, August 20. 2006
The Saturday Nite Vibe - 26/08/06
Maybe you could take a look at the HTML content in this entry
cheers
Dave
There are lots of nonbreaking spaces around your <img>s in some of your entries (actually, it looks like they're in all of your entries, but sometimes more, sometimes less). As their name implies, they don't break and create a new line, but extend your box to the right. Try to remove the characters from your entries, and everything should be fine again. I'm not sure where the spaces are coming from, could be a misconfigured plugin?
- Mattsches
Code: Select all
- Mattsches
d_cee - I re-inserted that entry and it did solve the problem on the home page, so I think you're correct in saying that the problem lies within the format of the entries, most of which is copy/pasted from MS Word documents.... need I say more (with their hidden formatted code from Word). So now its the pain-staking task of going through all the entries and amended the content again, but I aleast I know what the problem is now --- big thanks to you m8 !
P.S. I'm not Erica but just a friend of her that has undertaken the job of managing her blog for her ... check out her show sometime on BBC 3 Countries Radio every Saturday night from 7:00 - 9:00 pm.
I had a look at your blog ... great stuff !!
P.S. I'm not Erica but just a friend of her that has undertaken the job of managing her blog for her ... check out her show sometime on BBC 3 Countries Radio every Saturday night from 7:00 - 9:00 pm.
I had a look at your blog ... great stuff !!
Hi trini (not erica
)

Dave
Simplest way to strip out all the hidden Word formatting is to save the document as plain text and then paste from the plain text doc. I never use Word for this very reason. If you're using a mac you can just paste the text from the word doc into a textedit doc ensuring that plain text format rather that RTF is set in your textedit prefs.trini809 wrote:d_cee - I think you're correct in saying that the problem lies within the format of the entries, most of which is copy/pasted from MS Word documents.... need I say more (with their hidden formatted code from Word).
thanksI had a look at your blog ... great stuff !!
Dave