A large part of understanding CSS is about understanding how various styles work together. Iâd suggest use display:inline-block, since this will have the minimum collateral impact on your layout if you using inline elements like it works very much like the display:inline that it's using currently as far as the layout is concerned, but feel free to experiment with the other points as well, I've tried to give as much info as possible to help you understand how these things interact together. Use truncate to truncate overflowing text with an ellipsis ( ) if needed.
0 Comments
Leave a Reply. |