Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FF 3.5 and Iron/Chrome work well, but MSIE 8 and Opera 10 do not #21

Open
meszi opened this issue Jan 4, 2010 · 1 comment
Open

FF 3.5 and Iron/Chrome work well, but MSIE 8 and Opera 10 do not #21

meszi opened this issue Jan 4, 2010 · 1 comment

Comments

@meszi
Copy link

meszi commented Jan 4, 2010

Hi there,

I am still learning about JQuery Corner. So maybe I do a mistake. I want to draw rounded corners to my nav buttons. I am using JQuery 1.3.2 that comes with Wordpress 2.8.6.

My code is as follows:

[...]

<script type="text/javascript"> jQuery(document).ready(function(){ jQuery('div.navbutton').corner("round 20px"); /* THIS DOES NOT WORK IN MSIE AND OPERA. */ jQuery('div.navbutton').wrap('
'); jQuery('div.outer').corner("round 20px"); }); </script>

[...]

<style type="text/css"> table#page table.main td.navtd div.navigation div.navbutton { width:70px; margin:3px auto; padding:7px 20px; //border:2px solid #555555; // THIS WORKS FINE IN FF AND CHROME border:none; //WHEN TRYING FOR MSIE AND OPERA I COMMENT THE ABOVE OUT AND DISABLE THE BORDER background:white; color:#555555; font-size:12px; font-weight:bold; text-align:left; } div.outer { margin:3px auto; padding:1px 4px; background:#555555; zoom:1; } </style>

[...]

[...]

While FF and Iron/Chrome render the borders fine (Iron/Chrome looks somewhat aliased but at least it works somehow) and do not even require the "wrapped div" (border works) I have problems with MSIE 8 and Opera 10. Best way to imagine the problem is IMO to see the screenshot: http://www.meszi.de/Zwischenablage01.jpg

What can you suggest to get this issue resolved?

CU,
Mészi.

@meszi
Copy link
Author

meszi commented Jan 13, 2010

I have decided to stop my attempts with JQuery corners as DD_roundies works fine with MSIE, FF and Webkit5 browsers support rounded corners directly via CSS and Opera at least supports SVG background images.

Therefore I close this topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant