Author |
Message |
angloswede
Hangin' Around

Joined: Feb 10, 2007
Posts: 27
|
Posted:
Fri Sep 21, 2007 1:55 am |
|
Hi
Bit of a noob here
I installed a theme, it views ok with IE but not with Firefox.
What have I done wrong?
Thanks for looking
Mark |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Fri Sep 21, 2007 7:47 am |
|
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 |
|
|
 |
angloswede

|
Posted:
Fri Sep 21, 2007 9:49 am |
|
Thanks for that Gremmie
I messed about with the alignment but I made matters worse
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
|
Posted:
Sat Sep 22, 2007 3:37 pm |
|
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. |
|
|
|
 |
angloswede

|
Posted:
Sun Sep 23, 2007 3:04 am |
|
Hi fkelly
Cheers for the link.
I ran the service - returned 454 errors
at least I'll know what I'll be doing today.....
Mark |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Sep 23, 2007 6:59 am |
|
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! |
|
|
 |
fkelly

|
Posted:
Sun Sep 23, 2007 7:41 am |
|
What M. said 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. |
|
|
|
 |
|