Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Help Style html table

I have a table that is located inside of the jquery accordion. In all the browsers except for IE 9 it look similar to the one on the link http://jsfiddle.net/mYP9j/5/.


In Ie9 I do not get rounded borders , the cells do not have padding and so on
0
erikTsomik
Asked:
erikTsomik
  • 7
  • 5
  • 3
1 Solution
 
GaryCommented:
Check IE9 is not going into compatibility mode.
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
Just did it is not
0
 
GaryCommented:
Eek just noticed your using tables. You shouldn't be using tables - they are not easy to style and a faux pas when it comes to web design

Table cells do not have margins, if you want spacing then use cellspacing.
The rounded corners are working fine for me.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
leakim971PluritechnicianCommented:
You set cellspacing="0", if you remove it it should work better
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
I remove the cellspacing but see not difference
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
Well the table works in all the browsers even IE 11 but does not in IE 9
0
 
leakim971PluritechnicianCommented:
And if set it to  cellspacing="10"
no difference too?
0
 
leakim971PluritechnicianCommented:
IE9 cellpading set to 10
no cellpadding attribute set
0
 
GaryCommented:
So you just use cellspacing.
The rounded corners look fine to me - don't know why you said they were not working.
0
 
leakim971PluritechnicianCommented:
yes, just the cellspacing which overwrite the marging
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
I do not seems to be able get this cellsspacing in chrome
0
 
leakim971PluritechnicianCommented:
so use both methods...
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
I do. but still does not work
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for erikTsomik's comment #a39950608

for the following reason:

Great
0
 
erikTsomikSystem Architect, CF programmer Author Commented:
great
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 7
  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now