开发者

prevent nested lists / bullet points within a HTML Table Cell from overflowing cell

开发者 https://www.devze.com 2023-03-06 19:49 出处:网络
I have a HTML table which has 4 columns. The last column displays some HTML formatted data ( output generated from FCKEditor - just like this editor) - e.g. Bold, underline, italic text etc.

I have a HTML table which has 4 columns. The last column displays some HTML formatted data ( output generated from FCKEditor - just like this editor) - e.g. Bold, underline, italic text etc. The problem occurs when the formatted data in this last cell is a HTML unordered List. (UL, LI etc) - when there is such a list, the bullet points occupy the preceding cell. Any idea how 开发者_开发知识库to confine my lists to the one table cell (TD)?


Try setting list-style-position:inside; on your ul. By default the markers are placed outside of the content flow.

0

精彩评论

暂无评论...
验证码 换一张
取 消