Jump to content

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?
Link to comment
https://forums.phpfreaks.com/topic/16815-cross-browser-really-bugging-me/
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.
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].
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)
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.