|
Post by zigleon on Apr 12, 2014 14:26:05 GMT
How do I edit the code below that is automatically at the very top/start of any Antenna designed webpage?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Can it be edited within Antenna itself?
Thanks
|
|
|
Post by Frank on Apr 12, 2014 21:24:20 GMT
Not from within Anttenna...it's set by default since that is the doctype antenna uses. Any other doctype isn't truly supported. If you want to throw caution to the wind you can add a visual html and add your doctype to the session tab. It will supersede Antenna doctype. If you look at the source code both doctypes will appear but the one in session trumps. I've actually made a site with <!DOCTYPE html> it had a couple issues.. but they were minor style settings like lines made with panels...
Frank
|
|
|
Post by zigleon on Apr 13, 2014 8:22:37 GMT
Thanks for your reply.
I want the line to look like the one below as wow slider doesn't work correctly in IE8 browser without it...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Can you explain what you mean about adding it to the session tab? how do I do this?
Many thanks!
|
|
|
Post by Graham on Apr 13, 2014 10:46:00 GMT
to add anything to the session tab first add a visual html and then you will see the session tab when you double click on it to open it up.
Graham
|
|
|
Post by Frank on Apr 13, 2014 11:24:26 GMT
Make a visual html. open it up you will see 3 tabs BODY HEAD SESSION Click the SESSION tab Place doctype in the SESSION tab.
Frank
|
|
|
Post by zigleon on Apr 13, 2014 17:35:31 GMT
Thanks guys for your help!
Its done the trick, slideshow now works as it should without having to login to my server to edit that one line.
I'm assuming that having the code as below won't cause any issues?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Thanks again
|
|
|
Post by Frank on Apr 13, 2014 20:08:19 GMT
Just keep an eye on other parts of the site... just in case. Frank
|
|
|
Post by zigleon on Apr 13, 2014 20:50:36 GMT
Thanks will do...not seen anything untoward so far with firefox, safari, chrome or ie
I've just noticed when inspecting the elements using chrome during incognito mode only the one line below is displayed(the one i want).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I'm guessing it is superseded as you suggested Frank??
Both show if you use view source though as you mentioned.
Thanks for your help Frank....much appreciated!
|
|