Why is my text doing this? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Besharah -> Why is my text doing this? (2/8/2006 4:03:10)

I just finished uploading my index page. When I previewed it in Dreamweaver, the page looked fine. However now that it is live, this is what's happening to the text.

Don’t forget to checkout this section
it this far”

Can someone help.

http://www.thehiphopworld.com




Taz -> RE: Why is my text doing this? (2/8/2006 5:09:00)

Looks like it's in the code.
quote:

<p class="style2">Thehiphopworld.com is being built to celebrate the culture and inform you on where it’s at, and where it's going.<strong>


Did you copy and paste this text from anywhere or did you type it out in code view/WYSIWYG view?




Kitka -> RE: Why is my text doing this? (2/8/2006 5:12:17)

It looks like you have curly quotes and curly apostrophes being converted to weird code for some reason. If you do a "find and replace" for all the "curlies" and convert them to straight, the problem will probably disappear.

It is wise to always use straight quotes & apostrophes everywhere in a website, as you can't predict what character set visitors will be using as default.




golfer -> RE: Why is my text doing this? (2/8/2006 5:14:57)

It is probably down to the use of punctuation marks.

http://www.ascii.cl/htmlcodes.htm

Look up the symbol you require in the table and insert into your html the given code.

Hope this helps[:D]




Besharah -> RE: Why is my text doing this? (2/8/2006 5:35:24)

Ok. What is a curly? Yes I did copy and past from Word. I'm so lost. How do I fix this problem?

I can't see <p class="style2">Thehiphopworld.com is being built to celebrate the culture and inform you on where it’s at, and where it's going.<strong> in the dream weaver source code but I can see it live.

Where do I go from here?




Kitka -> RE: Why is my text doing this? (2/8/2006 5:48:50)

quote:

Where do I go from here?


Look at this text, and you'll notice that the strange characters correspond to where you are highly likely to have Quotation marks. If you look closely at them (try increasing the font size if you can't see it well) you will notice they are curly not straight.

quote:

Thehiphopworld.com is being built to celebrate the culture and inform you on where it's at and where it's going. “Never thought that hip-hop would take it this far”(Biggie Smalls)


Open the page in Design view and highlight (with mouse) one of the curly quotes or apostrophes and go to Edit >> Replace. In the second field type " or ' and click "Replace all". DW will automatically replace all instances of that weird character on that page. You will have to repeat the process three times in all, for left and right quotes and apostrophes.

If the problem is happening on other pages, you will have to repeat the process there too.

If that doesn't fix the problem, come back and ask again.




Besharah -> RE: Why is my text doing this? (2/8/2006 5:52:17)

Got it. Thank you guys for the help.




Besharah -> RE: Why is my text doing this? (2/8/2006 5:55:59)

Any advice you guys would like to offer for my site?




spitfire -> RE: Why is my text doing this? (2/8/2006 7:01:35)

I'm a bit late (again[:)]) but it is because of the use of the UTF-8 character set
http://www.tony-franks.co.uk/UTF-8.htm
http://www.cs.tut.fi/~jkorpela/chars.html
It can often be the case that each time such a file is saved/published additional weird characters will appear. Try replacing the apostrophes and the other characters that are not behaving with the relevant code.
Edit: or change the character set, because replacing them as suggested will still cause odd characters to appear each time the file is saved/published.




Taz -> RE: Why is my text doing this? (2/8/2006 8:28:58)

quote:

ORIGINAL: Besharah

Yes I did copy and past from Word. I'm so lost. How do I fix this problem?


If you are going to copy and paste code from Word/web pages into other apps and progs like DW or FP you should first of all paste it into a plain text editor first (notepad or Editplus etc), this removes formatting and sometimes silly little issues and niggles like you experienced.




spitfire -> RE: Why is my text doing this? (2/8/2006 10:55:56)

Sorry Taz
I have to bring it back around to the UTF-8 character set being the cause of the weird characters in places. Even with a pristine NotePad file, if the text contains characters outside of A-Z and 0-9, some of those characters will not render as expected - always wise to encode the "outside" characters anyway.
Been there, done the late-nights, etc etc[;)]




d a v e -> RE: Why is my text doing this? (2/8/2006 11:02:43)

nice site but the text needs more leading/ line spacing.




Taz -> RE: Why is my text doing this? (2/8/2006 11:56:55)

quote:

ORIGINAL: spitfire

Sorry Taz
I have to bring it back around to the UTF-8 character set being the cause of the weird characters in places.


/was just passing on a "good habit" to get into (:




spitfire -> RE: Why is my text doing this? (2/8/2006 12:41:52)

/was just pointing out the "good habit" would probably not have fixed what ails some UTF-8 characters[:D]




womble -> RE: Why is my text doing this? (2/8/2006 15:20:31)

/is just pointing out that both the Notepad/Editplus entity name/code thingies are "Good Habits" to get into [;)]




Besharah -> RE: Why is my text doing this? (2/8/2006 21:08:21)

I fixed the other pages, but it's back on http://www.thehiphopworld.com/50-cent.html
I can't find any curlies or anything wrong here.

Can someone point it out?




Kitka -> RE: Why is my text doing this? (2/8/2006 23:27:27)

This time it looks like unusual space codes might be the culprit. Try using Backspace to remove all the spaces around where the odd characters are occurring and then replace them using your spacebar normally, then publish the page and see if it is fixed.




Besharah -> RE: Why is my text doing this? (2/9/2006 3:03:13)

It worked. I love this forum.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625