CSS strange problem - and what do you think of this way coding?

Discussion in 'Web Design and Development' started by Apple X, Jan 2, 2006.

  1. Apple X macrumors newbie

    Dec 18, 2005
    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
  2. mnkeybsness macrumors 68030


    Jun 25, 2001
    Moneyapolis, Minnesota
    This will get rid of the spacing:

    body { margin: 0; padding: 0; }
    and why, oh why are you serving up content with javascript? :confused:
  3. Apple X thread starter macrumors newbie

    Dec 18, 2005
    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

Share This Page