Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Rounded Corners Problem in IE
Old 06-23-2011, 04:33 PM Rounded Corners Problem in IE
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
I have some CSS code to create rounded corners that can work when the background is a gradient the css is

Code:
.modbox {
	margin: 0 0 12px 12px;
	border:  none;
	display: block;
	width: 1000px;
}

.rnd1,.rnd2,.rnd3 {
	border-style: solid;
	border-width: 0;
	display: block;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	overflow: hidden;
}
			
.rnd_modtitle .rnd2,.rnd_modtitle .rnd3 {
	background: #fff none repeat scroll 0 50%; 
	border-color: #fff;
}

.rnd_modboxin .rnd2,.rnd_modboxin .rnd3 {
	background: #fff none repeat scroll 0 50%;
	border-color: #fff;
}

.rnd1 {
	background: #fff none repeat 0 50%;
	margin: 0 4px;
}

.rnd2 {
	border-width: 0 2px;
	margin: 0 2px;
}

.rnd3 {
	border-width: 0 1px;
	height: 2px;
	margin: 0 1px;
}


.modboxin {
	background: #FFF none repeat scroll 0 50%;
	padding: 5px 9px 7px !important;
	border-bottom: none;
	clear: both;
	overflow: hidden;
	margin:0;
#leftcol {
	width:200px;
	float:left;
}
#centercol {
	width:550px;
	float:left;
}
#rightcol {
	width:200px;
	float:left;
}
}
and the html is ]

Code:
		<div class="modbox">
			<b class="rnd_modtitle">
				<b class="rnd1"></b>
				<b class="rnd2"></b>
				<b class="rnd3"></b>
			</b>
	<!--START CONTENT HERE-->

			<div class="modboxin">
				<div id="leftcol">
					<p>Right Column</p>
				</div>
				<div id="centercol">
					sfasfasf
				</div>
				<div id="rightcol">
					<p>Left Column</p>
				</div>
				<div style="clear:left;display:none"></div>	

			</div>
	<!--END CONTENT HERE-->
			<b class="rnd_modboxin">
				<b class="rnd3"></b> 
				<b class="rnd2"></b>
				<b class="rnd1"></b>
			</b>		
		</div>
This works fine in firefox and chrome, but doesn't in ie, and I've tried to find out why but can't understand it. I know it has something to do with the fact that I have the columns that float, and IE has a problem with this, but I'm not sure why.

Any help is appreciated. Thank you
__________________
Alex
konetch is offline
View Public Profile
 
 
Register now for full access!
Old 06-23-2011, 05:22 PM Re: Rounded Corners Problem in IE
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
What version if IE and "doesn't work" means what exactly?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 06-23-2011, 05:35 PM Re: Rounded Corners Problem in IE
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I havn't looked at your code, but I wanted to tell you about this article which shows a good way of making rounded corners. I havn't tested it myself in any IE versions other than 9 but I think It ought to work fine in all browsers.

http://docs.joomla.org/Creating_rounded_corners
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
View Public Profile Visit lizciz's homepage!
 
Old 06-23-2011, 05:49 PM Re: Rounded Corners Problem in IE
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
Im using IE 8, and it wont work because the div containter, modboxin, wont wrap around all the other div's that float inside of it. ill give you a screen shot of how it looks in ie.

IE SCREENSHOT

and this is what it looks like in every other browser

CHROME SCREENSHOT

Thanks for your help
__________________
Alex

Last edited by konetch; 06-23-2011 at 06:06 PM..
konetch is offline
View Public Profile
 
Old 06-23-2011, 06:20 PM Re: Rounded Corners Problem in IE
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Aha, then just remove display:none; from the div underneath the other divs. display:none; completely removes the element from the DOM so that it no longer takes up space and affect other elements.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
View Public Profile Visit lizciz's homepage!
 
Old 06-23-2011, 06:58 PM Re: Rounded Corners Problem in IE
konetch's Avatar
Ultra Talker

Posts: 258
Trades: 0
haha it's always something stupid and easy like that. Thanks so much
__________________
Alex
konetch is offline
View Public Profile
 
Old 06-25-2011, 12:01 PM Re: Rounded Corners Problem in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
When you float elements, you must remember to properly CLEAR those floats. There are a number of methods for doing this, just look in our stickies there are resources there.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 07-01-2011, 03:33 AM Re: Rounded Corners Problem in IE
Experienced Talker

Posts: 35
Trades: 0
Hello ,

Rounded Corners always create a big problem in IE .

it is much Better to Use images for Rouded corners rather than using

css .
__________________
Magento Themes Experts

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
shankar.adodis is offline
View Public Profile
 
Old 07-01-2011, 11:20 AM Re: Rounded Corners Problem in IE
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by shankar.adodis View Post
Hello ,

Rounded Corners always create a big problem in IE .

it is much Better to Use images for Rouded corners rather than using

