Page 1 of 1

div boxes for mozilla

Posted: Mon May 19, 2003 12:14 pm
by nigma
Hey, I have a stylesheet that looks just like I want it on a IE browser but looks terrible on a mozilla browser. I am using div boxes.

Anyone help me get it so that when viewed on Mozilla it looks real similar to on IE?

Thanks

Posted: Tue May 20, 2003 10:16 am
by DoraBear
Use style sheet that recommended by W3C,
and pay attention to the way you write your code.

Posted: Tue May 20, 2003 4:00 pm
by patrikG
Two books I find useful when doing that sort of thing:

"Dynamic HTML - The definite Reference" (it truly is definite. Don't need anything else) by Dany Goodman

and O'Reilly's "Web Design in a Nutshell" - (has everything you would need) by Jennifer Niederst

For DIVs it's pretty much always a matter of positioning (if you are using them as layers) - have play around, have a look in the books - and once you got it running in IE, Moz and NS, look at it with Opera - and you will cry...

The lesson to be learnt: forget client-side stuff. Don't make it too fancy because you can. Do whatever possible server-side. You have more control and it works in all browsers.