Jump to content

Simple Invoice format


anandgp

Recommended Posts

Hi,

Can somebody help me with sample code in HTML / CSS for below format. Many thanks.

 

MY COMPANY

-----------------------------------------------------------------------------

Bill No.: 1234 Bill Date: 20-Feb-2015

Customer: ABC Shipping Co.

Street No. 5,

IND.

-----------------------------------------------------------------------------

Item Description Qty. Rate Amount

-----------------------------------------------------------------------------

Pen 2 15.00 30.00

 

 

-----------------------------------------------------------------------------

Total: 30.00

-----------------------------------------------------------------------------

 

Assume all above info is a static text. I just need to understand how to format them.

 

Thanks,

-Anand

 

 

Link to comment
Share on other sites

I could do this -

 

<h1 style="text-align:center;font-size:160%">MY COMPANY</h1>
<hr>
<p>Bill No.:<b>00012</b> <span style="margin-left:180px;">Date:<b>20-Feb-15</b></span></p>
<p>Customer:<span style="margin-left:25px;"><b>ABC Shipping Co.</b></span></p>
<p style="margin-left:90px;"><b>Street No. 5,</b></p>
<p style="margin-left:90px;"><b>IND.</b></p>
(Ignore item description part).
Is this right way or there is any better way to do this?
Regards,
-Anand
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...