开发者

Unorded lists, how do I get two words broken up from one line onto two lines?

I have this site I am working on, it has the following menu items:

Residents Business Teachers Construction Property Management Municipalities

Is there a way to get Property Management broken up onto two lines within the same list element(figure 1).

Unorded lists, how do I get two words broken up from one line onto two lines?

Currently the behavior is:

Unorded lists, how do I get two words broken up from one line onto two lines?

开发者_开发知识库


Use the css3 max-width property on the containing element. You could also just add a <br/> for older browsers.

You might also have to set display to inline-block.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