I have a blog (Wordpress blog) and i want to open it publically but i am facing problems. When i write (successfully) and then refresh to see the new post in my blog, the text in the post breaks the limits of the Text area in the screen and is not wrapped. I used different themes, tried to solve this problem by hand but useless.
What i understand is that while writing , sometimes when i continue to type in wordpress's online edier, it automatically takes me to second line (its not wrapping because sometimes the text goes beyond the limits of the yping box and sometimes the text is wrapped even before reaching the scroll bar.) and when after refreshing the homepage i see the post, the line that is wrapped by wordpress continues to be wrapped (before or after the border of Post area on the screen) and the other line doesnt at all.
Similarly when i see the code in opera's source option, it shows that the second line is after an Enter Key ( that is obiously not a part of P tag because P tag starts a new para but here its a start of new line).
So, Wordpress'Editor is totally out of my control and i cant understand how to resolve this problem. Anyone helping me for this and resolving my this problem permanently will be given 50 FRIH$ as reward.
If some sort of coding is needed for this, i will pay extra for it.
YOu can see my blog at http://www.novice2pro.uni.cc/
I have contacted the WordPress bug report team, hopefully by tomorrow I'll have an answer to your problem.
I'll post here what they tell me,
Luck! 
I'll tell you why it is behaving like that: For some reason the spaces between your words are non-breakable spaces rather than a standard space.
If you look at the page source you'll see that " " is there instead of just " ".
So basically, the browser is rendering as designed (unsurprisingly you're not supposed to break unbreakable spaces!) and you'll need to work out why the wordpress code is throwing out this instead of normal spaces.
What is odd is that only some of the words have these kinds of spaces while others (eg at the start) do not.
I cant find any there. See,
| Code: |
<div class="entry">
<p align="justify">Have you ever heared of Text Link Ads? Not? Ok read here. Text link Ads are the best way to advertise your sitebecause of its features. One of i .......</p>
</div> |
See the code. The main problem starts after the word "read" because i dont want wordpress to start new line but its not in my coltrol. Also if wordpress wraps only when new line starts bot considering the div boundries. I tried to use CSS in the class "ENTRY" and tried to stop overflow but useless.
Its really a headace. I thought that everyone loves wordpress but the situation is opposite in my case. i have spent lots of hours on just making it compatible to my requirements but its still out of control.
If this is a problem in wordpress, i dont know how such a huge wordpress user's community is built without noticing this problem.
I never edited wordpress original files in the root folder. I just edit template files so this problem is not a result of my editing. Also i have faced this problem in all (without excluding anyone) templates.
Uh... what? How are you looking at the page source??! I've found plenty:
| Code: |
<p align="justify">Have you ever heared of Text Link Ads? Not? Ok read here. Text link Ads are the best way to advertise your sitebecause of its features. One of its important feature
is that it Lets you advertise through Search engine Friendly
URLs which in return not only increase your Search engine
position but also makes it easy for a Webmaster to place
your ad at his site.</p> |
At the end of each line in fact I had to manually insert a space so I didn't break the page layout of this forum by quoting it!
Note that in HTML markup a new line doesn't actually mean anything if you want to actually break a line when it is displayed you need to use <br />.
For example:
| Code: |
<p>This
is
my
text.</p> |
will print
Note the lack of breaks. If you want to actually put them on new lines then you'll need to do this:
| Code: |
<p>This
<br />is
<br />my
<br />text.</p> |
gives
What do you mean you don't want WordPress to start a new line? Why wouldn't you? You just want the text to be clipped and finish mid-sentence?
AftershockVibe, I can't see any either.
Just remove the align="justify" from your p tag
Uh... hang on something strange is going on here.
Internet Explorer (6.0) > Edit > View source = No
Firefox (2.0) > View > Page Source = No
Firefox (2.0) > Select Paragraph (click and drag using mouse) > View Selection Source = abound!
Surely that shouldn't happen! Note that the nbsp;'s appear in the same places as you're having the problem.
For some reason Firefox is being stupid when I click "view selection source" and for some reason interpretting whatever i selected as non-breakable from the word "here" onwards.
I've used non-breakable spaces plenty of times in the past and know the IE and Firefox don't usually hide them so.... Firefox bug that has derailed this topic?
| AftershockVibe wrote: |
What do you mean you don't want WordPress to start a new line? Why wouldn't you? You just want the text to be clipped and finish mid-sentence? |
Thank you for your details. By "Start a new line" i mean in the Editor i dont want the text goto second line before completing the first line upto the right scroll bar.
uffffff I tried to see code in Opera and IE7 both dont show the non-breaking spaces.
OK if you can see the spaces, may be it is the actual problem. Now can you please tell me what is the solution? What i have to do next? because i cant remove in while typing in wordpress Post Editor. (Although it has option to show the post as the code, yet it doesnt show the nbspaces.
Please Help
Last edited by imagefree on Wed Sep 19, 2007 2:20 am; edited 1 time in total
| mathiaus wrote: |
AftershockVibe, I can't see any either.
Just remove the align="justify" from your p tag |
align="justify" i have recently added it just to see its impact on post, but useless. Its not the main problm (I think) because justify has nothing to do with text overflow.
| Quote: |
Uh... hang on something strange is going on here.
Internet Explorer (6.0) > Edit > View source = No
Firefox (2.0) > View > Page Source = No
Firefox (2.0) > Select Paragraph (click and drag using mouse) > View Selection Source = abound!
Surely that shouldn't happen! Note that the nbsp;'s appear in the same places as you're having the problem.
For some reason Firefox is being stupid when I click "view selection source" and for some reason interpretting whatever i selected as non-breakable from the word "here" onwards.
I've used non-breakable spaces plenty of times in the past and know the IE and Firefox don't usually hide them so.... Firefox bug that has derailed this topic? |
Its not a browser bug, all the browsers are doing it in the same way (even IE7 is producing more errors -- its inharent feature of IEs---)
Neither it should be Wordpress problem because if some bug is there, someone must have earlier reported, out of the millions of wordpress users.
The First post of TEXT-LINK-ADS is hand written. The second post of Adsense is actually half hand writen and half copied from my old page. Can you please see the code of that post? is there any nbsp there?
I think when you select a paragraph in Firefox and see its code, FIrefox works abnormally to avoid any error. On the other hand when you see the full source, it just displays the whole html document's source. May be in part selection Firefox has to show instead of spaces to overcome any bug or if spaces are shown, source may ne be displayed correctly.
Surprizingly it is now working well.
Thanks God.
But i failed to find the error
. Anyways, AftershockVibe!!! sent you FRIH$ for your efforts.
Thanks.
Uh, thanks... although I'm not sure I acutally did much that was useful.
Anyway since I know now that you might have copied and pasted the second half I have a good theory for what might have happenned.
The text you copied did contain non-breakable spaces. Obviously when you paste it doesn't convert a non-breakable space to the tag and when you are viewing it a normal space character (#32) looks exactly the same as a non-breakable space character (#160).
So the browser does print a non-breakable space however it does it the direct way instead of the usual conversion from the markup text " " to a literal #160 character.
For some reason Firefox's "View Selection Source" converts this back whereas normal "View Source" on both IE and Firefox does not.
I can't test this though since you've changed the page.
Nevermind! Glad it's working now.
| AftershockVibe wrote: |
| Uh, thanks... although I'm not sure I acutally did much that was useful. |
Then send me back.
well i have another thread open for my blog.
http://www.frihost.com/forums/vt-80997.html
participate there if you have knowledge.