hintergrund bild verschoben!?
lima-city → Forum → Die eigene Homepage → Homepage Allgemein
art
auto
bild
button
code
display
fehler
first
forum
header
image
list
navigation
position
produzierten fehler
span
text
type
url
vergleichen
-
hallo ich habe heute ein design umgeschriebn
und habe im css code eigentlich nur die schriftfarben geändert doch jetzt is das hintergrund bild nach rechts verschoben
kann mir jemand helfen?
hier mal der css code:
a { color:#000; text-decoration:none; } a:hover { text-decoration:noe; } a, a.white, li.white a { color : #000; text-decoration : none; } a:hover.white, li.white a:hover { color : #000; text-decoration : none; } a.side { color : #000; text-decoration : none; } a:hover.side { color : #000; text-decoration : none; font-weight:bold; } body { font-family : Helvetica, sans-serif; font-size : 11px; background-image: url(images/fundal.jpg); background-color: #fff788 background-position: top center; background-attachment: fixed; background-repeat: repeat-y; margin: 0px auto; } form { margin : 0px; } hr { height : 1px; border : 1px solid #000; } hr.side-hr { height : 1px; border : 1px solid #F10F0A; } td { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 12px; } pre { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; } .alt { color : #75008F; } img { border: 0px; } #main {width: 874px;} .main {width: 874px;} .footermain { background-image: url(images/backgroundfooter.png); background-repeat: repeat-x; height: 150px; text-align: center; } .footer_t { font-family : Helvetica, sans-serif; font-size : 11px; padding: 1px 10px 1px 10px; width: 50%; text-align: center; color: #000; } #footer a { color: #000; font-weight: bold; text-decoration: none; } li.first-link .bullet{ display: none; } .button { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; background : url(images/button.png); height : 20px; margin-top : 2px; } .bbcode { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; background-color : #b04300; border : 1px solid #000; margin-top : 2px; } .textbox { font-family : Helvetica, sans-serif; font-size : 11px; color : #000; background-color : #fff788; border : 1px solid #ccc; } .main-body { font-size : 11px; color : #000; background-image: url(images/stiri.jpg); padding : 1px 0px 5px 0px; } .setuser_body{ background: #00528e; color : #000; } .main-bg { color : #b04300; background-image: url(images/stiri.jpg); border : 1px solid #000; padding : 10px 5px 10px 5px; } .border { border : 0px solid #000; } .admin-message { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: center; color: #000; background-color: #fff788; border: 1px solid #000; padding: 3px 4px 5px 4px; margin-bottom: 5px; } .side-body { width: 140px; font-family : Verdana; text-align: left; font-size : 10px; color : #000; padding : 4px 4px 4px 7px; } .side-border-left { width: 140px; color : #000; background-image: url(images/side_left.jpg); padding : 10px 5px 10px 10px; } .side-border-right { width: 140px; color : #000; background-image: url(images/side_right.jpg); padding : 10px 10px 10px 5px; } .news-category { border: 0; margin: 3px 5px 0 0; float: left; } .news-footer { font-size : 10px; color : #000; background-color: #fff788; background-image: url(images/stiri.jpg); padding : 3px 4px 4px 4px; } .capmain { font-family : Helvetica, sans-serif; font-size : 11px; font-weight : bold; text-align : center; color : #000; background-color : #fff788; background-image: url(images/capmain.jpg); background-repeat: repeat-x; padding : 2px 0px 4px 0px; } .scapmain { font-family : Tahoma; font-size : 11px; text-align : right; font-weight : bold; color : #000; padding-left : 10px; height: 36px; background-image: url(images/meniu.png); background-repeat: no-repeat; padding : 10px 1px 1px 0px; } .tbl-border { color : #000; background-color : #fff788; } .center { margin: 0 auto; } .spacer { margin-bottom: 5px; } .tbl { font-size : 11px; color : #000; background-image: url(images/stiri.jpg); padding : 4px; } .tbl1 { font-size : 11px; color : #000; background-image: url(images/stiri.jpg); padding : 4px; } .tbl2 { font-size : 11px; color : #000; background-color: #fff788; padding : 4px; } .forum-caption { font-size : 11px; font-weight : bold; color : #000; background-color : #fff788; padding : 2px 4px 4px 4px; } .quote { font-size : 11px; color : #000; background-color : #fff788c; padding : 4px; margin : 0px 20px 0px 20px; border : 1px solid #000; } .poll { height : 12px; border : 1px solid #000000; } .comment-name { font-weight : bold; color : #000; } .shoutboxname { font-weight : bold; color : #000; } .shoutbox { color : #000; } .shoutboxdate { font-size : 10px; color : #000; } .small { font-size : 10px; font-weight : normal; } .small2 { font-size : 10px; font-weight : normal; color : #000000; } .side-small { font-size : 10px; font-weight : normal; color : #410082; background-color : #fff788; } .side-label { color : #410082; background-color : #fff788; padding : 2px 2px 3px 2px; } .tablebreak { margin-bottom: 8px; } #navigation ul { margin: 0; padding: 0; list-style-type: none; } #navigation h2 { font-size: 12px; color: #000; margin: 0; padding: 2px; } #navigation a { display: block; color: #000; padding: 2px; text-decoration : none; } #navigation a:hover { color: #000; background-color: #fff788; text-decoration : underline; } * html #navigation ul li{ height: 1%; } .center, *[align="center"] {margin: 0 auto;} /* Page Navigation */ .pagenav { padding: 4px; } .pagenav span { color: #000; background-color: #fff788; border: 1px solid #000; padding: 2px 4px 2px 4px; margin: 2px; } .pagenav a { color: #000; background-color: #fff788; border: 1px solid #000; padding: 2px 4px 2px 4px; margin: 2px; text-decoration: none; } .pagenav a:hover { color: #000; background-color: #fff788; margin: 2px; text-decoration: none; } .white-header ul{ margin: 0; padding: 0; } .white-header ul li{ display: inline; } .white-header ul li.first-link .bullet{ display: none; } #altlinkler{ margin: 0px auto; text-align: center; font-family: Orator Std; font-size: 12px; font-weight: bold; height:29px; float:left; background-image:url(images/nav-bg.png); background-repeat:repeat-x; background-position:left; width:100%; } #altlinkler ul, #altlinkler li{ padding:0px; margin:0px; list-style-type:none; } #altlinkler ul{ height:29px; line-height:29px; background-image:url(images/nav-bg.png); background-position:right; background-repeat:no-repeat; float:left; } #altlinkler li{ height:29px; line-height:29px; display:inline; position:relative; float:left; width:100px; text-align:center; } #altlinkler li a{ height:29px; width:100px; text-align:center; float:left; background-image:url(images/nav-bg.png); background-position:left; background-repeat:no-repeat; } #altlinkler li a:link, #altlinkler li a:visited{ color:#dddddd; text-decoration:none; } #altlinkler li.active a, #altlinkler li a:hover{ background-image:url(images/nav-up.png); background-repeat:no-repeat; background-position:left; }
-
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage
-
danke!
was son dummes ; alles ausmachen kann.... -
ich nehm fürs coden immer PSPad. da siehst du sowas meist an der farbe.
Ist freeware und kanns nur empfehlen -
Mach dir am besten immer ein backup und dann hast du wenigstens etwas zum vergleichen. Auf die art hab ich mir css beigebracht. Etwas geändert und geschaut was sich tut. Schade dass man irgendwie die meiste zeit beim coden immer damit verbringt seine produzierten fehler auszubessern :(
-
marflow schrieb: Mach dir am besten immer ein backup und dann hast du wenigstens etwas zum vergleichen. Auf die art hab ich mir css beigebracht. Etwas geändert und geschaut was sich tut. Schade dass man irgendwie die meiste zeit beim coden immer damit verbringt seine produzierten fehler auszubessern :(
ja so mach ich das in der regel auch.....
bloss der fehler mit dem ; hab ich 2 mal gemacht:D
und somit war das bild beide male verschoben und wie du sagst man verbringt stunden seine fehler zu beheben:D
dabei ises teilweisse so einfach!
Beitrag zuletzt geändert: 15.3.2010 23:15:40 von malerco -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage