Firefox模态浮动问题

时间:2016-11-24 08:06:40

标签: html css firefox cross-browser modal-dialog

我有这个问题,firefox决定将我的模态浮动到左边,我似乎无法弄明白。所有其他浏览器似乎都很好。模态位于中心。

Chrome - 应该是什么样子: enter image description here

Firefox - 我遇到的问题: Firefox - The problem im having

.JournalReaderInner {
    padding: 40px 0;
}

.JournalReader {
    width: 640px;
    min-height: 320px;
    margin: auto;
    padding: 20px;
    background: #fff;
    position: relative;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

1 个答案:

答案 0 :(得分:0)

它应该在firefox上运行完美。我测试过了。 here

你在另一个地方有错误。

试试:

CREATE FUNCTION [dbo].[GetRealtyMapFulltext]
(@criteria nvarchar(4000))
RETURNS TABLE
AS
RETURN (SELECT 
   realty.Id AS realtyId,
   ( COALESCE(ftR.Rank,0) + COALESCE(ftObec.Rank,0)) AS FtRank
   FROM realty
   LEFT JOIN ruian_obec ON realty.obecId = ruian_obec.obec_kod
   Left JOIN CONTAINSTABLE(Realty, *, @criteria) ftR ON realty.Id = ftR.[Key] 
   Left JOIN CONTAINSTABLE(ruian_obec, *, @criteria) ftObec ON realty.obecId = ftObec.[Key] 
   AND ( COALESCE(ftR.Rank,0) + COALESCE(ftObec.Rank,0)  > 0)