• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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