html - How do I keep words inside a div? -


I have this code but when I run it, the word is half way out of the div from the bottom

< Previous> & lt; A href = "index.html" & gt; & Lt; Div id = "homebuttonlink" & gt; & Lt; B & gt; & Lt; P style = "font-size: 30px; font-family: vardana, geneva, non-serif;" & Gt; Home & lt; / P & gt; & Lt; / B & gt; & Lt; / Div & gt; & Lt; / A & gt;

use white-space: nowrap;

For example,

  & lt; P style = "font-size: 30px; font-family: vardana, geneva, non-serif, white-space: nowrap;" & gt; Home & lt; / P & gt;  

Hope it helps.


Comments