Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

cSS border-radius does not draw right-side corners

  • 3 ответа
  • 1 имеет эту проблему
  • 20 просмотров
  • Последний ответ от kimmoli

more options

I have css created hover-popup, which to i have added border-radius -property.

CSS Code for span shown when object is hovered on;

.dropt span {position: absolute;  left: 33%; display:none;
  padding: 10px 10px 10px 10px;
  text-align: left;
  border-style:solid; border-color:black; border-width:1px; z-index: 6; border-radius: 10px;
  left: 33%; top: 133px; background: #eeeeff; }
.dropt:hover span { display: block; }

Left side corners of popup are working nice, rounded ok.
Right side corners are missing completely, there is reverse corner empty space.

if i press F5, the rounded corners appear there for a moment, then the whole page refreshes.

I have css created hover-popup, which to i have added border-radius -property. CSS Code for span shown when object is hovered on; <pre><nowiki>.dropt span {position: absolute; left: 33%; display:none; padding: 10px 10px 10px 10px; text-align: left; border-style:solid; border-color:black; border-width:1px; z-index: 6; border-radius: 10px; left: 33%; top: 133px; background: #eeeeff; } .dropt:hover span { display: block; }</nowiki></pre> Left side corners of popup are working nice, rounded ok.<br /> Right side corners are missing completely, there is reverse corner empty space. if i press F5, the rounded corners appear there for a moment, then the whole page refreshes.

Изменено cor-el

Все ответы (3)

more options

Изменено kimmoli

more options

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

I see a display:none; rule in your CSS code. Maybe that is the cause.

more options

Ok, thanks, i will try through that channel.

Display:none is intentional, to hide the box when not hovering above my icon. The .dropt:hover says display:block, and this generally works nicely.