Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
XHTML Transistional Question
Old 04-09-2005, 12:41 PM XHTML Transistional Question
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
Hi everyone,

I am currently making the leap from table design to tableless design and trying to stay valid to the W3C XHTML 1.0 Transitional. Things seem to be going fine so far and the site even looks good in IE! Unfortunately the problem I am running into is that whenever I use a possessive say for instance "Michael's" with an apostrophe and then run it through the Jigsaw Validator it comes back saying that it is not valid XHTML Transitional. While I want to be XHTML Transistional I also want to use proper English. My question is, is there a way to either embed such punctuation or deliminate it so that XML parsers don't see it?

Any help would be appreciated.

Thanks in advance.

Kaiman

Storm King Website Design and Graphics
Kaiman is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-09-2005, 01:49 PM
drewrockshard's Avatar
Super Talker

Posts: 100
Name: Drew
Location: Garland (Dallas), Texas
Trades: 0
did you put a content-type/ character set in the head of your document? if you didnt you should do this...put the following in the <head> of your docuemnt

HTML Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
hope this helps some
__________________
Best Regards,
Drew Decker

Please login or register to view this content. Registration is FREE
drewrockshard is offline
Reply With Quote
View Public Profile
 
Old 04-09-2005, 01:59 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
I have the following character set in my documents:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

Is that incorrect for XHTML?

Kaiman

Storm King Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Old 04-09-2005, 02:25 PM
drewrockshard's Avatar
Super Talker

Posts: 100
Name: Drew
Location: Garland (Dallas), Texas
Trades: 0
no thats fine. what you should probably do is have special characters entity for an apostrophe. to do this i could show you but the vBullitin parses it so i cant show it to you exactly. so what i will do is separate each character by "|" ok?

so the apostrophe entity is: &|#|3|9|;|

so just take out the "|" and tthats what you would put in to make the apostrphe. so you would type in Michael(then put the entity in)the put the s and then when the xhtml is shown it will look like: micheal's

sorry that i couldnt show you on here, cause the CODE, HTML, and PHP would parse the entity and it beat the purpose of showing you.

hope this helps
__________________
Best Regards,
Drew Decker

Please login or register to view this content. Registration is FREE
drewrockshard is offline
Reply With Quote
View Public Profile
 
Old 04-09-2005, 02:46 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
Drew,

Thanks for the advice, I have gone ahead and taken your lead (as done in the docs on your dev news site) and put both character sets in the head section of my documents. I will also try the method you propose above. What a pain in the neck though, huh? Someday maybe, computers will speak human and vise versa... I look forward to that day.

Dev-news is a very nice site by the way. Good inspiration.

Thanks again,

Kaiman

Storm King Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Old 04-09-2005, 03:02 PM
drewrockshard's Avatar
Super Talker

Posts: 100
Name: Drew
Location: Garland (Dallas), Texas
Trades: 0
thank you so much. that means alot to me. yeah it does suck that you have to do the entity thing. one question though? what html editor are you using? frontpage 2000? frontpage 2003? dreamweaver? dreamweaver mx 2004? homesite? which one?
__________________
Best Regards,
Drew Decker

Please login or register to view this content. Registration is FREE
drewrockshard is offline
Reply With Quote
View Public Profile
 
Old 04-09-2005, 03:42 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
Drew,

I am using DWMX 04 and notepad for the straight coding.

Kaiman

Storm King Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to XHTML Transistional Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.38776 seconds with 12 queries