Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
XHTML 1.0 Strict?
Posted: 28 April 2005 07:12 PM   [ Ignore ]  
Summer Student
Total Posts:  11
Joined  2005-04-27

I’m working on a site design, and I’m a XHTML 1.0 Strict user - I live by it.  However, my CSS file went unrecognized as long as I left the doctype set as XHTML 1.0 Strict.  When I took it out, the CSS file was recognized - but all of my positioning was thrown off (probably because pMachine goes transitional - as far as I can tell anyway - the site now looks like what it would if I used transitional, so I’m assuming that’s what’s going on)

Is there any way I can get pMachine Pro to allow me to set my doctype to XHTML 1.0 Strict?  I’ve been searching for an answer for this (and apparently Zeldman once used pMachine Pro, but he had to hack it to get it to recognize his Strict setting) - but I can’t find anything anywhere on the subject, except that pMachine doesn’t play nice with Strict.

Any ideas?  Anyone? smile

Profile
 
 
Posted: 28 April 2005 09:45 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

It’s quite possible that some of the HTML output by pMachine Pro is Transitional and not Strict, but there certainly shouldn’t be anything stopping you from putting in whatever DOCTYPE you want.  That’s just text after all—the page may not actually validate as what you specify, but there shouldn’t be anything stopping you from specifying it.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 29 April 2005 06:54 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  11
Joined  2005-04-27

That’s what I thought - but it is stopping me.  If I put that doctype in there, my stylesheet “disappears”.  (Not that it disappears from the server, it just acts like it’s not there at all.)  If I remove the doctype, my stylesheet it recognized, but it treats everything as transitional.  So I have no idea what to do - I really need it to be strict.

Profile
 
 
Posted: 29 April 2005 11:48 AM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

That behavior sounds like a browser issue, not anything to do with pMachine Pro.  Do you get the same behavior on different browsers?  How about a link?

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 29 April 2005 12:50 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  11
Joined  2005-04-27

Click here.

Same behavior in all browsers I have.  You’ll see it now with the strict doctype set.

Typically, I design in Firefox, since it’s the most standards-compliant out there.  I’ve found that once it’s all up and functioning in Firefox, is just a few simple hacks to get it working in other browsers in the same way - rather than, say, designing in IE and trying to hack it all up (and spending countless hours and sometimes days to do so) to make it work in other browsers.

I also finally found something else on the issue - a mention on this thread, most of the posts are by a Mike Essl.  I didn’t get a chance this morning to really look into it, but I have a few minutes now and am going to try it again.

Profile
 
 
Posted: 29 April 2005 12:54 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  11
Joined  2005-04-27

Scratch that - I just reloaded and saw it’s now working in IE, but not Firefox.  Took longer for everything to load, for some reason….

This is just weird.

Profile
 
 
Posted: 29 April 2005 02:28 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  11
Joined  2005-04-27

Got it!

I validated everything I had, and came across a problem in the stylesheet.  The stylesheet validated when I checked it from my hard drive, but when I checked it form the server, it came up with an error.

Turns out my server isn’t seeing .css extensions properly - it creates an error. (Understandlable, since this is a client who actually has his own server, and I had to tell him what to install on it since he usually doesn’t do websites)

So, basically, I have to call my client’s tech guy and tell him to set it so that the server views .css extensions as text - then it should work.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 64515 Total Logged-in Users: 0
Total Topics: 81075 Total Anonymous Users: 0
Total Replies: 436313 Total Guests: 17
Total Posts: 517388    
Members ( View Memberlist )
Active Members: