?style sheet

B

Bruce Wallace

G'day all
I am making a simple website for my brother's restaurant. I am doing the
menu page and using an ordered list (see below). How can I put the prices on
the page on the same line as the food and in the same spot for each entry
without using the blank spaces tag. The prices do not line up exactely for
each entry. Can I use a style sheet? I have tried but cannot find the tag
for the price that would keep it on the same line as the food. Can anyone
help. Thanks Bruce
<ol>
<li><b>Calamari</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp; <b>$6.80</b></li><p>
 
A

Adrienne

G'day all
I am making a simple website for my brother's restaurant. I am doing
the menu page and using an ordered list (see below). How can I put the
prices on the page on the same line as the food and in the same spot
for each entry without using the blank spaces tag. The prices do not
line up exactely for each entry. Can I use a style sheet? I have tried
but cannot find the tag for the price that would keep it on the same
line as the food. Can anyone help. Thanks Bruce
<ol>
<li><b>Calamari</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;& nbsp;&nbsp;&nbsp; <b>$6.80</b></li><p>

Actually, I think in this case, you would be better off using a table and
style it accordingly.
 
B

brucie

I am making a simple website for my brother's restaurant. I am doing the
menu page and using an ordered list (see below). How can I put the prices on
the page on the same line as the food and in the same spot for each entry
without using the blank spaces tag. The prices do not line up exactely for
each entry. Can I use a style sheet? I have tried but cannot find the tag
for the price that would keep it on the same line as the food. Can anyone
help. Thanks Bruce

sounds like table data to me. use a table
 
W

William Tasso

Bruce said:
G'day all
I am making a simple website for my brother's restaurant. I am doing
the menu page and using an ordered list (see below). How can I put
the prices on the page on the same line as the food and in the same
spot for each entry without using the blank spaces tag. The prices
do not line up exactely for each entry. Can I use a style sheet? I
have tried but cannot find the tag for the price that would keep it
on the same line as the food. Can anyone help. Thanks Bruce
<ol>

sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp; <b>$6.80</b></li><p>

Now this is a good use for a table. here's one I prepared ealier:
http://jennylind.co.uk/beer.asp - actually, quite a bit earlier.
 
B

Bruce Wallace

brucie said:
i hope you realize despite the propaganda campaigns that no one in
australia actually drinks fosters. its cats piss.

not many drink XXXX either (mainly a queenslanders drink). feels like
it leaves a scum on your teeth and gives the worst hangovers.

VB (victoria bitter) is a nice drop.
http://www.fosters.com.au/beer/about/brands/beer/vic_bitter.asp

Thanks a lot all for your very prompt replies. Will use a table. I am from
New South Wales and you can't beat the South Australian beer Coopers (so not
biased). The sparkling ale and stout gets better with age, in the bottle.
Bruce
 
B

brucie

Have you ever drunk a Fosters in the U S of A?

in my wild younger days in the '80s i had that misfortune.
Makes cat's piss taste like nectar of the &deity's. They have to take out
most of the ethanol so it doesn't blast the Americans boots off.

american beer is lolly water.
Nope. Tooheys New.

on tap is ok
I have a slab of it right here.

great. i'll pop over with a few snags for the barbie
 
B

Bruce Wallace

Bruce Wallace said:
G'day all
I am making a simple website for my brother's restaurant. I am doing the
menu page and using an ordered list (see below). How can I put the prices on
the page on the same line as the food and in the same spot for each entry
without using the blank spaces tag. The prices do not line up exactely for
each entry. Can I use a style sheet? I have tried but cannot find the tag
for the price that would keep it on the same line as the food. Can anyone
help. Thanks Bruce

This is what I have done so far, and it works. I have 70 items on the menu
so will probably have 4-5 pages for the menu. Is there a better way of doing
it without all of those pages. Bruce

<html>

<head>


<title>menu</title>

<style>

