/    Sign up×
Community /Pin to ProfileBookmark

Table Question

I have tabulated date of beverages with price and beverage. I need to position the price at far right. I don’t know if I am doing it right with tables, I used mant td. Below is my code.

[CODE]<table cellspacing=”0″ cellpadding=”0″>
<tr>
<td align=”right”> <span class=”menu_name”>Classic Drinks</span></td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >80z</td><td>&nbsp;&nbsp;</td><td >120z</td>
</tr>

<tr>
<td >Classic Drinks</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >&nbsp;</td><td >&nbsp;</td><td >&nbsp;</td>
<td >200.00</td><td>&nbsp;&nbsp;</td><td >300.00</td>
</tr>
</table>[/CODE]

Below is what I want to achieve

[code=html]
Classic Drink 80z 120z
Regular Brew 68.00 168.00
Decaf 178.00 98.00
[/code]

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @anishgiri spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...