Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本的に、これを達成する方法を知りたいです:
間にギャップがある100%5 x 20%(フローティング) LI 子を持つUL。3pxLI は、サイズを変更できるように柔軟な (%) 幅である必要がありますが、ギャップは固定する必要があります。
100%
20%
3px
これは CSS3 を使用して実行できますがwidth: calc(20%-3px)、より基本的な CSS2 のサポートが必要です。:(
width: calc(20%-3px)
これを行う最もクリーンな方法は何ですか?