2015-02-06 19 views
0

我有一個搜索欄,可以在Windows上完美運行,但不是Mac,我們有3個不同的人試用它們,並且他們報告說搜索欄不在右邊將風格不適用於Mac,但在Windows上正確

下面是它應該如何看:http://puu.sh/fxTdJ/a19ae11d62.jpg

而且這裏的風格:

#search { 
    position:relative; 
    top:-30px; 
} 
#search div { 
    padding-right:0; 
} 
#search button { 
    height:33px; 
    margin-top:1px; 
    background:#666; 
    color:#ccc; 
    border:1px solid #666; 
    border-radius:3px; 

} 

這裏是URL http://178.62.26.90/essentialweddinghire/public/home

+0

與SAFARI瀏覽器相關的問題。不特定於mac。 – 2015-02-06 12:24:42

回答

2

嘗試在你的CSS給clear:both#search

#search { 
    clear: both; 
    position: relative; 
    top: -30px; 
} 
+2

@ben shepherd:你應用相同和更新或服務器非常快:D ...現在它至少作爲答案:P – Era 2015-02-06 12:31:00

+0

加1爲正確的答案。 – ketan 2015-02-06 12:43:52

0

沒有做更多的只是從您的代碼

.nav { 
padding-left: 0; 
} 

這個問題看起來Mozilla還去除這裏的.navpadding-left: 0;。 我認爲這會對你有所幫助。上面的答案也是正確的。由時代給出

相關問題