[SAMMELTHREAD] Kleine Coding Fragen

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
  • geht bei beiden nicht
    zusätzliche 1)
    html {
    background-color: #e9e9e9;
    }
    #userPanel {
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-left: 440px;
    }
    .userPanel, .userPanel a {
    color: #fff;
    }
    #userPanel a:hover {
    color:#bfd9ff;
    }
    #userNote {
    padding-left: 8px;
    }
    #search {
    margin-top: 110px;
    padding-right: 400px;
    }
    #mce_editor_0 {
    background-image: url(../images/bynate/editor.png);
    }
    input#searchInput {
    border: 0px solid #394f5c;
    background-repeat: no-repeat !important;
    background: transparent;
    color: #000;
    width: 125px;
    }
    #logo, #header {
    border: 0px;
    }
    #headerContainer {
    background-image:url("../images/bynate/headerContainer.png");
    background-position: center top;
    background-repeat: repeat-x;
    }
    .mainMenu img {
    display: none;
    }
    .mainMenu {
    border: 0;
    background: transparent;
    position: relative;
    margin-top: -100px;
    z-index: 98;
    }
    .mainMenuInner {
    border: 0px !important;
    padding-left:25px;
    }
    .mainMenu {
    position: relative;
    top: 1px;
    background: transparent;
    border: 0px;
    z-index: 99;
    }
    .mainMenu ul {
    padding-left: 10px;
    padding-right: 5px;
    }
    .mainMenu .active a, .mainMenu .firstActive a, .mainMenu .lastActive a {
    background-image: url("../images/bynate/mainMenuActive.png") !important;
    background-position: center bottom;
    background-repeat: no-repeat;
    }
    .mainMenu a:hover,.active a:hover {
    background:transparent url(../images/bynate/mainMenuActive.png) scroll 0 0;
    background-position: center bottom;
    background-repeat: no-repeat;
    }
    .mainMenu a {
    border: 0px;
    padding-bottom: 6px;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    }
    #main {
    width: 950px;
    }
    #mainContainer {
    margin-top: 57px;
    padding: 0px;
    padding-left: 0px;
    padding-right: -2px;
    width: 1040px;
    margin-left: auto;
    margin-right: auto;
    background-image:url("../images/bynate/main.png");
    background-repeat: repeat-y;
    }
    .containerHead .containerIcon {
    float: right;
    }
    .containerHead .containerContent {
    margin-left: 10px;
    }
    .infoBox .container-1, .infoBox .container-2 {
    background: #e5e5e5;
    }
    .messageRight, .messageFramedRight {
    background : transparent url(../images/bynate/message.png) repeat-x;
    background-color : #cccccc;
    background-position: top right;
    }
    .messageLeft, .messageFramedLeft {
    background : transparent url(../images/bynate/message.png) repeat-x;
    background-color : #cccccc;
    background-position: top left;
    }
    #footer{
    border: 0px;
    background-image:url("../images/bynate/footer.png");
    background-position: left top;
    background-repeat: no-repeat;
    width:1045px;
    height: 70px;
    }
    .footerMenu ul {
    padding-left: 35px;
    color: #fff;
    }
    .footerOptions ul {
    padding-right: 35px;
    color: #fff;
    }
    .largeButtons a }
    line-height: 1;
    background-image: url("../images/bynate/largeButtons.png");
    background-position: right 0;
    background-repeat: no-repeat;
    padding: 0 7px 0 0;
    }


    .largeButtons a img {
    margin-top: 5px;
    margin-left: 7px;
    position: absolute;
    }
    .largeButtons a span }
    background-image: url("../images/bynate/largeButtons.png");
    background-position: left 1;
    background-repeat: no-repeat;
    padding: 9px 3px 0 36px;
    display: block;
    height: 25px;
    cursor: pointer;
    text-shadow: 0 -1px 0 #000;
    }
    .largeButtons a:hover {
    background-position: right -86px;
    }
    .largeButtons a:hover span {
    text-shadow: 0 -1px 0 #000;
    background-position: left -86px;
    }


    Zusätliche 2)
    .largeButtons a, .largeButtons li, .largeButtons a span { -webkit-border-radius: 5px; -moz-border-radius: 5px;}
    }
    .containerHead, .containerHead a {
    text-shadow: 0 1px 0 #000;
    }


    .smallButtons a span {
    text-shadow: 0 1px 0 #000;
    }


    .smallButtons a:hover span {
    text-shadow: 0 1px 0 #000;
    }


    .subTabMenu a span {
    text-shadow: 0 1px 0 #000;
    }


    .memberList li span {
    text-shadow: 0 1px 0 #000;
    }


    .tabMenu ul li.activeTabMenu a {
    text-shadow: 0 1px 0 #2F3B42;
    }


    .info, .success, .warning, .error {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    }


    .copyright:after {
    content: " | Design & Code by www.creative-styles.org"
    }


    input#searchInput, .slider {
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    }


    .info, .success, .warning, .error, .help, fieldset, .quoteBox, .wysiwygQuote, #userCard, .userCardInner, .sidebar .border, .sidebar .border .content, .avatarSelect li.container-4, .avatarSelect li label, .floatedElement, .popupMenu, .loginPopup, .loginPopup .container-1, .message, .messageInner, .messageFramedLeft .messageContent, .messageFramedLeft .messageContentInner, .messageFramedRight .messageContent, .messageFramedRight .messageContentInner, .messageFramedTop .messageContent, .messageFramedTop .messageContentInner, .simpleBar ul, .slider .handle {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    }


    textarea, select, input[type="text"], input[type="password"], .memberList li, .smallButtons > ul > li, .smallButtons > ul > li > a, .extraButton, .extraButton a, .optionButtons > ul > li, .optionButtons > ul > li > a, .subTabMenu .containerHead li a, .pmUsageBar, .userAvatarFramed, .userAvatarFramed a, .userAvatarFramed img, .simpleBar li a {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    }


    .pmUsageBar > div {
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    }


    .messageLeft .messageContent, .messageLeft .messageContentInner {
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    }


    .messageRight .messageContent, .messageRight .messageContentInner {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    }


    .popupMenu li:first-child a, #boardlist .border, .titleBarPanel, .titleBarPanel .containerHead, .messagePreview, .subTabMenu, .subTabMenu .containerHead, .containerHead, .messageTop .messageSidebar, .messageFramedTop .messageSidebar, .thumbnailButtons div {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    }


    .searchInputMenu .pageMenu, .popupMenu li:last-child a, .twoRows li:last-child a { /* last item wrong? */
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    }


    .tabMenu li:last-child, .tabMenu li:last-child a {
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
    }


    .tabMenu li:first-child, .tabMenu li:first-child a {
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
    }


    .codeBox {
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    }


    #boardlist .border .boardlistInner, .twoRows li:last-child a, .dataList li:last-child, .sidebar .tabMenuContent .thumbnailView {
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    }


    .messageTop .messageContent, .messageTop .messageContentInner, #boardlist ul .boardlistInner {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    }


    .mceToolbar .popupMenu, .mceToolbar .popupMenu li, .mceToolbar .popupMenu li a, .editorCodeView, .column fieldset .editor, .column fieldset .border, .attachmentPreview, .attachmentPreview li, .tableList td.containerHead, .contentBox .subTabMenu .containerHead, .balloonArrow {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    }


    .loginPopup input#quickLoginUsername {
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    }


    .loginPopup input#quickLoginPassword {
    -webkit-border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    }


    .popupMenu li a, #boardlist .border .boardlistInner:first-child {
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    }


    .messageBody a.enlargable img, .galleryAlbumCover img, .galleryIndex .floatedElement:hover a .thumbnail img, .galleryIndex .floatedElement:hover a .thumbnail .lower, .galleryPhoto img:hover, .galleryPhotoEdit img:hover {
    -webkit-box-shadow: 0 3px 7px #000;
    -moz-box-shadow: 0 3px 7px #000;
    box-shadow: 0 3px 7px #000;
    }


    .galleryPhoto img, .galleryPhotoEdit img, .galleryAlbumEdit img, .balloonContent {
    -webkit-box-shadow: 0 3px 7px #000;
    -moz-box-shadow: 0 3px 7px #000;
    box-shadow: 0 3px 7px #000;
    }


    .avatarSelect li label:hover, .galleryIndex .floatedElement .thumbnail img, .lower, .sidebar .floatedElement .thumbnail img {
    -webkit-box-shadow: 0 1px 3px #000;
    -moz-box-shadow: 0 1px 3px #000;
    box-shadow: 0 1px 3px #000;
    }


    .squared .thumbnail img {
    -webkit-box-shadow: 0 1px 3px #000;
    -moz-box-shadow: 0 1px 3px #000;
    box-shadow: 0 1px 3px #000;
    }


    .imageViewerCurrentImage, .overlay {
    -webkit-box-shadow: 0 3px 23px #000;
    -moz-box-shadow: 0 3px 23px #000;
    box-shadow: 0 3px 23px #000;
    }


    .isPrivate, .squared .thumbnail img.pointer {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    }


    Wo soll das jetzt hin?!

  • Das Beim ersten...



    Spoiler anzeigen

  • Sofern deine Java-Compiler Implementation das so akzeptiert, macht es keinen Unterschied.
    Allerdings solltest du bedenken, dass <zahl>f (z.B. 1000.2f) eine Float-Zahl ist und ein sehr genauer Compiler bei einem double einen Fehler - oder Warning - erzeugt.
    Für doubles gibt es die Syntax <zahl>d

  • In Welcher Programiersprache?
    Bei Visual.NET Applicationen gehst du auf Projekt Eigenschaften und dann solltest du das schon shene.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen