glenelkins Posted August 7, 2006 Share Posted August 7, 2006 HiI need to find out how to make sites work cross browser. I mean look at this site iv recently developed: www.weddingpresentcorrect.com first in IE (how it should look) and then Firefox, it looks wrong in firefox. Any ideas? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 7, 2006 Share Posted August 7, 2006 Looks fine for me in IE7 and FF however. Why i get this in FF:[quote]Error ! The current browser is either too old or too modern (usind DOM document structure).[some calander here][/quote]You browser detection script appears to be maltfunctioning. Quote Link to comment Share on other sites More sharing options...
micah1701 Posted August 7, 2006 Share Posted August 7, 2006 you should probably check with another site - or at least use the JavaScript forum at this site as this is not a PHP issue. PHP is server side and browser independent. Quote Link to comment Share on other sites More sharing options...
glenelkins Posted August 7, 2006 Author Share Posted August 7, 2006 HiOk then why: www.gewebsitedevelopment.com does this site look real messed up in FF when its all standard HTML (for SEO purposes)? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 7, 2006 Share Posted August 7, 2006 You are using font tags which are depreciated. No CSS what so ever, a few inline styles, with absolute positioning which is not really recommended. Using tables.CSS layouts are better for SEO as there is far less HTML for the crawler to go through and can index the content much faster. You should look into using a stylesheet for your designs. Dont use attributes within the body tag, as this also depriciated (well I class it as depreciated). dont use the font tag, leave it to CSS. Surely typing <font face="blah">blah blah</font> must get tedious? You can style all the font on you page with just few lines of CSS.[code]body { font-family: Verdana, Arial, san-serif; font-size: 12px;}[/code]For me you code is not standard HTML, if it was standard HTML your page would [url=http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.gewebsitedevelopment.com%2F]validate[/url]. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted August 7, 2006 Share Posted August 7, 2006 glen: have a look at this [url=http://brainstormsandraves.com/articles/semantics/structure/]http://brainstormsandraves.com/articles/semantics/structure/[/url]you can't get every browser to look exactly the same (and according to Molly Holzschlag thats a good thing - I agree!) BUT you can create good html. tables are for data NOT layout! pointless html simply takes up extra bandwidth and slows down the users experience of yur site.My advice is to purcahse something like (Sir) Jeffrey Zeldman's desiging with web standards or Dan Shafer's Desiging without tables (a sitepoint book) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.