2017-03-04 31 views
0

林喜使主頁此鏈接: http://stephaniie.com/_testlab/beta1/index.html如何刪除空格在CSS

我很想知道如何刪除這些愚蠢的白線。 有人可以幫忙嗎?

編輯:我試圖用Michael的這種方法。

我將html-div改爲「quarter.scale-thumb」並添加到CSS中。

.quarter.scale-thumb { 
    -webkit-transform: scale(0.2); 
    -moz-transform: scale(0.2); 
    -o-transform: scale(0.2); 
    transform: scale(0.2); 
} 

沒有工作:(

使用minimap.css的代碼Im爲:

.minimap { 
    z-index:10000; 
    position:fixed; 
    cursor:pointer; 
    font-size: 0em; 
    display:block; 
    padding: 0; 
    margin: 0; 
    height: auto; 
    border: none; 
} 

.miniregion { 
    z-index : 10001; 
    position : fixed; 
    background : transparent; 
    border: 2px solid silver; 
    border-radius: 100%; 
    cursor: pointer; 
    cursor: -webkit-grab; 
    cursor: -moz-grab; 
    display:block; 
    padding: 0; 
    margin: 0; 
    height: auto; 
    border: none; 
} 

.miniregion.dragging { 
    cursor: -webkit-grabbing; 
    cursor: -moz-grabbing; 
    display:block; 
     padding: 0; 
    margin: 0; 
    height: auto; 
    border: none; 
} 

.miniregion:hover { 
    box-shadow:0 0 .400em darkgrey; 
    display:block; 
     padding: 0; 
    margin: 0; 
    height: auto; 
    border: none; 
} 

.noselect { 
    -webkit-touch-callout:none; 
    -webkit-user-select:none; 
    -khtml-user-select:none; 
    -moz-user-select:none; 
    -ms-user-select:none; 
    user-select:none; 
    padding: 0; 
    margin: 0; 
    height: auto; 
    border: none; 
} 
+0

哪條白線?看不到任何。 –

+0

在小地圖中。它的權利。 – xxxx

+0

無法看到任何空格 –

回答

0

CSS

img[usemap] { 
    border: none; 
    height: auto; 
    max-width: 100%; 
    width: 95%; //change from auto to 95% 
} 

.back{ 
background-color : #fffee0; //add background color 
} 

HTML

<div id="toolbar-options" class="back" > 
+0

沒有傷心地工作。但它可以使用jQuery 1.1即時通訊。感謝您的幫助:) – xxxx

+0

它簡單的CSS,不與jQuery鏈接。在我身邊工作。 http://imgur.com/C0WM2ty –

+0

http://stephaniie.com/_testlab/beta1/ - 使用它。仍然有白色條紋。但它可能是一些其他錯誤,我錯過了:) – xxxx