Jump to content

Archived

This topic is now archived and is closed to further replies.

glenelkins

Cross browser - really bugging me

Recommended Posts

Hi

I 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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Hi

Ok then why: www.gewebsitedevelopment.com does this site look real messed up in FF when its all standard HTML (for SEO purposes)?

Share this post


Link to post
Share on other sites
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].

Share this post


Link to post
Share on other sites
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)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.