I have come across this text that needs to be moved to a new line,
This is its current appearance,
Here is how I want it to look:
HTML code snippet:
<div id="content">
<div id="header">
<p>
<img class="header-image" src="http://www.nab.com.au/content/dam/nab/personal/credit-cards/apply-for-a-credit-card/images/icon-apply-online.gif" />
<span id="header-text-1">Hello To</span>
<span id="header-text-2">FruitLand</span>
</p>
</div>
<div id="body">
<div id="body-title">Fruit Login</div>
<div id="box-one"> Radio List with 2 radio buttons</div>
<div id="box-two"> CheckBox</div>
<div id="box-three">Textboxes x 2</div>
<div id="body-footer">Textboxes x 2</div>
</div>
</div>
CSS styles:
.header-image {
vertical-align: text-top;
}
#header-text-2{
font-size: 2.6em;
line-height: 0.8em;
}
If you want to test this out, here's the link to the FIDDLE which should work on all browsers.