javaexperto
asked on
Table Internal borders with CSS
Hello I want to show the internal borders in a HTML table with CSS but now what I'm getting is just around border. Also I need to do this in the same style class because I don't want to set in each td and I have many tables.
table.new {
border:1px solid;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Change
table.new {
border:1px solid;
}
to
table.new {
border:1px solid;
border-collapse: collapse;
}
table.new {
border:1px solid;
}
to
table.new {
border:1px solid;
border-collapse: collapse;
}
ASKER
If change as you tell i get the initial problem instead I try this and i got the solution:
table.new {
border:1px solid;
border-collapse: collapse;
}, table.new td { border:1px solid;
border-collapse: collapse;}
Anyway you help me to find the solution thank you.
table.new {
border:1px solid;
border-collapse: collapse;
}, table.new td { border:1px solid;
border-collapse: collapse;}
Anyway you help me to find the solution thank you.
ASKER
table.gif