Rahmen in CSS wegbekommen

  • Hallo!

    Ich bekomme den verdammten Rahmen mit CSS nicht weg!

    anbei mein Script:

    <!-- DE -->
    <script src="https://wetter.ws.siag.it/Widget_v1.svc/…/0/Landscape.js">
    </script>
    <div id="meteoprovbz_widget"></div>
    <script>
    meteoprovbz_Widget.CreateWidget(document.getElementById("meteoprovbz_widget"));
    </script>

    <style>
    /* Container / RAND */
    #meteoprovbz_container {border: 0 none !important;}
    #meteoprovbz_container {background-color: transparent !important;}

    #meteoprovbz_container td {border: 0 none !important;}
    #meteoprovbz_container td {background-color: transparent !important;}

    #meteoprovbz_container thead th {border: 0 none !important;}
    #meteoprovbz_container thead th {background-color: transparent !important;}

    .meteoprovbz_min {background-color: transparent !important;}
    .meteoprovbz_min {border: 0 none !important;}

    .meteoprovbz_max {background-color: transparent !important;}
    .meteoprovbz_max {border: 0 none !important;}

    .meteoprovbz_min {color: #2200FF !important; font-size: 9px !important;}
    .meteoprovbz_max {color: #FF0000 !important; font-size: 9px !important;}

    /* Container / RAND INTERN*/
    .meteoprovbz_temperatures {border: 0 none !important;}
    .meteoprovbz_icon {border: 0 none !important;}
    #meteoprovbz_widget {border: 0 none !important;}

    /* Grösse der Bilder */
    .meteoprovbz_icon img {width:60px;}
    .meteoprovbz_icon img {height:60px;}

    </style>

    Hinweis. Auf weissem Hintergrund sieht man nicht, dass der Rahmen da ist, anbei ein Bild auf anderen Hintergrund (siehe Anlae)


    BITTE UM HILFE!!

  • Damit kommen wir nicht weit, da man den HTML-Code nicht kennt. Ideal wäre ein Link zur Seite

  • Hast du mal mit den Entwicklerwerkzeugen des Browser versucht herauszufinden, wo die Linie herkommt?

  • habe den code analisiert, aber nichts herausgefunden...anbei der HTML-CODE

    <div id="custom_html-4" class="widget_text widget clearfix widget_custom_html">
    <p class="title-widget">Wetterprognose</p>

    <div class="textwidget custom-html-widget">
    <script src="https://wetter.ws.siag.it/Widget_v1.svc/…/0/Landscape.js">


    /*****************************************************************************\

    Javascript "Base64" library

    @version: 1.0 - 2005.11.19
    @author: Matteo Casati - http://www.guru4.net/
    @notes: first release.

    \*****************************************************************************/

    // static class (Base64) declaration
    function Base64() {}

    // publics
    Base64.encode = function(s)
    {
    Base64._setStr(s);
    var result = new Array(); // use array as string builder
    var inBuffer = new Array(3);
    var lineCount = 0;
    var done = false;
    while(!done && (inBuffer[0] = Base64._getStr()) != Base64._inputEnd)
    {
    inBuffer[1] = Base64._getStr();
    inBuffer[2] = Base64._getStr();
    result[result.length] = (Base64._chars[ inBuffer[0] >> 2 ]);
    if (inBuffer[1] != Base64._inputEnd)
    {
    result[result.length] = (Base64._chars [(( inBuffer[0] << 4 ) & 0x30) | (inBuffer[1] >> 4) ]);
    if (inBuffer[2] != Base64._inputEnd)
    {
    result[result.length] = (Base64._chars [((inBuffer[1] << 2) & 0x3c) | (inBuffer[2] >> 6) ]);
    result[result.length] = (Base64._chars [inBuffer[2] & 0x3F]);
    }
    else
    {
    result[result.length] = (Base64._chars [((inBuffer[1] << 2) & 0x3c)]);
    result[result.length] = ("=");
    done = true;
    }
    }
    else
    {
    result[result.length] = (Base64._chars [(( inBuffer[0] << 4 ) & 0x30)]);
    result[result.length] = ("=");
    result[result.length] = ("=");
    done = true;
    }
    lineCount += 4;
    if (lineCount >= 76)
    {
    result[result.length] = ("\n");
    lineCount = 0;
    }
    }
    return result.join("");
    }

    Base64.decode = function(s)
    {
    Base64._setStr(s);
    var result = new Array(); // use array as string builder
    var inBuffer = new Array(4);
    var done = false;
    while (!done && (inBuffer[0] = Base64._getReverse()) != Base64._inputEnd && (inBuffer[1] = Base64._getReverse()) != Base64._inputEnd)
    {
    inBuffer[2] = Base64._getReverse();
    inBuffer[3] = Base64._getReverse();
    result[result.length] = Base64._n2s((((inBuffer[0] << 2) & 0xff)| inBuffer[1] >> 4));
    if(inBuffer[2] != Base64._inputEnd)
    {
    result[result.length] = Base64._n2s((((inBuffer[1] << 4) & 0xff)| inBuffer[2] >> 2));
    if (inBuffer[3] != Base64._inputEnd)
    result[result.length] = Base64._n2s((((inBuffer[2] << 6) & 0xff) | inBuffer[3]));
    else
    done = true;
    }
    else
    done = true;
    }
    return result.join("");
    }

    // privates
    Base64._inputEnd = -1;
    Base64._chars = new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/");
    Base64._reverseChars = new Array();
    for(var i = 0; i < Base64._chars.length; i++)
    Base64._reverseChars[Base64._chars[i]] = i;
    Base64._str = "";
    Base64._count = 0;
    Base64._setStr = function(s)
    {
    Base64._str = s;
    Base64._count = 0;
    }
    Base64._getStr = function()
    {
    if(!Base64._str)
    return Base64._inputEnd;
    if(Base64._count >= Base64._str.length)
    return Base64._inputEnd;
    var c = Base64._str.charCodeAt(Base64._count) & 0xff;
    Base64._count++;
    return c;
    }
    Base64._getReverse = function()
    {
    if(!Base64._str)
    return Base64._inputEnd;
    while(true)
    {
    if(Base64._count >= Base64._str.length)
    return Base64._inputEnd;
    var nextCharacter = Base64._str.charAt(Base64._count);
    Base64._count++;
    if(Base64._reverseChars[nextCharacter])
    return Base64._reverseChars[nextCharacter];
    if (nextCharacter == "A")
    return 0;
    }
    return Base64._inputEnd;
    }
    Base64._n2s = function(n)
    {
    n = n.toString(16);
    if(n.length == 1)
    n = "0" + n;
    n = "%" + n;
    return unescape(n);
    }

    /*****************************************************************************\

    Javascript "Widget" code

    @version: 1.0 - 2010.10.15
    @author: Gini Agostino - http://www.siag.it/
    @notes: first release.

    \*****************************************************************************/

    function meteoprovbz_Widget() {}

    meteoprovbz_Widget.CreateWidget = function(element)
    {
    element.innerHTML = Base64.decode ("PHRhYmxlIGlkPSJtZXRlb3Byb3Ziel9jb250YWluZXIiIHN0eWxlPSJib3JkZXItY29sbGFwc2U6Y29sbGFwc2U7Ym9yZGVyOjFweCBzb2xpZCAjYmJiO2ZvbnQ6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vdmJ6X21pbiIgc3R5bGU9ImNvbG9yOiMwMGM7d2hpdGUtc3BhY2U6bm93cmFwO3BhZGRpbmc6MnB4OyIgdGl0bGU9Im1pbiI+MTQgsEM8L3RkPg0KCQkJPHRkIGNsYXNzPSJtZXRlb3Byb3Ziel9tYXgiIHN0eWxlPSJjb2xvcjojYzAwO3doaXRlLXNwYWNlOm5vd3JhcDtwYWRkaW5nOjJweDsiIHRpdGxlPSJtYXgiPjMxILBDPC90ZD4NCgkJPC90cj4NCgk8L3Rib2R5Pg0KPC90YWJsZT4NCg==");
    }


    </script>

    <div id="meteoprovbz_widget">
    <table id="meteoprovbz_container" style="border-collapse:collapse;border:1px solid #bbb;font:bold 12px/1.1 Arial,sans-serif;text-align:center;">
    <thead>
    <tr style="font-weight:bold;">
    <th colspan="2" style="padding:2px;border:1px dotted #ccc;border-style:none dotted;">Heute</th>

    <th colspan="2" style="padding:2px;border:1px dotted #ccc;border-style:none dotted;">Morgen</th>

    <th colspan="2" style="padding:2px;border:1px dotted #ccc;border-style:none dotted;">Freitag</th>


    </tr>


    </thead>

    <tfoot>
    <tr>
    <td colspan="6" style="text-align:left;border:1px dotted #ccc;border-style:dotted none none;font:normal 11px/1.5 Arial,sans-serif;padding:2px;">
    ©
    <a href="http://wetter.provinz.bz.it/" title="provider" target="_blank">Landeswetterdienst</a>


    </td>


    </tr>


    </tfoot>

    <tbody>
    <tr class="meteoprovbz_icon">
    <td colspan="2" style="padding:2px;border:1px dotted #ccc;border-style:none dotted;">
    <a href="http://wetter.provinz.bz.it/" target="_blank">
    <img src="https://wetter.ws.siag.it/imgsource/wetter/icon_3.png" alt="Wolkig" style="display:block;margin:0 auto;padding:0;border:0;">


    </a>


    </td>

    <td colspan="2" style="padding:2px;border:1px dotted #ccc;border-style:none dotted;">
    <a href="http://wetter.provinz.bz.it/" target="_blank">
    <img src="https://wetter.ws.siag.it/imgsource/wetter/icon_3.png" alt="Wolkig" style="display:block;margin:0 auto;padding:0;border:0;">


    </a>


    </td>

    <td colspan="2" style="padding:2px;border:1px dotted #ccc;border-style:none dotted;">
    <a href="http://wetter.provinz.bz.it/" target="_blank">
    <img src="https://wetter.ws.siag.it/imgsource/wetter/icon_21.png" alt="Wolkig, Gewitter mit mäßigen Schauern" style="display:block;margin:0 auto;padding:0;border:0;">


    </a>


    </td>


    </tr>

    <tr class="meteoprovbz_temperatures">
    <td class="meteoprovbz_min" style="color:#00c;white-space:nowrap;padding:2px;" title="min">15 °C</td>

    <td class="meteoprovbz_max" style="color:#c00;white-space:nowrap;padding:2px;" title="max">32 °C</td>

    <td class="meteoprovbz_min" style="color:#00c;white-space:nowrap;border:1px dotted #ccc;border-style:none none none dotted;padding:2px;" title="min">14 °C</td>

    <td class="meteoprovbz_max" style="color:#c00;white-space:nowrap;border:1px dotted #ccc;border-style:none dotted none none;padding:2px;" title="max">33 °C</td>

    <td class="meteoprovbz_min" style="color:#00c;white-space:nowrap;padding:2px;" title="min">14 °C</td>

    <td class="meteoprovbz_max" style="color:#c00;white-space:nowrap;padding:2px;" title="max">31 °C</td>


    </tr>


    </tbody>


    </table>


    </div>

    <script>


    meteoprovbz_Widget.CreateWidget(document.getElementById("meteoprovbz_widget"));


    </script>

    <style>


    /* Container / RAND */
    #meteoprovbz_container {border: 0 none !important;}
    #meteoprovbz_container {background-color: transparent !important;}

    #meteoprovbz_container td {border: 0 none !important;}
    #meteoprovbz_container td {background-color: transparent !important;}

    #meteoprovbz_container thead th {border: 0 none !important;}
    #meteoprovbz_container thead th {background-color: transparent !important;}

    .meteoprovbz_min {background-color: transparent !important;}
    .meteoprovbz_min {border: 0 none !important;}

    .meteoprovbz_max {background-color: transparent !important;}
    .meteoprovbz_max {border: 0 none !important;}

    .meteoprovbz_min {color: #9F9594 !important; font-size: 10px !important;}
    .meteoprovbz_max {color: #FF0000 !important; font-size: 10px !important;}

    /* Container / RAND INTERN*/
    .meteoprovbz_temperatures {border: 0 none !important;}
    .meteoprovbz_icon {border: 0 none !important;}
    #meteoprovbz_widget {border: 0 none !important;}


    /* Grösse der Bilder */
    .meteoprovbz_icon img {width:60px;}
    .meteoprovbz_icon img {height:60px;}


    </style>


    </div>


    </div>


    </div>


    </div>

    <div class="hermes-column hermes-column-3 clearfix">

  • WP nutzt für solche 'borderartigen' Striche auch gerne die Pseudoelemente ::before und ::after!
    Untersuche doch mal den Code-Bereich der Tabelle mit dem Inspektor (Webentwickler Tools) und schaue, ob da diesbezüglich irgendetwas zu finden ist?
    In dem geposteten Code ist, so wie ich das sehen kann, auf jeden Fall nichts drin, was diese Linien erzeugt.

    if(!sleep)

    {$sheep++;}


  • Oder geht das nicht wegen den word press oder wie das heißt ?


    ... genau deswegen.... Änderungen in den Originaldateien (zB style.css) werden beim nächsten Update wieder überschrieben. Das 'zusätzliche CSS' bleibt aber erhalten.

    if(!sleep)

    {$sheep++;}

  • ... Ich dachte das die Css genau wie überall bei ihn auf den Server liegt und er dann die ändern kann.


    Doch genau so geht das auch auch - aber WordPress arbeitet mit fertigen Templates (sogenannten Themes) und die werden mehr oder weniger regelmäßig upgedatet und bei diesen Updates werden dann die zum Theme gehörenden Dateien überschrieben. Die Änderungen sind dann futsch :(!
    Für dauerhafte Änderungen muss man also eine Methode wählen, die nicht überschrieben wird... s.o.

    if(!sleep)

    {$sheep++;}