Einzelnen Beitrag anzeigen
Ungelesen 15.09.10, 02:50   #1
Valenta
Anfänger
 
Registriert seit: Aug 2009
Beiträge: 29
Bedankt: 0
Valenta ist noch neu hier! | 0 Respekt Punkte
Standard Grafiken werden verschoben (css)

Hallo irgendwie hat schaffe ich es einfach nicht meine seite zu coden
ich kann das problem nicht genau erklären

aber die ganzen grafiken haben sich verschoben seit dem ich das was im bild eingekreist ist gemacht habe



kann es sein das ich für solche effexte anders slicen muss oder so verstehe das einfach net deswegen habe ich noch ein bild gemacht wie ich die grafik gesliced hab



den code für diese funktion habe ich von einer anderen seite copiert
aber weil ich nicht genau weiß welchen teil ich dafür brauche habe ich die ganze css datei kopiert und in meine html datei gepackt

hier die css datei

PHP-Code:
/* =================== Getting the new tags to behave START ====================== */

articleasideaudiocanvascommanddatalistdetailsembedfigcaptionfigurefooterheaderhgroupkeygenmeternavoutputprogresssectionsourcevideo displayblock; }
markrprtrubysummarytime displayinline }

/* ==================== Getting the new tags to behave END ======================= */





/* ========================= Global properties START ============================= */

body {
    
background#000;
    
min-width980px;
    
height100%;
    
font-familyArialHelveticasans-serif;
    
line-height1em;
    
color#bebebe;
}

html {
    
backgroundtransparent;
    
min-width980px;
    
height100%;
    
margin0;
    
padding0;
    
outline0;
    
vertical-aligntop;
    
font-size100%;
}

div {
    
border0 none;
    
font-size100%;
    
margin0;
    
padding0;
    
border0;
    
outline0;
    
vertical-aligntop;
}

{
    
outlinenone;
    
color#11b6fb;
}

    
a:hover {
        
text-decorationnone;
    }
    
/* ========================= Global properties END =============================== */






/* ========================= Global Structure START ============================== */

#main-tail {
    
backgroundurl(../images/main-tail.gifrepeat 50204px;
}

#main-tail-top {
    
backgroundurl(../images/main-tail-top.gifrepeat-x 500%;
}

#main-tail-bot {
    
backgroundurl(../images/main-tail-bot.gifrepeat-x 50100%;
}

#main {
    
width970px;
    
margin0 auto;
    
font-size0.75em;
}

header {
    
positionrelative;
    
height217px;
}

section#content {
    
width100%;
}

footer {
    
height123px;
    
overflowhidden;
}

/* ========================= Global Structure END ================================ */






/* ====================== Left & Right alignment START =========================== */

.fleft {
    
floatleft;
}

.
fright {
    
floatright;
}

    
ul.fright {
        
padding0 13px 0 0;
    }

.
col-1, .col-2, .col-3, .col-{
    
floatleft;
    
overflowhidden;
}

.
block-1, .block-2, .block-3, .block-{
    
floatleft;
    
overflowhidden;
}

.
aligncenter {
    
padding15px 0 0 0;
    
text-aligncenter;
}

.
wrapper {
    
width100%;
    
overflowhidden;
}

.
clear {
    
clearboth;
    
font-size0%;
    
line-height0%;
    
height0;
}

/* ====================== Left & Right alignment END ============================= */





/* ============================== header START =================================== */

header strong {
    
displayblock;
    
line-height1.333em;
    
font-size1em;
    
font-weightnormal;
    
color#f0f0f0;
    
positionabsolute;
    
top71px;
    
left157px;
}

#navi {
    
background#11b6fb;
    
padding0 10px 0 14px;
    
positionabsolute;
    
top0;
    
right1px;
}

    
#navi li {
        
floatleft;
    }
    
        
#navi li a {
            
background#11b6fb;
            
floatleft;
            
height32px;
            
padding0 10px 0 8px;
            
line-height32px;
            
text-decorationnone;
            
color#fff;
        
}
        
        
#navi li a:hover {
            
color#000;
        
}

#type {
    
positionabsolute;
    
top108px;
    
left0;
}

    
#type li {
        
floatleft;
        
padding0 0 0 1px;
    }
    
        
#type li a {
            
floatleft;
            
height47px;
            
overflowhidden;
            
padding0 9px 0 9px;
            
line-height48px;
            
font-size1.583em;
            
text-decorationnone;
            
color#6b6b6b;
        
}
        
        
#type li.act a {
            
background#000;
            
color#fff;
        
}
        
        
#type li a:hover {
            
background#000;
            
color#fff;
        
}

nav {
    
positionabsolute;
    
top155px;
    
left10px;
}

    
nav ul {
        
overflowhidden;
    }
    
        
nav ul li {
            
floatleft;
            
padding0 21px 0 0;
            
line-height50px;
            
font-size1em;
            
text-transformuppercase;
            
color#fff;
        
}
        
            
nav ul li a {
                
floatleft;
                
height49px;
                
overflowhidden;
                
text-decorationnone;
                
color#fff;
            
}
            
                
nav ul li a:hover {
                    
color#11b6fb;
                
}
            
            
nav ul li.act a {
                
color#11b6fb;
            
}

/* =============================== header END ==================================== */





/* ============================= content START =================================== */

#content {
    
backgroundurl(../images/content.gifrepeat-y 00%;
}

    
#content #indent {
        
padding13px 16px 16px 14px;
    }
    
        
#content p {
            
padding0 0 18px 0;
            
line-height1.5em;
            
font-size1em;
            
color#bebebe;
        
}

/* ============================== content END ==================================== */



/* ============================= JS START ===================================== */

#gallery {
    
positionrelative;
    
width773px;
    
height575px;
    
overflowhidden;
    
margin0 0 16px 0;
}

#faded {
    
width938px;
    
height467px;
}

ul.pagination {
    
positioninherit;
    
top0;
    
right0;
    
font-familyVerdana;
    
font-size13px;
    
}

    
ul.pagination li {
        
padding0 0 1px 0;
    }
    
        
ul.pagination li a {
            
backgroundurl(../images/pagination.gifno-repeat 00%;
            
displayblock;
            
width206px;
            
height74px;
            
padding30px 25px 12px 40px;
            
overflowhidden;
            
line-height1.0em;
            
font-size1em;
            
text-decorationnone;
            
color#8b8b8b;
        
}
        
        
ul.pagination li a.extra {
            
backgroundurl(../images/pagination-1.gifno-repeat 00%;
        }
        
            
ul.pagination li.current aul.pagination li a:hover {
                
background-position0% -116px !important;
                
color#1b1b1b;
            
}
            
        
ul.pagination li a strong {
    
displayblock;
    
text-transformuppercase;
    
color#F90;
        
}
            
            
ul.pagination li.current a strongul.pagination li a:hover strong {
                
color#fff;
            
}
    
/* ============================== JS END ====================================== */





/* =================== txt, links, lines, titles START =========================== */

h1 {
    
positionabsolute;
    
top39px;
    
left3px;
}

    
h1 a {
        
backgroundurl(../images/logo.gifno-repeat 00%;
        
displayblock;
        
width151px;
        
height45px;
        
overflowhidden;
    }
    
        
h1 a span {
            
displaynone;
        }

h2 {
    
background#11b6fb;
    
height45px;
    
margin0 0 1px 0;
    
padding0 0 0 19px;
    
overflowhidden;
    
line-height42px;
    
font-size1.5em;
    
text-transformuppercase;
    
color#fff;
}

h3 {
    
background#fff;
    
height45px;
    
margin0 0 1px 0;
    
padding0 0 0 18px;
    
overflowhidden;
    
line-height44px;
    
font-size1.5em;
    
text-transformuppercase;
    
color#2f2f2f;
}

h4 {
    
background#262626;
    
height45px;
    
margin0 0 1px 0;
    
padding0 0 0 17px;
    
overflowhidden;
    
line-height44px;
    
font-size1.5em;
    
text-transformuppercase;
    
color#fff;
}

h5 {
    
padding0 0 7px 0;
    
line-height1.5em;
    
font-size1em;
    
text-transformuppercase;
    
color#fff;
}

h6 {
    
padding0 0 7px 0;
    
line-height1.5em;
    
font-size1em;
    
text-transformuppercase;
    
color#11b6fb;
}

    
h6 strong {
        
displayblock;
        
padding0 0 20px 0;
    }

.
link {
    
background#fff url(../images/arrow-2.gif) no-repeat 100% 13px;
    
floatright;
    
height31px;
    
padding0 18px 0 10px;
    
line-height28px;
    
font-weightbold;
    
text-decorationnone;
    
color#262626;
}
    
    .
link:hover {
        
background#bebebe url(../images/arrow-2.gif) no-repeat 100% 13px;
    
}

.list {
    
overflowhidden;
}

    .list 
li {
        
backgroundurl(../images/marker.gifno-repeat 09px;
        
padding0 0 0 12px;
        
line-height1.917em;
        
font-size1em;
        
color#000;
    
}
    
        .list 
li a {
            
color#000;
        
}

.list-
{
    
width100%;
    
padding0 0 19px 0;
    
overflowhidden;
}

    .list-
1 li {
        
floatleft;
        
width234px;
        
padding0 1px 0 0;
    }
    
    .list-
1 li.last {
        
padding0;
    }
    
        .list-
1 li a {
            
background#2f2f2f;
            
displayblock;
            
padding17px 20px 18px 19px;
            
line-height1.5em;
            
font-size1em;
            
text-decorationnone;
            
color#bebebe;
        
}
        
            .list-
1 li a strong {
                
displayblock;
                
padding0 0 10px 1px;
                
text-transformuppercase;
                
color#11b6fb;
            
}
            
            .list-
1 li a b {
                
backgroundurl(../images/arrow.gifno-repeat 1006px;
                
padding0 7px 0 7px;
                
color#fff;
            
}
        
        .list-
1 li.extra a {
            
background#262626;
        
}
        
        .list-
1 li a:hover {
            
background#fff;
            
color#6d6d6d;
        
}
        
            .list-
1 li a:hover b {

                
backgroundurl(../images/arrow-1.gifno-repeat 1006px;
                
color#161616;
            
}

.list-
{
    
width100%;
    
overflowhidden;
}

    .list-
2 li {
        
width100%;
        
padding0 0 1px 0;
        
overflowhidden;
        
vertical-aligntop;
    }
    
        .list-
2 li img {
            
floatleft;
        }
        
        .list-
2 li a {
            
background#2f2f2f;
            
displayblock;
            
width194px;
            
min-height108px;
            
heightauto !important;
            
height108px;
            
padding16px 20px 10px 21px;
            
floatleft;
            
line-height1.5em;
            
font-size1em;
            
text-decorationnone;
            
color#bebebe;
        
}
        
            .list-
2 li a strong {
                
displayblock;
                
padding0 0 7px 0;
                
text-transformuppercase;
                
color#11b6fb;
            
}
            
            .list-
2 li a b {
                
backgroundurl(../images/arrow.gifno-repeat 1006px;
                
padding0 7px 0 7px;
                
color#fff;
            
}
            
        .list-
2 li.extra a {
            
background#262626;
        
}
        
        .list-
2 li a:hover {
            
background#fff;
            
color#6d6d6d;
        
}
        
            .list-
2 li a:hover b {
                
backgroundurl(../images/arrow-1.gifno-repeat 1006px;
                
color#161616;
            
}

.list-
{
    
overflowhidden;
}

    .list-
3 li {
        
width100%;
        
padding0 0 1px 0;
        
overflowhidden;
        
vertical-aligntop;
    }
    
        .list-
3 li a {
            
background#11b6fb;
            
displayblock;
            
min-height119px;
            
heightauto !important;
            
height119px;
            
padding15px 19px 0 19px;
            
line-height1.5em;
            
font-size1em;
            
font-weightbold;
            
text-decorationnone;
            
text-transformuppercase;
            
color#fff;
        
}
        
            .list-
3 li a:hover {
                
background#fff;
                
color#11b6fb;
            
}

.list-
{
    
width100%;
    
overflowhidden;
}

    .list-
4 li {
        
width100%;
        
padding0 0 1px 0;
        
overflowhidden;
        
vertical-aligntop;
    }
        
        .list-
4 li a {
            
background#2f2f2f;
            
displayblock;
            
min-height109px;
            
heightauto !important;
            
height109px;
            
padding15px 20px 10px 18px;
            
line-height1.5em;
            
font-size1em;
            
text-decorationnone;
            
color#bebebe;
        
}
        
            .list-
4 li a strong {
                
displayblock;
                
padding0 0 8px 0;
                
text-transformuppercase;
                
color#fff;
            
}
            
            .list-
4 li a b {
                
backgroundurl(../images/arrow-3.gifno-repeat 1006px;
                
padding0 7px 0 7px;
                
color#11b6fb;
            
}
            
        .list-
4 li.extra a {
            
background#262626;
        
}
        
        .list-
4 li a:hover strong {
            
color#11b6fb;
        
}

.list-
{
    
overflowhidden;
}

    .list-
5 li {
        
backgroundurl(../images/marker-1.gifno-repeat 09px;
        
padding0 0 0 12px;
        
line-height1.917em;
        
font-size1em;
        
color#11b6fb;
    
}
    
        .list-
5 li a {
            
color#11b6fb;
        
}

/* ==================== txt, links, lines, titles END ============================ */





/* ============================= forms START ===================================== */

#contact-form {
    
width100%;
    
overflowhidden;
}

#login-form {
    
width342px;
    
height23px;
    
overflowhidden;
    
positionabsolute;
    
top44px;
    
right0;
}

    
#login-form b {
        
backgroundurl(../images/login-input.gifno-repeat 00%;
        
displayblock;
        
width83px;
        
height23px;
        
padding0 2px 0 0;
        
overflowhidden;
        
floatleft;
        
font-weightnormal;
    }
    
        
#login-form b input {
            
backgroundnone;
            
width69px;
            
height13px;
            
padding5px 7px 5px 7px;
            
bordernone;
            
floatleft;
            
font-familyArialHelveticasans-serif;
            
font-size0.917em;
            
color#b8b8b8;
        
}
        
    
#login-form input#login-submit {
        
background#f2f2f2;
        
width43px;
        
height23px;
        
bordernone;
        
floatleft;
        
margin0 7px 0 0;
        
font-familyArialHelveticasans-serif;
        
font-size0.917em;
        
font-weightbold;
        
color#171717;
        
cursorpointer;
    }
    
    
#login-form span {
        
floatleft;
        
margin: -1px 0 0 0;
        
line-height1.091em;
        
font-size0.917em;
        
color#f2f2f2;
    
}
    
        
#login-form span a {
            
text-decorationnone;
            
color#f2f2f2;
        
}
        
        
#login-form span a:hover {
            
color#b8b8b8;
        
}
        
    
#login-form em {
        
displayblock;
        
width122px;
        
floatleft;
        
line-height1.091em;
        
font-size0.917em;
        
font-stylenormal;
        
color#11b6fb;
    
}
    
        
#login-form em a {
            
text-decorationnone;
            
color#f2f2f2;
        
}
        
        
#login-form em a:hover {
            
color#b8b8b8;
        
}

#search-form {
    
backgroundurl(../images/search-input.gifno-repeat 00%;
    
width263px;
    
height23px;
    
overflowhidden;
    
positionabsolute;
    
top83px;
    
right1px;
}

    
#search-form input {
        
backgroundnone;
        
width198px;
        
height13px;
        
padding5px 7px 5px 7px;
        
bordernone;
        
floatleft;
        
font-familyArialHelveticasans-serif;
        
font-size0.917em;
        
color#b8b8b8;
    
}
    
    
#search-form a {
        
background#11b6fb;
        
width49px;
        
height23px;
        
overflowhidden;
        
floatleft;
        
margin0 0 0 2px;
        
line-height22px;
        
font-size0.917em;
        
font-weightbold;
        
text-aligncenter;
        
text-decorationnone;
        
color#fff;
    
}
    
    
#search-form a:hover {
        
color#000;
    
}

/* ============================== forms END ====================================== */





/* ============================= other START ===================================== */

.pic-indent {
    
margin0 0 26px 0;
}

.
info-box {
    
background#262626;
    
margin0 0 1px 0;
}

    .
info-box .inner {
        
padding28px 20px 12px 20px;
    }

.
info-box-{
    
background#11b6fb;
    
width100%;
    
overflowhidden;
    
margin0 0 1px 0;
}

    .
info-box-.inner {
        
padding28px 20px 31px 19px;
    }
    
    .
info-box-1 p {
        
padding0 0 14px 0 !important;
        
line-height1.5em !important;
        
font-size1em !important;
        
color#fff !important;
    
}

.
info-box-{
    
background#fff;
    
width100%;
    
overflowhidden;
    
margin0 0 1px 0;
}

    .
info-box-.inner {
        
padding15px 20px 33px 19px;
    }

.
privacy {
    
background#262626;
    
padding28px 30px 21px 20px;
}

    .
privacy dl {
        
overflowhidden;
    }
    
        .
privacy dl dt {
            
padding0 0 12px 0;
            
line-height1.5em;
            
font-size1em;
            
font-weightbold;
            
text-transformuppercase;
            
color#11b6fb;
        
}
        
            .
privacy dl dt a {
                
text-decorationnone;
                
color#11b6fb;
            
}
            
            .
privacy dl dt a:hover {
                
text-decorationunderline;
            }
            
        .
privacy dd {
            
padding0 0 22px 0;
            
line-height1.5em;
            
font-size1em;
            
color#bebebe;
        
}

/* ============================== other END ====================================== */





/* ============================ footer START ===================================== */

footer .inner {
    
padding41px 20px 0 13px;
}

footer strong {
    
floatright;
    
line-height1.5em;
    
font-size1em;
    
color#fff;
}

    
footer strong a {
        
text-decorationnone;
        
color#11b6fb;
    
}
    
    
footer strong a:hover {
        
text-decorationunderline;
    }

footer p {
    
floatright;
    
line-height1.5em;
    
font-size1em;
    
font-weightbold;
    
color#fff;
}

    
footer p a {
        
margin0 0 0 9px;
        
text-decorationnone;
        
color#11b6fb;
    
}
    
    
footer p a:hover {
        
text-decorationunderline;
    }

.
type {
    
floatleft;
    
padding0 0 3px 0;
}

    .
type li {
        
floatleft;
        
padding0 21px 0 0;
        
line-height1.5em;
        
font-size1em;
        
color#11b6fb;
    
}
    
        .
type li a {
            
text-decorationnone;
            
color#11b6fb;
        
}
        
        .
type li.act a {
            
color#fff;
        
}
        
        .
type li a:hover {
            
color#fff;
        
}

.
menu-bot {
    
floatleft;
}

    .
menu-bot li {
        
floatleft;
        
padding0 22px 0 0;
        
line-height1.5em;
        
font-size1em;
        
color#757474;
    
}
    
        .
menu-bot li a {
            
text-decorationnone;
            
color#757474;
        
}
        
        .
menu-bot li a:hover {
            
text-decorationunderline;
        }

/* ============================= footer END ====================================== */ 
und hier der teil aus meiner html datei

PHP-Code:
                <ul class="pagination">
                  <
li> <a href="#" rel="0"> <strong>BLA BLA BLA BLA</strongtext text text text text text text text text text text text text text text text  text... </a> </li>
                  <
li> <a href="#" rel="1" class="extra"> <strong>BLA BLA BLA BLA</strongtext text text text text text text text text text text text text text  text text text...</a> </li>
                  <
li> <a href="#" rel="2"> <strong>BLA BLA BLA BLA</strongtext text text text text text text text text text text text text text text text  text... </a> </li>
                  <
li> <a href="#" rel="3" class="extra"> <strong>BLA BLA BLA BLA</strongtext text text text text text text text text text text text text text text text text... </a> </li>
                </
ul>
              </
div
wäre toll wenn mir jemand helfen könnte
Valenta ist offline   Mit Zitat antworten