Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
angloswede
Hangin' Around



Joined: Feb 10, 2007
Posts: 27

PostPosted: Fri Sep 21, 2007 1:55 am Reply with quote

Hi
Bit of a noob here Embarassed
I installed a theme, it views ok with IE but not with Firefox.
What have I done wrong? Confused

Image

Image

Thanks for looking
Mark
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Sep 21, 2007 7:47 am Reply with quote

Probably an issue with Firefox and XHTML. RavenNuke started using XHTML while most themes were coded to HTML. I believe from the googling I've done the centering rules have changed slightly in XHTML. It doesn't look like Firefox is handling that correctly yet. You can fix it by going into the theme and tweaking things (like adding align= attributes to various table tags). But you may want to use a simpler theme.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
angloswede







PostPosted: Fri Sep 21, 2007 9:49 am Reply with quote

Thanks for that Gremmie
I messed about with the alignment but I made matters worse Confused
I have deleted the theme and used another one - although the text it slighty out of alignment....
ho hum
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Sat Sep 22, 2007 3:37 pm Reply with quote

One thing you can do to help diagnose these problems is run the page thru a validator. Like:

Only registered users can see links on this board! Get registered or login!

There are also plug ins for Firefox that will analyze a page. Many of the themes included with Ravennuke are now compliant but it took a lot of doing to get them that way. If you theme is not fully compliant it can easily be causing the formatting problems.
 
View user's profile Send private message Visit poster's website
angloswede







PostPosted: Sun Sep 23, 2007 3:04 am Reply with quote

Hi fkelly
Cheers for the link.
I ran the service - returned 454 errors Shocked
Rolling Eyes at least I'll know what I'll be doing today.....
Mark
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Sep 23, 2007 6:59 am Reply with quote

Yeah, very few themes today are even HTML 4.01 Transitional (truly, even though they may claim), let alone XHTML 1.0 Transitional.

Not saying to run with this, but open up header.php and you should see an echo with a DOCTYPE in it. There are two lines commented out below. Comment out the first set of DOCTYPE lines and then uncomment out the next two which have HTML 4.01 Transitional. Then try your site again. Just want to make sure the issue really is XHTML vs. HTML.

BTW, HTML 4.01 Transitional does not allow for how XHTML requires the META tags (the closing " />") nor a few other things, so you cannot just change the above and expect to validate properly.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
fkelly







PostPosted: Sun Sep 23, 2007 7:41 am Reply with quote

What M. said Smile Plus don't let the number of errors throw you off. If you make a single error in say nesting ... like you put in a table then a row then a cell and then close the row before you close the cell, it might generate a dozen errors in the validator. So fixing a single error can fix a dozen in the validator. And "dozen" is just a loose term I'm using as synonymous with "a lot". I see a lot of mistakes where Nuke has a table, row, cell and then opens a form and then closes the cell that the form is in before it closes the form and then you get this whole cascading series of errors generated. So, in short just plug away at it and keep rerunning the validator as you do until you get down to zero.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©