d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Easy Html Table Question
Add Reply New Topic New Poll
Member
Posts: 18,191
Joined: May 31 2010
Gold: 149.27
Oct 18 2016 01:10pm
http://imgur.com/hLjV0IR
How can I make this table strictly in HTML code?

I cant quite figure how to format it correctly...
any help?

This is my code now
Code
<table style="width:90%" class="po-detail" border="1" cellpadding="0" cellspacing="0" width="900">
<tr>
<th class="w50"> Qty</th>
<th class="w100">Description</th>
<th class="w100">Unit Price</th>
<th class="w350">Amount</th>
</tr>
<tr>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<th colspan="2"> <br> <br> <br> </th>
<th> Sub Total</th>
<td> CAD #PRICE#</td>
</tr>
<tr>
<th colspan="2"> PLEASE MAKE ALL CHECK PAYABLE TO BENECO PACKAGING A SERVICE
CHARGE OF 1.75% PER MONTH WILL BE CHARGED ON ALL OVERDUE BALANCE <br> </th>
<th> HST</th>
<td> CAD #PRICE#</td>
</tr>
<tr>
<th> GST/HST No. #UOM# </th>
<th> Total</th></tr>

</table> <!-- Shipping Info -->


This post was edited by Trig on Oct 18 2016 01:11pm
Member
Posts: 10,803
Joined: Apr 5 2010
Gold: 20.00
Oct 18 2016 01:17pm
so this is html combined with css and thats it? can you use 2 files like index.html and style.css if so id suggest you look up linking those 2 files and moving the css to the style sheet

This post was edited by jsbb on Oct 18 2016 01:20pm
Member
Posts: 18,191
Joined: May 31 2010
Gold: 149.27
Oct 18 2016 01:25pm
Quote (jsbb @ Oct 18 2016 03:17pm)
so this is html combined with css and thats it? can you use 2 files like index.html and style.css if so id suggest you look up linking those 2 files and moving the css to the style sheet


yes however the person im helping doesnt want me to do it like that :/
Member
Posts: 3,386
Joined: May 4 2013
Gold: 1,780.00
Oct 18 2016 01:28pm
add <style> tag in <head> and paste css there?
Member
Posts: 18,191
Joined: May 31 2010
Gold: 149.27
Oct 18 2016 01:30pm
Quote (nuvo @ Oct 18 2016 03:28pm)
add <style> tag in <head> and paste css there?


but how do I make the table look like that strictly using html to lay it out is kinda where im stuck
Member
Posts: 3,386
Joined: May 4 2013
Gold: 1,780.00
Oct 18 2016 01:37pm
Member
Posts: 18,191
Joined: May 31 2010
Gold: 149.27
Oct 18 2016 02:09pm
Quote (nuvo @ Oct 18 2016 03:37pm)


yes thank you! <3
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll