- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
How to make line through more visible over color #FF0
You could use a pseudo-element instead: http://jsfiddle.net/Qc9rQ/.
Edit: you should probably use both. Some old browsers do not support pseudo-elements.
Edit 2: updated not to avoid setting the color again: http://jsfiddle.net/Qc9rQ/1/.
Did changes but but line through whole page
Change your padding into a margin. Please, use my second Fiddle instead of the first. It’s more efficient.
Clever technique. How does it behave in old browsers?
Sounds a bit complicated. Don’t like messing too much with line-height. I know there are some inconsistencies between browsers.