Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Table with a 1 pixel height row in Blazor

$
0
0

I am not really a front-end designer, but had some code that is working on an small website.

When I am trying to use the same code/styling in Blazor, it does not really work.

My goal is that I have a pixel-line above (and under) the rows in a table.

enter image description here

I use an image that is 1 pixel in height, and in my normal website this makes that cell and row also 1 pixel in height. :

<table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="bar.gif" width="100%" height="1" alt=""></td></tr>   ....

I seem not to get this working in Blazor.

enter image description here

I do not understand why.

I have tried some more style :

border-collapse: collapse;

<tr style="height:3px !important;">

margin="0" padding="0" (in TR / TD and in the IMG).

all does not help.

Anyone any idea why this is not working well ?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>