h4{background:#a54b0d;color:white;width:250px}


</style>

</head>

<body background="watermark.jpg">



<img src="head11.jpg"height=104 width=55 align=left alt="Ummarin Thai
Restaurant"><center><font size =+4 font
color="black">Menu</font></center><p>


<center>

<table width="70%" border=0 table>

<tr>

<th><a href="basic sheet8.html"><font color=black>Home</th><th><a
href="Menu.html"><font color=black>Menu</th><th><a href ="staff.html"><font
color=black>Staff</th>
<th><a href="Links.html"><font color=black>Links</th>
</tr>
</table></center>
<p>




<h4>Entrees</h4><p>

<font color=black>

<table border=0 width=100%>
<tr>
<td align=left><b> 1. Mixed Entree</b> (for one)</td>
<td align=right><b>$7.10</b></td></tr>
<tr>
<td align=left><b> 2. Calamari</b></td>
<td align=right><b>$6.80</b></td></tr>
<tr>
<td align=left><b> 3. Chicken Wings</b> (4 pieces)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 4. Fish Cakes</b> (4 pieces)</td>
<td align=right><b>$6.40</b></td></tr>
<tr>
<td align=left><b> 5. Curry Puff</b> (4 pieces)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 6. Nam Pik Aoung</b> Minced pork cooked in curry paste,
coconut milk and served with deep fried prawn crackers</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 7. Satay</b> Beef or chicken (4 sticks) With our own
special peanut sauce</td>
<td align=right><b>$7.00</b></td></tr>
<tr>
<td align=left><b> 8. Spring Rolls</b> (4 pieces)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 9. Vegetarian Spring Rolls</b> (4 pieces)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 10. Deep Fried Onion Rings</b></td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 11. Deep Fried tofu</b></td>
<td align=right><b>$5.70</b></td></tr>
</table>
<p>


<h4>Soups</h4><p>

<table border=0 width=100%>
<tr>
<td align=left><b> 12. Tom Yum</b> Hot & sour soup</td>
<td align=right><b>$6.80</b></td></tr>
<tr>
<td align=left><b> 13. Tom Kar</b> Coconut milk, Galangal & Lemon Grass<br>
<b>The above dishes (12,13) are available in</td></tr>
<tr>
<td align=center>Prawns (Goong)</td>
<td align=right><b>$6.80</b></td></tr>
<tr>
<td align=center>Chicken (Gai)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=center>Mushrooms (Hed)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=center>Vegetables (Puk)</td>
<td align=right><b>$5.70</b></td></tr>
<tr>
<td align=left><b> 14. Poh Tak</b> Hot & sour combination seafood soup</td>
<td align=right><b>$6.80</b></td></tr>

</table>
<p>

<h4>Noodle</h4><p>

<table border=0 width=100%>
<tr>
<td align=left><b> 15. Pad Thai</b> Thai noodles with egg, bean sprouts,
ground chilli and peanuts</td></tr>
<tr>
<td align=center>Chicken, Pork, Tofu or Vegetables</td>
<td align=right><b>$9.00</b></td></tr>
<tr>
<td align=center>Prawn</td>
<td align=right><b>$12.50</b></td></tr>
<tr>
<td align=center>Seafood</td>
<td align=right><b>$12.50</b></td></tr>
<tr>
<td align=left><b> 16. Mee Grob</b> Crispy noodles with pork & sweet
sauce</td>
<td align=right><b>$9.00</b></td></tr>

</table>






















</body>

</html>
 
B

brucie

This is what I have done so far,

its not good
and it works.

considering the errors it only works by accident. you're also mixing
CSS with its replacement (deprecated elements) just use CSS.
I have 70 items on the menu so will probably have 4-5 pages for the menu. Is
there a better way of doing it without all of those pages.

database and a template

Build Your Own Database Driven Website Using PHP & MySQL
http://www.sitepoint.com/books/phpmysql1/
 
E

Els

Bruce Wallace said:
This is what I have done so far, and it works. I have 70 items on the menu
so will probably have 4-5 pages for the menu. Is there a better way of doing
it without all of those pages. Bruce

One long page and a scrollbar?
And use anchors to be able to go up and down directly to whichever
section of the page you want.

Sincerely,
Els
 
M

m

Bruce said:
This is what I have done so far, and it works. I have 70 items on the menu
so will probably have 4-5 pages for the menu. Is there a better way of doing
it without all of those pages. Bruce

You need to download HTMLTidy (you can
find it through w3.org) --
here's a version corrected by it in
seconds. Notice how it will even change
deprecated markup to CSS if you ask it
to (although, in this case, you may want
to tweak the CSS a bit more):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="HTML Tidy for
Windows (vers 1st February 2003), see
www.w3.org" name="generator" />
<title>
menu
</title>
<style type="text/css">
/*<![CDATA[*/


h4{background:#a54b0d;color:white;width:250px}


/*]]>*/
</style>
<style type="text/css">
/*<![CDATA[*/
body {
background-image: url(watermark.jpg);
}
h4.c4 {color: black}
div.c3 {text-align: center}
a.c2 {color: black}
div.c1 {color: black; font-size:
207%; text-align: center}
/*]]>*/
</style>

</head>
<body>
<img src="head11.jpg" height="104"
width="55" align="left" alt="Ummarin
Thai Restaurant" />
<div class="c1">
Menu
</div>
<div class="c3">


<table width="70%" border="0"
table="">
<tr>
<th>

<a class="c2"
href="basic%20sheet8.html">Home</a>
</th>
<th>
<a class="c2"
href="Menu.html">Menu</a>
</th>
<th>
<a class="c2"
href="staff.html">Staff</a>

</th>
<th>
<a class="c2"
href="Links.html">Links</a>
</th>
</tr>
</table>


</div>
<h4>

Entrees
</h4>


<table border="0" width="100%">
<tr>
<td align="left">
<b>1. Mixed Entree</b> (for one)
</td>
<td align="right">
<b>$7.10</b>

</td>
</tr>
<tr>
<td align="left">
<b>2. Calamari</b>
</td>
<td align="right">
<b>$6.80</b>

</td>
</tr>
<tr>
<td align="left">
<b>3. Chicken Wings</b> (4
pieces)
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
<tr>
<td align="left">
<b>4. Fish Cakes</b> (4 pieces)
</td>
<td align="right">
<b>$6.40</b>

</td>
</tr>
<tr>
<td align="left">
<b>5. Curry Puff</b> (4 pieces)
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
<tr>
<td align="left">
<b>6. Nam Pik Aoung</b>
Minced pork cooked in curry paste,
coconut milk and served with deep fried
prawn crackers
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
<tr>
<td align="left">
<b>7. Satay</b> Beef or
chicken (4 sticks) With our own special
peanut sauce
</td>
<td align="right">
<b>$7.00</b>

</td>
</tr>
<tr>
<td align="left">
<b>8. Spring Rolls</b> (4 pieces)
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
<tr>
<td align="left">
<b>9. Vegetarian Spring
Rolls</b> (4 pieces)
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
<tr>
<td align="left">
<b>10. Deep Fried Onion Rings</b>
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
<tr>
<td align="left">
<b>11. Deep Fried tofu</b>
</td>
<td align="right">
<b>$5.70</b>

</td>
</tr>
</table>


<h4 class="c4">
Soups
</h4>


<table border="0" width="100%">
<tr>
<td align="left">

<b>12. Tom Yum</b> Hot &amp;
sour soup
</td>
<td align="right">
<b>$6.80</b>
</td>
</tr>
<tr>

<td align="left">
<b>13. Tom Kar</b> Coconut
milk, Galangal &amp; Lemon Grass<br />
<b>The above dishes (12,13)
are available in</b>
</td>
</tr>
<tr>

<td align="center">
Prawns (Goong)
</td>
<td align="right">
<b>$6.80</b>
</td>
</tr>
<tr>
<td align="center">

Chicken (Gai)
</td>
<td align="right">
<b>$5.70</b>
</td>
</tr>
<tr>
<td align="center">
Mushrooms (Hed)
</td>

<td align="right">
<b>$5.70</b>
</td>
</tr>
<tr>
<td align="center">
Vegetables (Puk)
</td>
<td align="right">

<b>$5.70</b>
</td>
</tr>
<tr>
<td align="left">
<b>14. Poh Tak</b> Hot &amp;
sour combination seafood soup
</td>

<td align="right">
<b>$6.80</b>
</td>
</tr>
</table>


<h4>
Noodle
</h4>


<table border="0" width="100%">

<tr>
<td align="left">
<b>15. Pad Thai</b> Thai
noodles with egg, bean sprouts, ground
chilli and peanuts
</td>
</tr>
<tr>
<td align="center">
Chicken, Pork, Tofu or Vegetables
</td>

<td align="right">
<b>$9.00</b>
</td>
</tr>
<tr>
<td align="center">
Prawn
</td>
<td align="right">

<b>$12.50</b>
</td>
</tr>
<tr>
<td align="center">
Seafood
</td>
<td align="right">
<b>$12.50</b>

</td>
</tr>
<tr>
<td align="left">
<b>16. Mee Grob</b> Crispy
noodles with pork &amp; sweet sauce
</td>
<td align="right">

<b>$9.00</b>
</td>
</tr>
</table>
</body>
</html>
 
J

Jacqui or (maybe) Pete

bwallac4 said:
....
This is what I have done so far, and it works. I have 70 items on the menu
so will probably have 4-5 pages for the menu. Is there a better way of doing
it without all of those pages. Bruce
.... snip code

It's much better to put the page on the web somewhere & post a link
rather than paste all the code.

Anyway, by no means perfect, but here's an idea :

http://porjes.haxorz.org/thai.html

I think you'll see that the html is much simpler & easier to write and
change.

Is this the Ummarin in Randwick? I think I've eaten there.
 
B

Bruce Wallace

Jacqui or (maybe) Pete said:
prices
... snip code

It's much better to put the page on the web somewhere & post a link
rather than paste all the code.

Anyway, by no means perfect, but here's an idea :

http://porjes.haxorz.org/thai.html
I think you'll see that the html is much simpler & easier to write and
change.

Is this the Ummarin in Randwick? I think I've eaten there.

Thanks for the advice everybody. I am struggling with stylesheets, and basic
HTML in fact, but learning as I am going.
The restaurant is the Ummarin at Randwick, my brother and his wife (she is
Thai) have had the restaurant for about 10 years.
Bruce
 
E

EightNineThree

Geoff Ball said:
If you want good beer in North America, you can only get it north of the
49th. Beer in the US, isn't; it's flavoured water.

Surely you are not talking about Canadian beer?!?
Really now. I'd rather drink Pabst Blue Ribbon than anything I've had from
Canada.

I don't know where the following come from, but they're hands-down the best:
1. Chimay Ale
2. Sam Smith's Oatmeal Stout
3. Anchor Steam
4. Harp (actually, I know that comes from Ireland)
5. Harpoon
 
W

William Tasso

EightNineThree said:
...

I don't know where the following come from, but they're hands-down
the best:
2. Sam Smith's Oatmeal Stout

There's a Sam Smiths brewery in Yorkshire (I think)
4. Harp (actually, I know that comes from Ireland)

I bet it doesn't - Harp in the UK comes from the Guiness factory in West
London (Park Royal/Acton/Hangar Lane area)
 
G

Geoff Ball

Surely you are not talking about Canadian beer?!?
Really now. I'd rather drink Pabst Blue Ribbon than anything I've had
from Canada.

You'd rather have American beer than Canadian beer? They must be putting
some brainwashing tonic into that watered-down crap. ;)

Regards,
Geoff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top