Hi,

I made a website --> http://www.pgum-sill.pl/nowa_strona/index.html
In Chrome it looks as it should. But in Firefox and IE it crashes.

What should I change to make the website to look ok in every browser?
What I shouldn't use to avoid this kind of situation?

You have a few coding errors you could fix first, then see how it renders.

Run your page through the validator.

OK I did it. Now validator announce that everything is ok.
What now, because the website is still not working on Firefox and IE.

Hi kukula,

It's time to rewrite the site. You've done it using some very unsupported formats that appear to only be working with Chrome.

Example

img[height=223] { ... }

Either make sure to use pixels like this

img[height="223px"] { ... }

or try to NOT use those types of things.

OK I did it. Now validator announce that everything is ok.
What now, because the website is still not working on Firefox and IE.

Welcome to the pain of web design.

As floatingDivs said, your code structure is kind of odd.

Not sure why you need to use all that positioning at all. And you aslo placed <div id="content"> below everything, yet want this div with its backgroundimage to contain everything above it in the code, when really it should wrap around those elements.

I worked on a rework earlier, but got sidetracked and cant get back to it now. But we've given you some things to think about.

Welcome to the pain of web design.

hehe, nice!


I see I have to fix me code "a little bit" ;]

Thanks for the advices.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.