Relative Content

Tag Archive for cssasp.net-mvc

colspan in MVC : is there anything special?

In an ASP.Net Core MVC view, I should like to share a column title between two columns, so I put the attribute colspan="2" in the column title.
But, the result is exactly as if I had put nothing, and the column title is only above the first column, all the following column titles are shifted accordingly.
If I create a separate HTML test file, I see that I have to begin it with <!DOCTYPE html>.

colspan in MVC : is there anything special?

In an ASP.Net Core MVC view, I should like to share a column title between two columns, so I put the attribute colspan="2" in the column title.
But, the result is exactly as if I had put nothing, and the column title is only above the first column, all the following column titles are shifted accordingly.
If I create a separate HTML test file, I see that I have to begin it with <!DOCTYPE html>.