• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 22. Ruby > ruby-overhang Property

22.4. ruby-overhang Property

ruby-overhang is used to set how the browser is to display material adjacent to the ruby content if the ruby text content is wider than the ruby itself.

It takes three values: auto, none and whitespace. The browser tries to determine the best way of positioning things when auto is used, none tells the browser not to make allowances for it (hence the ruby text may run into adjacent non-ruby elements), and whitespace tells the browser to fill in the ruby base text with additional spacing to ensure that the ruby as a whole can accommodate all of the text — in other words, expanding the whole of the ruby in order to make all of its contents “fit,” It is likely that the auto and whitespace values would display very similar results, whereas with none you can expect any text outside of the ruby to flow just outside the ruby base (and possibly flow “through” an oversized ruby text).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint