Click to See Complete Forum and Search --> : center


johneva
01-14-2006, 04:37 PM
Grrrrr why did they not sort out these standards ages ago why carnt all browser use the same rules.

Anyways right I got a problem centering an item in my web site I have asked for help on here before about it and I thought it fixed the problem. But I have noticed it dont work in FF.

I was told to use.

form {
width:500px;
margin:0 auto;
}

Also I have added some videos to the pages to and I have tryed playing around with the code so it will validate in XHTML 1.1 and show in both IE and FF.

Thing is once I have removed the embed tag it dont work in either so I did the same as you do with Flash and added the data attribute to the Object tag and that worked in IE but not FF.

So I then removed the Class id and codebase and it worked in FF but not in IE.

Heres a link (http://www.johneva.playingwithpsp.com)

Any ideas?

Thanx John

johneva
01-15-2006, 07:47 AM
Right well I have sorted my center problem all I had to ad was margin:auto

Just got this problem with inserting a video now then.