View Full Version : CSS strange problem - and what do you think of this way coding?

Apple X
Jan 2, 2006, 02:25 PM
I created a website for a friend, but in firefox and safary there is a spacing on the top just as if there was an enter somewhere, and in explorer for mac (os9) it's just worse
2: how can I get the 2 block on the main page on the same height without enter?
Can anybody help me and maybe give some tips (should i convert it to xhtml?) is this a right way to create webpages?
I just created a simple page with notepad and didn’t design yet, but if have tips feel free to post them.

BTW in explorer for windows it’s displayed nearly perfect, also the fonts are rights

Link: http://www.bornpatrick.be
*sorry for bad English
*edit: typo's

Jan 3, 2006, 03:47 PM
This will get rid of the spacing:

body { margin: 0; padding: 0; }

and why, oh why are you serving up content with javascript? :confused:

Apple X
Jan 4, 2006, 10:26 AM
Thank you for helping me, but it didn't work...
I use javascript because i didn't want to use frames, iframes, object or whatever to load diffent pages but maybe there is an other way to do this, i don't know