Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
jane65
Regular
Regular


Joined: Feb 24, 2009
Posts: 81
Location: UK

PostPosted: Tue Jan 27, 2015 3:04 pm Reply with quote

Hi,

I have installed Bootstrap Navigation Bar on Raven CMS 2.51, and it works fine, BUT I've found that it prevents my site from w3c validation. Can anyone tell me where to put this DOCTYPE declaration please? I tried putting it in custom.head.php and in the theme file and other files, but wherever I've tried putting it just seems to throw the W3C validator into some kind of confusion as to what the document type is. Thanks for any help with this Smile

Code:
<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Navbar tutorial from BootstrapBay.com">
    <meta name="author" content="BootstrapBay.com">
    <title>Fixed NavBar Example for Bootstrap</title>
  </head>
 
View user's profile Send private message
neralex
The Mouse Is Extension Of Arm


Joined: Aug 22, 2007
Posts: 1325
Location: Germany

PostPosted: Wed Jan 28, 2015 5:24 am Reply with quote

This is a HTML5 doctype and RN25x is using xHTML. These are two different doctypes and that is the reason why you are getting these errors. This can not work together. For sure the browser is trying to display it but this is not correct and you should not mix doctypes because a doctype is unique in a html document.
 
View user's profile Send private message
jane65
PostPosted: Wed Jan 28, 2015 10:00 am Reply with quote

Thanks Neralex, that's what I was beginning to think but wasn't quite sure. Do you know if there is any responsive navigation bar script out there that will work and validate with RN25?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 ©