div boxes for mozilla

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

div boxes for mozilla

Post 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
User avatar
DoraBear
Forum Newbie
Posts: 3
Joined: Tue May 20, 2003 10:10 am
Location: China

Post by DoraBear »

Use style sheet that recommended by W3C,
and pay attention to the way you write your code.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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.
Post Reply