Hello,

I am trying to border-collapse on a specific table.

#profitlosstbl table {

    width: 200px;
    border-collapse: collapse;
}   

#profitlosstbl td {

    border-collapse: collapse;
    width: 100%;
    padding: 10px;
    font-size: 12px;
    border: 1px solid black;
}

the border-collapse: collapse;

It only works if I use

table {
    border-collapse: collapse;
}

but I cannot do this since it will mess up the other tables.

What should I do?

Recommended Answers

All 4 Replies

Has the edit button disappeared? My last post doesn't make sense, it should say 'your failing css'.

Ah, one of my posts is editable and one isn't.

Screen_Shot_2018-04-26_at_09_43_11.png

The difference is that the first was made on my phone and the second on a computer.

If there was a bug tracker I'd raise one.

Bugs can be reported over in Community Feedback using a 'bug' tag, or in Area 51 if you have access (I know it used to be an invite only place, but I think it was made open to all? Shame I can't get my personal memory bug fixed :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.