PDA

View Full Version : Site doesn't work in firefox... [+REP!]



jackass
10-06-2008, 04:01 PM
Okay, I have been doing testing on browsers for Biolabs. It works perfectly for IE7, yet on firefox, there are no backgrounds for anything and it resizes itself when you change the width/length of the window, instead of adding a scrollbar, which means the buttons get cut off and it makes the layout wierd...

Can anyone help please? :)

EDIT - I've just figured out why... :P

Agnostic Bear
10-06-2008, 04:05 PM
Okay, I have been doing testing on browsers for Biolabs. It works perfectly for IE7, yet on firefox, there are no backgrounds for anything and it resizes itself when you change the width/length of the window, instead of adding a scrollbar, which means the buttons get cut off and it makes the layout wierd...

Can anyone help please? :)

Posting the CSS would help.

kk.
10-06-2008, 04:07 PM
for the width and it not adding a scrollbar, you can have it as a % or make sure it has nothing else in it like 'fixed' or something. (cant remember)

i cant get on your site so i cant really have a look.

jackass
10-06-2008, 04:09 PM
Okay, i've fixed the scrollbar and background things...

But the Body isn't centered, even though I set it as center (plus it works on IE7!)

Jack!
10-06-2008, 04:23 PM
tried PHP center or CSS?

kk.
10-06-2008, 04:24 PM
if you have a container, have you added...

margin-right: auto;
margin-left: auto;

to it? or added it to the body attribute

Decode
10-06-2008, 04:26 PM
tried PHP center or CSS?
Can you teach me this PHP center thing?

Jack!
10-06-2008, 04:29 PM
Im not 100% sure but there like a bit of code u can put in for a PHP file but i just stick to <center>

Kieran
10-06-2008, 06:02 PM
Its centered for me in FF...

jackass
10-06-2008, 08:01 PM
Its centered for me in FF...

Yeah, I know - I have fixed it now. :)

Independent
11-06-2008, 01:29 AM
Can you teach me this PHP center thing?
No such thing as "PHP center" fair enough if someone made an IDE named that, but there's no such function (unless custom).

use..

<center>Code centered</center>

or CSS..

text-align: center;

Want to hide these adverts? Register an account for free!