css .
Great idea NOT.

The only way to make Microsoft catch up with the rest of the world is to stop supporting IE as a special case.
One real people stop using IE and their market dominance drops and it affects their sales, M$ will get the message that they do NOT have exclusivety any more.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 07-07-2011, 06:38 AM Re: Rounded Corners Problem in IE
Experienced Talker

Posts: 35
Trades: 0
Hello ,

major web companies stop supporting IE6 and IE is still creating the problem with many of the code like opacity etc iam just saying to use images so that it looks similar in all browsers.instead of creating rounded corners using css
__________________
Magento Themes Experts

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
shankar.adodis is offline
View Public Profile
 
Old 07-07-2011, 04:46 PM Re: Rounded Corners Problem in IE
Skilled Talker

Posts: 83
Trades: 0
rounded corner written in css always has problem in IE6 and latest browsers. in Firfox too. best option is use images as rounded corners. it works in all browsers
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
DmitryS is offline
View Public Profile
 
Old 07-07-2011, 06:14 PM Re: Rounded Corners Problem in IE
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Guys, it's 2011, not 2001. IE6 is no longer even worth supporting, and I have yet to find a "latest browser" that doesn't support rounded corners using CSS.

That is, if you know how to do it right, which multiple people here have posted how to do.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
View Public Profile Visit serandfae's homepage!
 
Old 07-08-2011, 08:47 AM Re: Rounded Corners Problem in IE
Experienced Talker

Posts: 35
Trades: 0
Hi,
i got a solution when i was going through this site http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

and another site helped me was http://blog.sachinkraj.com/how-to-ma...ithout-images/

i hope this would help you
__________________
Magento Themes Experts

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
shankar.adodis is offline
View Public Profile
 
Old 07-09-2011, 04:18 PM Re: Rounded Corners Problem in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
iam just saying to use images so that it looks similar in all browsers.instead of creating rounded corners using css
Sorry, but this is just a bad idea. Let the BAD browsers show people what they will and go FORWARD by using current technology, like CSS3, and let people using GOOD browsers get the full experience. You should never hamper your progress by using stuff like images for rounded corners just because old versions don't support it. If a user is going to use outdated or defective technology (IE), then they have to accept that they're not seeing everything that a site may have to offer.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 08-03-2011, 03:58 PM Re: Rounded Corners Problem in IE
Novice Talker

Posts: 12
Trades: 0
Using CSS for rounded corners is the best practice like LadynRed said. Its a lot of trouble creating a rounded corner images and making them work.

90% of the people will soon will switch to CSS3 compatible browsers.
rahmancbe is offline
View Public Profile
 
Old 10-31-2011, 01:19 AM Re: Rounded Corners Problem in IE
Banned

Posts: 9
Trades: 0
You can use "DD_roundies" javascript for rounded corners
barsha86 is offline
View Public Profile
 
Old 12-03-2011, 05:40 AM Re: Rounded Corners Problem in IE
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
I use this site for that purpose because I am not good in programming:
http://www.roundpic.com/
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE

Last edited by fensi88; 12-03-2011 at 05:43 AM..
fensi88 is offline
View Public Profile Visit fensi88's homepage!
 
Old 12-03-2011, 10:48 AM Re: Rounded Corners Problem in IE
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Sort of an old thread to post in, but as a thread-ender:

You should always use the most current form I whatever you're trying to do. Even if Chrome only supports it now, for example, Firefox will catch up within a few weeks, and IE a year or two.

Here's how everybody should be making their rounded corners:
Code:
border-radius: 10px;
on your element, or use
Code:
border-top-right-radius:10px;
border-top-left-radius:10px;
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
for all modern browsers to control individual ones. Even IE9 has caught up with those, I think.
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
View Public Profile
 
Old 02-09-2012, 05:05 PM Re: Rounded Corners Problem in IE
Novice Talker

Posts: 5
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Sorry, but this is just a bad idea. Let the BAD browsers show people what they will and go FORWARD by using current technology, like CSS3, and let people using GOOD browsers get the full experience. You should never hamper your progress by using stuff like images for rounded corners just because old versions don't support it. If a user is going to use outdated or defective technology (IE), then they have to accept that they're not seeing everything that a site may have to offer.
I completely agree with this notion, I myself dropped support for older IE versions long ago, and something tells me that Firefox and especially Opera users upgrade their browsers more often than not; so support for any older browser versions just isn't needed anymore. If people don't want to see fancy transitions, background gradients generated by the browser engine, text shadows, element transformation, box shadows and more, well, they're either old enough that they simply do not give a rats arse, or they're so technologically uninclined that they probably don't know how to update their browser.

Last edited by Ipuntit; 02-09-2012 at 05:09 PM..
Ipuntit is offline
View Public Profile
 
Closed Thread     « Reply to Rounded Corners Problem in IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64315 seconds with 12 queries