Border-radius - Post ID 249797

User 2635351 Photo


Guest
1 post

Hello,
Why won't the editor recognize the border-radius property?
User 187934 Photo


Senior Advisor
20,271 posts

It does for me.
Did you use the built in snippet?

.rounded-corners
{
background-color:lightgrey;
width:250px;
height:125px;
padding:10px;

border-radius: 10px 10px 10px 10px;
-ms-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-khtml-border-radius: 10px 10px 10px 10px;
}
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,647 posts
Online Now

And also, have you set the Editor to render the preview as viewed with IE9 or 10? IE8 doesn't understand rounded corners. You do that in Tools - Preferences - Browser testing.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2780582 Photo


Guest
1 post

hello...
the border-radius property is not recognised by editor?
i read the solution of built-in snippet...but i didnt understand how to make use of it.....
i will b thankfull if u offer me a understandable solution
User 2614236 Photo


Registered User
141 posts

The better option would be that both editors ie Mac and Windows be upgraded to take all the new changes that have come in with css3. Is that not what subscribers to software expect.?
Tony
User 271657 Photo


Ambassador
3,816 posts

It's not an Editor issue, you can write CSS3 for your stylesheets – no problem.

Is the rest of your site code (and DOCTYPE) up to date? Are you previewing in the latest browser versions?
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 92156 Photo


Registered User
272 posts

Thanks Inger, it explains why my preview didn't show rounded corners (was set to IE8).
Is it worth taking the trouble to test in earlier versions of IE?
User 271657 Photo


Ambassador
3,816 posts

I wouldn't bother with IE8 or earlier. Anyone still using those should be used to viewing wonky web pages by now.:lol:

Besides the internal preview, you should also be previewing in live browsers; add the latest Chrome, FF, IE, Opera, etc. to your list. ;)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 92156 Photo


Registered User
272 posts

I'm already testing in FF Chrome & IE11 "live browsers", I'll have to add the others to my PC. At least, being able to preview in IE11 means I don't have to call up a separate window for it any more.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.