Results 1 to 5 of 5

Thread: site looks wierd, i hate dreamweaver.

  1. #1
    Join Date
    Jan 2007
    Location
    Sweden
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default site looks wierd, i hate dreamweaver.

    well i hate dreamweaver but i thought id give it a shot.

    here's what my site's supposed to look like: http://img222.imageshack.us/img222/9756/helpddox5.png

    and here is the result: http://underground.ninetwozero.com/test.php

    got any suggestions? didnt know where to put it..
    Last edited by NineTwoZero; 01-29-2007 at 09:27 AM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Hey, nice design (though I can't see the image, ImageShack are doing that thing where they just don't answer a request for so long that the browser gives up).

    Looks like the default margins/padding might be messing you about. Set:
    Code:
    * {
      margin: 0;
      padding: 0;
    }
    ... then override as necessary. Also, validate your page, and if you're going to serve it as text/html, don't use an XHTML DOCTYPE. The correct MIME-type for XHTML is application/xhtml+xml, but be aware that this will prevent IE users from accessing your site. If you don't have a clue as to what I was just talking about, you definitely shouldn't be using XHTML.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jan 2007
    Location
    Sweden
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    aha..

  4. #4
    Join Date
    Jan 2007
    Location
    Sweden
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    about the marginoveride.. will it override my own marginsettings?

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No. The selector * has the lowest possible specificity: any other rule will override it. Your site may need some tweaking afterwards though.

    The answer for next time, of course, is to not use DreamWeaver in the first place
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •