Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów
strona w ie się rozjeżdża - Wersja do druku

+- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl)
+-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www)
+--- Dział: Początkujący webmaster (https://www.webmastertalk.pl/forum-poczatkujacy-webmaster)
+--- Wątek: strona w ie się rozjeżdża (/thread-strona-w-ie-sie-rozjezdza)



strona w ie się rozjeżdża - Madon - 19-12-2010

Witam serdecznie,
wiem, że temat wałkowany pewnie już dużo razy i sam znalazłem parę na ten temat ale nie potrafię w swojej stronie zlikwidować rozjeżdżania się strony... w firefox i innych jest dobrze tak jak być powinno tylko w tej głupiej IE się rozjeżdża Sad Jeżeli ktoś będzie tak miły i zerknie co muszę zrobić, aby to naprawić byłbym nie zwykle wdzięczny Smile

oto adres stronki: www.madonski.pl

i treść pliku css:
Kod:
/* GLÓWNE FUNKCJONOWANIE STRONY */

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #383838;
    background: #ffffff;
    margin: 0px;
    padding: 0px;
}

a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #383838;
    text-decoration: none;
}

a:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

img {
    border: 0px;
}

/* TRESC STRONY */

#mainbg {
    width: 914px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/mainbg.jpg);
    overflow: hidden;
}

#maindiv {
    width: 850px;
    margin-left: auto;
    margin-right: auto;
}

#logo {
    width: 850px;
    height: 101px;
    background-image: url(../images/logo.jpg);
}

/* GÓRNE MENU */

#topmenu {
    padding-top: 28px;
    padding-left: 10px;
}

#topmenu ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#topmenu ul li {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 27px;
    display: inline;
    background-image: url(../images/toparrow.gif);
    background-repeat: no-repeat;
    background-position: bottom center;
}

#topmenu ul li:hover {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 27px;
    display: inline;
    background-image: url(../images/toparrow_on.gif);
    background-repeat: no-repeat;
    background-position: bottom center;
}

#topmenu ul li a {
    font-family: Arial, Helvetica, sans-serif;
    color: #fefefe;
    font-weight: bold;
}

#topmenu ul li a:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #ff8c0a;
    font-weight: bold;
}

#topmenu {
    clear: right;
    width: 840px;
    height: 59px;
    background-image: url(../images/topmenu.jpg);
}

#left {
    float: left;
    width: 270px;
    padding-bottom: 20px;
}

#right {
    float: right;
    width: 558px;
    padding-bottom: 20px;
}

#stopka {
    color: #fefefe;
    clear: both;
    width: 850px;
    height: 77px;
    background-image: url(../images/stopka.jpg);
}

#stopka a {
    font-weight: bold;
    color: #ff8c0a;
}

#stopka a:hover {
    font-weight: bold;
    color: #fefefe;
    text-decoration: underline;
}

#copyright {
    float: left;
    width: auto;
    padding-top: 35px;
    padding-left: 20px;
}

#designed {
    padding-top: 35px;
    padding-right: 20px;
    float: right;
    width: auto;
}

#designed h1 {
    font-size: 12px;
    display: inline;
}

/* BLOK MENU */

.menucat {
    color: #fefefe;
    font-weight: bold;
    width: 245px;
    height: 30px;
    background-image: url(../images/menucat.jpg);
    padding-left: 25px;
    padding-top: 13px;
}

.menutext {
    width: 260px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.menuimg {
    width: 270px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.menutextimg {
    float: left;
    width: auto;
    padding: 10px;
    background-color: #ccc;
    border: 1px solid #ffffff;
    margin-left: 8px;
    margin-bottom: 5px;
}

.menutextimg:hover {
    background-color: #999;
    border: 1px solid #ffffff;
}

.menutext ul {
    list-style: square;
    padding-left: 10px;
    margin: 0px;
}

.menutext ul li {
    padding-top: 4px;
}

.menutext ul li:hover {
    text-decoration: underline;
}

/* BLOK NEWSA */

.newscat {
    clear: both;
    color: #fefefe;
    font-weight: bold;
    padding-left: 25px;
    padding-top: 13px;
    width: 533px;
    height: 30px;
    background-image: url(../images/newscat.jpg);
}

.newstext {
    width: 548px;
    text-align: justify;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
}

.avatar {
    float: left;
    width: auto;
    padding-right: 10px;
    padding-bottom: 5px;
}

/* BLOK MALEGO NEWSA */

#nleft {
    float: left;
    width: 274px;
}

#nright {
    float: right;
    width: 274px;
}

.smallnewscat {
    color: #fefefe;
    font-weight: bold;
    padding-left: 25px;
    padding-top: 13px;
    width: 249px;
    height: 30px;
    background-image: url(../images/smallnewscat.jpg);
}

.smallnewstext {
    width: 274px;
    padding-bottom: 20px;
}

.smallnewstext ul {
    list-style: square;
    padding-left: 13px;
    padding-top: 5px;
    margin: 0px;
}

.smallnewstext ul li {
    padding-top: 4px;
}

.smallnewstext ul li:hover {
    text-decoration: underline;
}



RE: strona w ie się rozjeżdża - disaster - 19-12-2010

(19-12-2010, 13:32)Madon napisał(a): Witam serdecznie,
wiem, że temat wałkowany pewnie już dużo razy i sam znalazłem parę na ten temat ale nie potrafię w swojej stronie zlikwidować rozjeżdżania się strony... w firefox i innych jest dobrze tak jak być powinno tylko w tej głupiej IE się rozjeżdża Sad Jeżeli ktoś będzie tak miły i zerknie co muszę zrobić, aby to naprawić byłbym nie zwykle wdzięczny Smile

oto adres stronki: www.madonski.pl

i treść pliku css:
Kod:
/* GLÓWNE FUNKCJONOWANIE STRONY */

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #383838;
    background: #ffffff;
    margin: 0px;
    padding: 0px;
}

a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #383838;
    text-decoration: none;
}

a:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

img {
    border: 0px;
}

/* TRESC STRONY */

#mainbg {
    width: 914px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/mainbg.jpg);
    overflow: hidden;
}

#maindiv {
    width: 850px;
    margin-left: auto;
    margin-right: auto;
}

#logo {
    width: 850px;
    height: 101px;
    background-image: url(../images/logo.jpg);
}

/* GÓRNE MENU */

#topmenu {
    padding-top: 28px;
    padding-left: 10px;
}

#topmenu ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#topmenu ul li {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 27px;
    display: inline;
    background-image: url(../images/toparrow.gif);
    background-repeat: no-repeat;
    background-position: bottom center;
}

#topmenu ul li:hover {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 27px;
    display: inline;
    background-image: url(../images/toparrow_on.gif);
    background-repeat: no-repeat;
    background-position: bottom center;
}

#topmenu ul li a {
    font-family: Arial, Helvetica, sans-serif;
    color: #fefefe;
    font-weight: bold;
}

#topmenu ul li a:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #ff8c0a;
    font-weight: bold;
}

#topmenu {
    clear: right;
    width: 840px;
    height: 59px;
    background-image: url(../images/topmenu.jpg);
}

#left {
    float: left;
    width: 270px;
    padding-bottom: 20px;
}

#right {
    float: right;
    width: 558px;
    padding-bottom: 20px;
}

#stopka {
    color: #fefefe;
    clear: both;
    width: 850px;
    height: 77px;
    background-image: url(../images/stopka.jpg);
}

#stopka a {
    font-weight: bold;
    color: #ff8c0a;
}

#stopka a:hover {
    font-weight: bold;
    color: #fefefe;
    text-decoration: underline;
}

#copyright {
    float: left;
    width: auto;
    padding-top: 35px;
    padding-left: 20px;
}

#designed {
    padding-top: 35px;
    padding-right: 20px;
    float: right;
    width: auto;
}

#designed h1 {
    font-size: 12px;
    display: inline;
}

/* BLOK MENU */

.menucat {
    color: #fefefe;
    font-weight: bold;
    width: 245px;
    height: 30px;
    background-image: url(../images/menucat.jpg);
    padding-left: 25px;
    padding-top: 13px;
}

.menutext {
    width: 260px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.menuimg {
    width: 270px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.menutextimg {
    float: left;
    width: auto;
    padding: 10px;
    background-color: #ccc;
    border: 1px solid #ffffff;
    margin-left: 8px;
    margin-bottom: 5px;
}

.menutextimg:hover {
    background-color: #999;
    border: 1px solid #ffffff;
}

.menutext ul {
    list-style: square;
    padding-left: 10px;
    margin: 0px;
}

.menutext ul li {
    padding-top: 4px;
}

.menutext ul li:hover {
    text-decoration: underline;
}

/* BLOK NEWSA */

.newscat {
    clear: both;
    color: #fefefe;
    font-weight: bold;
    padding-left: 25px;
    padding-top: 13px;
    width: 533px;
    height: 30px;
    background-image: url(../images/newscat.jpg);
}

.newstext {
    width: 548px;
    text-align: justify;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
}

.avatar {
    float: left;
    width: auto;
    padding-right: 10px;
    padding-bottom: 5px;
}

/* BLOK MALEGO NEWSA */

#nleft {
    float: left;
    width: 274px;
}

#nright {
    float: right;
    width: 274px;
}

.smallnewscat {
    color: #fefefe;
    font-weight: bold;
    padding-left: 25px;
    padding-top: 13px;
    width: 249px;
    height: 30px;
    background-image: url(../images/smallnewscat.jpg);
}

.smallnewstext {
    width: 274px;
    padding-bottom: 20px;
}

.smallnewstext ul {
    list-style: square;
    padding-left: 13px;
    padding-top: 5px;
    margin: 0px;
}

.smallnewstext ul li {
    padding-top: 4px;
}

.smallnewstext ul li:hover {
    text-decoration: underline;
}

A jak się rozjeżdża bo niemam ie aktywnego że tak się wyrażę...firewall mi poblokował i nie działa teraz.
Bo patrzę na ff i kmeleonie i działa ok.


RE: strona w ie się rozjeżdża - Madon - 19-12-2010

do lewej ucieka zamiast pozostać na środku, odstępy między grafikami robi i nie których zdjęć nie wyświetla... o dziwo tam gdzie umieściłem galerie lightbox strona działa poprawnie w IE i teraz mam w ogóle mętlik w głowie