File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes text alignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "text alignment" Watch "text alignment" New topic

text alignment

Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
<div class="item">
<label>Bank name:</label>
<span class="value">BNPP MALAYSIA COMMERCIAL BANKA</span>

on the page, the "BNPP MALAYSIA COMMERCIAL BANK" string is too long, so that the "BANK" goes to second line, but not aligned properly with the first line.

how do i make sure that the two lines are left-aligned properly?? thanks

[Thumbnail for `.jpg]

** SCJP 5.0 84% **
** SCWCD 1.5 76% **
I agree. Here's the link:
subject: text alignment
It's not a secret anymore!