The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › make a border fit around text that does not work
I have two span that have border and i want border fit only around text not tag .but border of first span not fully fit around text.how to fix it.
border: 1px solid blue;
There is default space between inline items.
You can eliminate this in various ways..
i change display to inline-block and remove space between spans