Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

different offset for border-radius between IE and other browsers

Featured Replies

Hi guys.

 

I want to round one corner of a DIV, I wrote this code:

 

-moz-border-radius: 5px 0px 5px 5px;
-webkit-border-radius: 5px 0px 5px 5px;
border-radius: 5px 0px 5px 5px;

 

but I saw different results in IE and chrome,firefox,opera. in IE the normal corner is on top left while in chrome,firefox,opera the normal corner is on top right!

 

for illustration please look the following images.

 

IE :

s6939_ie.png

 

Firefox, Chrome, Opera :

z612_ffchmopa.png

 

thanks

Edited by stallman3738

May be an ugly fix but you could have something like

 

    -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   -moz-border-top-right-radius: 0px;
   -webkit-border-top-right-radius: 0px;
   border-top-right-radius: 0px;

 

if you want it in the top or bottom just change the top to what you want same with left and right

Edited by D4Y0

  • Author

May be an ugly fix but you could have something like

 

    -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   -moz-border-top-right-radius: 0px;
   -webkit-border-top-right-radius: 0px;
   border-top-right-radius: 0px;

 

if you want it in the top or bottom just change the top to what you want same with left and right

 

No it didn't work.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.