ben03 Posted February 25, 2009 Share Posted February 25, 2009 In newer browsers this page looks ok: www.jab-ride.co.ukHowever viewed in an older browser and the text spacing appears greater. Have specified in CSS * { border: 0px; padding: 0px; margin: 0px; line-height: 15px; letter-spacing: 0px; word-spacing: 0px; } but the specifications seem not to have an effect. Am I missing some code? Thanks. Link to comment Share on other sites More sharing options...
Jerry62704 Posted February 25, 2009 Share Posted February 25, 2009 In newer browsers this page looks ok: www.jab-ride.co.ukHowever viewed in an older browser and the text spacing appears greater. Have specified in CSS* { border: 0px; padding: 0px; margin: 0px; line-height: 15px; letter-spacing: 0px; word-spacing: 0px; } but the specifications seem not to have an effect. Am I missing some code? Thanks. What is your DOCTYPE? Link to comment Share on other sites More sharing options...
roundcorners Posted February 26, 2009 Share Posted February 26, 2009 Try removing this <?xml version="1.0" encoding="iso-8859-1"?> from the top of the html Link to comment Share on other sites More sharing options...
ben03 Posted March 3, 2009 Author Share Posted March 3, 2009 Will try that. It won't damage the document in any way by removing it? (Is that the Doctype?) Link to comment Share on other sites More sharing options...
Jerry62704 Posted March 3, 2009 Share Posted March 3, 2009 Will try that. It won't damage the document in any way by removing it? (Is that the Doctype?)It is not the DOCTYPE. The DOCTYPE must be the first thing on the page. Link to comment Share on other sites More sharing options...
ben03 Posted March 18, 2009 Author Share Posted March 18, 2009 <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> This must be it then :)Does anything need changing/adding here? (will try removing the top line) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.