Ads are not an endorsement by the blog author.

AOL Journals: Magic Smoke

Public Journal
 Back to Journal Archives | Subscribe to Alerts Alerts Subscribe to Alerts | Feeds
< New Guest Editor'
Friday, October 28, 2005
Costume Panic! >
Friday, October 28, 2005
October 2005
Some Halloween Links
Scary Blog Stories (Corporate Version)
Costume Panic!
How to Lose Unwanted Inches From Your Blog
New Guest Editor's Picks for 10/28
You Are Here: The Gallery of Bloggers
How NOT To Add Photos
More Places "They" Say You Can't Blog
Alerts Font Size Status
This Is Only a Drill
RESOLVED: Flakiness at Keyword: FTP
Found: "Missing" Private Journal Readers & More
A Completely Specious Look at Your Blog's Value
'But I Don't Like Spam!'
Private Journals Rostering Problems
Having Journals Problems? Please Let Us Know
A Little Color to Close Out the Week
Wiiiilmaaaa!
New Guest Editor's Picks for 10/21
Dark Blogs (Internal Blogging)
What Blogging Isn't (Featuring the World's Worst Blog)
Day 2 at BlogOn
Corporations Trying to "Get" Blogging
Knock It Off, You're Scaring the Fish
At the Copa...Copacabana...
Journalers in the News
Your Face Here
New Guest Editor's Picks for 10/14
Blogging to Help Others
Adding Online Presence to Your Blog
Status on Alerts, Counters & Search
New Guest Editor's Picks for 10/7
Status Update, 10/6 -- Search, Comments and Counters
Back to Business
They're Blogging We Media
Blogging on Citizen Journalism, Live and Direct
Quick Tuesday Update
« October 2005 Archive
Friday, October 28, 2005
6:43:00 PM EDT
Hearing The Shamen, Destination Eschaton

How to Lose Unwanted Inches From Your Blog

So earlier today, Journaler Dee asked me about a problem she was having with her blog, Dear Diary. Something she had put in one of her recent entries was breaking the layout of her Journal, causing it to become too wide.

Now, "too wide" is a subjective thing, but in most cases, if you have a horizontal scroll bar (so you have to scroll from side to side in order to see the content on the page), then your page is probably too wide.

In most cases, it's because of a photo is wider than the page layout and/or browser window will allow.

In other cases, a really long URL or other unbroken line of text will cause do it.

I took at look at Dee's blog, and saw that in one of her entries, there was a long string of non-breaking spaces at the end of one of the lines. [Update: Nonbreaking spaces are spaces that by definition won't break to the next line, so they keep going and going. This can push out the edge of a page area.  If you look in HTML view, nonbreaking spaces look like this: &nbsp;&nbsp;&nbsp; ]

She took the spaces out, and her Journal returned to its normal width.

If you ever have a problem where your Journal gets extra wide when you don't want it to, try the following:

* Look at your most recent entries, or think back to when you started seeing the problem, and look at the entries you posted or edited around that time.

* Check the width of the photos; the non-scrolling maximum will depend on the number of columns you use for your Journal; for a three-column Journal (that is, 2 sidebars and a center column), a safe maximum is 550 pixels (remember that your readers may not have monitors as wide or resolutions as high as yours).

* If it's not the photos, it will have to be the text. Scroll all the way to the right of the page and look for anything that sticks out.

* If nothing is immediately obvious, it might be extra spaces at the end of a line. In the edit window of your blog's entry, click and drag the text with your mouse and look for extra spaces at the end of a line. (You can also check the HTML view -- change the pull-down menu in the formatting tool bar from "Text" to "HTML" to see the HTML tags.)

* Just added: If all else fails, try looking at the HTML source code for the entire page. You can do this typically (using Internet Explorer on Windows) by right-clicking on a blank area of the the blog page that's too wide, and choosing "View Source." This will show you all the text and HTML tags that makes up your page.

Even if you don't understand it, you can usually see what's making your page too wide -- just scroll all the way to the right, and scroll down until you see characters.  Then, look around for some of the accompanying text so you can figure out what section it's in, so you can go back and change it.

Hope this helps. -- Joe


Written by journalseditor Blog about this entry
This entry has 12 comments: (Add your own) Show all comments (7 more)