Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default [CODING HELP] Dreamweaver versus Firefox

    Alright, ive started to code a layout and ive done all the CSS etc. The only problem is that when I use margins and padding it seems to show up in Dreamweaver, but not in the browser. Is there any reason for this?

    Dreamweaver:



    Browser/Firefox:



    +Rep for all contributers.

    Also, I do realize that some images that are sliced aren't sliced properly.


    Selling DJ/Habbo layout, more info here.


  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Lets see the code ^^

  3. #3
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    Here it is:

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #body {
    	width: 800px;
    	height: 700px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 9px;
    	background-image: url(images/bodybg.png);
    }
    
    #banner {
    	width: 800px;
    	height: 197px;
    	background: url(images/banner.png);
    	background-repeat: repeat-y;
    }
    
    #lcol {
    	width: 33px;
    	height: 332px;
    	float: left;
    }
    
    #home {
    	width: 31px;
    	height: 109px;
    	background-image: url(images/home.png);
    }
    
    #about {
    	width: 32px;
    	height: 109px;
    	background-image: url(images/aboutus.png);
    }
    
    #contact {
    	width: 31px;
    	height: 114px;
    	background-image: url(images/contactus.png);
    }
    
    #banner2 {
    	width: 740px;
    	height: 53px;
    	background-image: url(images/botbanner.png);
    	margin-left: -2px;
    }
    
    #content {
    	width: 664px;
    	height: 338px;
    	padding-left: 30px;
    	margin-left: 30px;
    }
    
    #contop {
    	width: 664px;
    	height: 25px;
    	background-image: url(images/contop.png);
    }
    
    #conmid {
    	width: 664px;
    	background-image: url(images/conmid.png);
    }
    
    #conbot {
    	width: 664px;
    	height: 2px;
    	background-image: url(images/conbot.png);
    }
    
    #rcol {
    	width: 29px;
    	height: 334px;
    	float: right;
    	margin-top: 0px;
    }
    
    #services {
    	height: 109px;
    	width: 29px;
    	background-image: url(images/services.png);
    }
    
    #buy {
    	width: 29px;
    	height: 109px;
    	background-image: url(images/buy.png);
    }
    
    #staff {
    	width: 29px;
    	height: 114px;
    	background-image: url(images/staff.png);
    }
    
    #footer {
    	width: 800px;
    	height: 78px;
    	margin-top: 31px;
    	background-image: url(images/footer.png);
    }
    </style>
    </head>
    
    <body>
    <div id="body">
    <div id="banner"></div>
    <div id="lcol">
    <div id="home"></div>
    <div id="about"></div>
    <div id="contact"></div>
    </div>
    
    <div id="banner2"></div>
    <div id="rcol">
    <div id="services"></div>
    <div id="buy"></div>
    <div id="staff"></div>
    </div>
    <div id="content">
    <div id="contop"></div>
    <div id="conmid">tyvm</div>
    <div id="conbot"></div>
    </div>
    
    
    
    <div id="footer"></div>
    
    </div>
    </body>
    </html>


    Selling DJ/Habbo layout, more info here.


  4. #4
    Join Date
    Jul 2007
    Location
    Scotland
    Posts
    529
    Tokens
    0

    Default

    Bad coding. Thats what it's down to. Dreamweaver SEEMS to use IE standards.

  5. #5
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    Quote Originally Posted by RichardKnox View Post
    Bad coding. Thats what it's down to. Dreamweaver SEEMS to use IE standards.
    knocking on from what Richard here has said, I personally would start again?

  6. #6
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    have you used the browser compatibility checker?
    Chippiewill.


  7. #7
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    Quote Originally Posted by Eccentric View Post
    knocking on from what Richard here has said, I personally would start again?
    Alright, Ill try that. Any suggestions on what to do/not do?


    Selling DJ/Habbo layout, more info here.


  8. #8
    ScottDiamond. Guest

    Default

    Your coding is crap.

    (God I sound like Sygon Chung Shoo Wing Yuh here)

  9. #9
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    Any comments on what to fix?

    And what about it is 'crap'?


    Selling DJ/Habbo layout, more info here.


  10. #10
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    hmm u can minimize the amount of css u use

Page 1 of 3 123 LastLast

Posting Permissions

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