PDA

View Full Version : correct code needed to view in FF and IE?



dotcomnet
22 Jun 2010, 10:18 PM
Hello and thanks for looking in----
New guy but really looked thru the archives for this---I used edit3 for the obvious my experience is a cut and paste kinda guy. I am doing this not for a job but to get a job and maybe make some jobs hehehe/
I got a page I made from using my bro's template "he has a site" and I worked with the page to create my own tables and media--barbaric I am sure. Yet it looks ok for me to use on FF yet when checked thru IE nothing.
I stripped out code off these pages and installed my own links and html via search and try & learn and do the cut and paste.
I like to edit video stuff but I need this site to farm my service. I want the Browser to at least work in IE and FF. I think it has to do something with recog css or Js (which BTW are my Bros creation too and yes those folders are parked in the same area on the server. I think that there is a lack of command line to tell the Browser What to do....
Here is the Header of my page "remember I am new at this and FF works fine
Thanks in advance for any help
http://www.netcommercial.net

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>netcommercial home page


<BODY BACKGROUND="http://0312c5f.netsolhost.com/ncmedia/areel2.gif">

<meta name="keywords" content="website commercials Internet commercials net commercial" />
<meta name="description" content="net commercials - website commercial production - producer of Internet or web site commercials-infomercial" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="media/snsoc.js" charset="iso-8859-1">
</script>
</head>

hollowunknown
26 Jun 2010, 05:14 PM
DotComnet,
Its always ncie to see new starters in the world of web development,

And i have noticed that Firefox 3.5 and IE8 appear the same.

But if you need some help in improving the site i would recommend a few things.

* Implement styling using an external stylesheet.
- this removes any style code that doesnt need to be seen in the page code.

* Replace tables with divs
- Tables are in the past and DIVS have been the present and still are the future.
- Divs are much easier to manipulate

* Not necessary but its nice to work with XHTML Strict.
- This helps clean up code, remove depreciated attributes and improve on cross browser compatiblity and useability for diabled users.

Hope this helps,
G.