Hi, I would like to outline a specific row in a table by using text on the side.
For a specific row I would like an asterisk to appear on the right or the left, without stealing anything from the width of the table, the symbol should simply be pinned outside inline with the row.
I have browsed many CSS docs and references online without any luck so far.
I think that the most appropriate way to achieve this is to use content: "*" like so
my problem is the positioning, as far as I can tell both float: <anything> and position: <anything> are not producing anything close to what I’m looking for.
Thank you,
it works for the “right” case, if I want the asterisk on the left, even after correcting for the orientation it does not render properly.
I am not an expert on this topic, but to have it “before”, you would need to add a column; otherwise, it will shift the entire row (with an asterisk) to the right.
As can be seen, the asterix is placed on the outside of everything and style according to my bad design…
The trick I used to achieve this is through adding a specific tag to the markup table, so as to have something to select into for the CSS, and then I fiddled around with the CSS till I got something resembling what I imagine you’re wanting. And since I don’t really care to show my anchor tag I just hid it from the output.
Hopefully this gives you some ideas related to how you could move forward.