HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
CSS mozilla-specific styles...
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
thesun



Joined: 07 Sep 2008
Posts: 16

PostPosted: Sun Sep 07, 2008 5:36 am     CSS mozilla-specific styles... Reply with quote

I've got some code in my CSS stylesheet that creates a gorgeous border around my Google map...but only in Firefox. In IE, this border gets dropped and there's just a square box with a map inside. The rounded border really makes the page look better and I'd like it to appear on all browsers, not just Firefox. So I'm wondering if anyone knows how to add code that will do that for IE.

Here's the part that makes the border appear in Firefox.

-moz-outline-radius:20px;
-moz-box-sizing:padding-box;
-moz-outline-style:solid;
-moz-outline-color:#878700;
-moz-outline-width:10px;

I'm not really a great programmer (ahem, read: not really a programmer!) so the simplest solution may be the best. I've considered ditching the code above and just doing it with a graphic instead, but the advantage of this is that it conforms nicely to surround the box no matter what the size is. I'm not sure I'd know how to do that same thing with a hard-coded graphic. (The website, by the way, is www dot onsenjapan dot net...it looks quite different in Firefox and IE...vexing to say the least!)

Any help would be greatly appreciated. Thank you!
sticks464



Joined: 31 Dec 2006
Posts: 1173

PostPosted: Sun Sep 07, 2008 7:10 am     Reply with quote

This method only works in Gecko browsers (firefox, mozilla) not in Trident browsers (IE)
This will work in all browsers http://www.curvycorners.net/
thesun



Joined: 07 Sep 2008
Posts: 16

PostPosted: Tue Sep 09, 2008 12:18 pm     Thank you! Reply with quote

Okay...that curvycorners was definitely what I'm looking for. I can't seem to get it to work on the main page, but it's in place elsewhere on the site. Thanks!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial