I have the way I want my site to look in chrome and I wanted to make it also look the same in mozilla therefore I replaced the webkit's with moz in the CSS. However the #mySection div is alot smaller in width in moz than chrome. There are screenshots of the differences below. 4c555d256e7cae4cf523e71aafa16c7947e95b4cdd1a556ae58d4e9b699e048d

Here is my CSS:

/* Resets everything so that there are no errors */
*{
    margin:0px;
    padding:0px;
}

/* Sets style fort headers and paragraphs */

h1{
    font: bold 30px Andale Mono;
}
h2{
    font: bold 25px Andale Mono;
}

p{
    font: normal 15px Andale Mono;
}

article p {
    margin-right:100px
}

article footer p {
    text-align: right;
    margin:0px;
}

header, nav, section, hgroup, aside, footer {
    display:block;
}

/* Makes the body flex */
body {
    width: 100%;
    display:-moz-box;
    -moz-box-pack: center;
}

/* resizes the "new" image */
article img {
    width:100px;
    height:100px;

}

/* Makes the body flex(resize) */
#big_wrapper {
    max-width: 1000px;
    margin:20px 0px;
    -moz-box-orient: vertical;
    -moz-box-flex: 1;
}


/* Style for header */
#myHeader {
    padding:20px;
    border: 2px solid grey;
    text-align: center;
    color:white;
    background: black;
    font:bold 30px Tahoma;
}

/* Style for navigation bar */
#myNav {
    background: white;
    border-bottom:2px solid blue;
    color:blue;
}

#myNav li{
    display: inline-block;
    list-style: none;
    padding: 10px;
    font: bold 15px Tahoma;
}

/* Style for main content */
#mySection {
    -moz-box-flex:
    margin:20px;
    padding:20px;
}

/* Makes the content re-size */
#otherDiv {
    display:-moz-box;
    -moz-box-orient: horizontal;
}



hr {
    margin-left: 15%;
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
/* Style for article */
article{
    padding: 20px;
    margin-bottom: 15px;
}

#myAside {
    padding: 20px;
    margin:20px 0px;
    background:white;
}

aside header{
    color:blue;
}

article footer {
    text-align: right;
    color:black;
}

#myFooter {
    margin-top:10px;
    border-top: 2px solid blue;
    color: #000000;
    text-align: center;
    padding: 20px;
}

.divImg {
    float:right;
}

#border1, #border3 {
    border: 1px solid black;
}

#border2 {
    border:10px solid #f7f7f7;
}

why don't you keep both -moz- and -webkit- at the same time ?
and why are you using them .. you can do this with simple css no need for moz and webkit, personally i use them only to round corners

I have done this so it is when the browsers/window of the browsers are resized the website changes shape, Can you do that with simple css?

Also to round corners, you dont need it, just use this:-

border-radius: 15px;

Aha I haven't tried that before but thank you.
Yes you can do this with css by using the percentages. Here's a fast example:

<div style="width:30%; float:left; background-color:red;">This i 30%</div>
<div style="width:70%; float:left; background-color:blue;">This i 70%</div>

I completely forgot about percentages, I will experiment with that today. Thank you:)

okay, you're welcome :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.