473,399 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Border-radius issues

epots9
1,351 Expert 1GB
I am creating a HTML table on a asp.net page with c# as my language.

everything is working as i want in firefox but internet explorer is a horror film.

I append the style with the following code:
Expand|Select|Wrap|Line Numbers
  1. table.Style.Add("border-spacing", "0px");
  2.             table.Style.Add("padding", "0px");
  3.             table.Style.Add("background-color", "lightyellow");
  4.             table.Style.Add("border-width", "5px");
  5.             table.Style.Add("border-style", "solid");
  6.             table.Style.Add("border-color", "white");
  7.             table.Style.Add("width", "95%");
  8.             table.Style.Add("margin", "auto");
  9.             table.Style.Add("border-radius", "15px");
  10.             table.Style.Add("border-collapse", "separate");
  11.             table.Style.Add("text-align", "center");
  12.  
I've attached screenshots of the output from ff and ie. How it appears in firefox is what I want, so any tips on how I can get ie to do the same?
Attached Images
File Type: jpg ff.jpg (67.0 KB, 187 views)
File Type: jpg ie.jpg (66.6 KB, 183 views)
Jul 25 '13 #1
5 2298
Exequiel
288 256MB
You need to consider the version of your IE. only in IE9 works the border radius, lower version of IE the border radius doesn't work, ,
Jul 26 '13 #2
epots9
1,351 Expert 1GB
sorry I should have been alittle detailed about that, the ie screenshot is from ie10...I guess nothing can be done until microsoft decides to invest more time into the browser
Jul 26 '13 #3
Xillez
93 64KB
why so complicated? you can do exactly the same with less and more readble code...

Expand|Select|Wrap|Line Numbers
  1. border-radius: "any number"; for the curves
  2. and margin-left/right/top/left: "any number"; for the spaces between boarders.. 
  3.  
Aug 1 '13 #4
Apparantly he has added the border radius but it seems to not take the effect.....
Expand|Select|Wrap|Line Numbers
  1. table.Style.Add("border-spacing", "0px");
  2.             table.Style.Add("padding", "0px");
  3.             table.Style.Add("background-color", "lightyellow");
  4.             table.Style.Add("border-width", "5px");
  5.             table.Style.Add("border-style", "solid");
  6.             table.Style.Add("border-color", "white");
  7.             table.Style.Add("width", "95%");
  8.             table.Style.Add("margin", "auto");
  9.             table.Style.Add("border-radius", "15px");
  10.             table.Style.Add("border-collapse", "separate");
  11.             table.Style.Add("text-align", "center");
  12.  
Aug 23 '13 #5
The border-radius property works fine on IE 9 in “standards mode.” Either your page triggers Quirks Mode or it contains something that breaks things up. Regarding this and the other question, please post a complete testable demo document (not just screenshots) if you need more advice.
Aug 23 '13 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tom Loredo | last post by:
Hi folks- I'm about to move from a Solaris 8/SPARC environment to a Dell running RedHat 9. Are there any issues I need to be aware of in bringing my Python code over (mostly scientific...
28
by: grahamd | last post by:
Who are the appropriate people to report security problems to in respect of a module included with the Python distribution? I don't feel it appropriate to be reporting it on general mailing lists.
5
by: sandy | last post by:
Hi All, I am a newbie to MySQL and Python. At the first place, I would like to know what are the general performance issues (if any) of using MySQL with Python. By performance, I wanted to...
2
by: malcolm | last post by:
Hello, We have a robust (.NET 1.1 c# winforms) client-server application that utilizes many typed DataSets, typed DataTables and typed DataRows. Our application is a series of windows and popup...
1
by: Aliandro | last post by:
Hi Does any one know where I can find information regarding any issues with SQL and IIS being run under windows XP SP2? as I am in the process of programmning in Dot net and neet some way of...
7
by: David Laub | last post by:
I have stumbled across various Netscape issues, none of which appear to be solvable by tweaking the clientTarget or targetSchema properties. At this point, I'm not even interested in "solving"...
2
by: G2 | last post by:
Hi We are dealing with significant browser compatibility issues with Netscape 5.x+ browsers and Mac IE. I am sure most web developers have faced similar issues in the past. Can anyone give me their...
1
by: GaryDean | last post by:
We have been developing all of our .net applications on 32 bit windows using 32 bit SQL Server. We are being asked to now deploy to servers running 64bit windows and 64bit SQL Server. Are there...
3
by: eschneider | last post by:
Just some common issues with WS: Using custom objects: When objects change, seems you are always fixing some issue. Update references, which sometimes does not work. Deployment: Weird errors...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.