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: -
table.Style.Add("border-spacing", "0px");
-
table.Style.Add("padding", "0px");
-
table.Style.Add("background-color", "lightyellow");
-
table.Style.Add("border-width", "5px");
-
table.Style.Add("border-style", "solid");
-
table.Style.Add("border-color", "white");
-
table.Style.Add("width", "95%");
-
table.Style.Add("margin", "auto");
-
table.Style.Add("border-radius", "15px");
-
table.Style.Add("border-collapse", "separate");
-
table.Style.Add("text-align", "center");
-
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?
5 2298
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, ,
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
why so complicated? you can do exactly the same with less and more readble code... -
border-radius: "any number"; for the curves
-
and margin-left/right/top/left: "any number"; for the spaces between boarders..
-
Apparantly he has added the border radius but it seems to not take the effect..... - table.Style.Add("border-spacing", "0px");
-
table.Style.Add("padding", "0px");
-
table.Style.Add("background-color", "lightyellow");
-
table.Style.Add("border-width", "5px");
-
table.Style.Add("border-style", "solid");
-
table.Style.Add("border-color", "white");
-
table.Style.Add("width", "95%");
-
table.Style.Add("margin", "auto");
-
table.Style.Add("border-radius", "15px");
-
table.Style.Add("border-collapse", "separate");
-
table.Style.Add("text-align", "center");
-
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.
Sign in to post your reply or Sign up for a free account.
Similar topics
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...
|
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.
|
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...
|
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...
|
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...
|
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"...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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,...
|
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...
|
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...
|
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...
| |