A very simple HTML question

R

richard d

(Although I'm beginning to despair of ever getting an answer)

The document below illustrates with two examples. Either way I'm trying
to get the backgorund boxes to line up top and bottom and just simply
can't :-(

All help gratefully received.

Richard

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
<title> help help </title>
</head>
<style type="text/css"><!--
body { background: white; font-size: 150%; }
..style1 { font-family: monospace; background:gray; }
..style2 { font-family: serif; background:aqua; }
--></style>
<body>
<div><span class="style1">mono</span><span
class="style2">serif</span></div>
<br>
<div class="style2"><span class="style1">mono</span>serif</div>
</body>
 
J

Jonathan N. Little

richard said:
(Although I'm beginning to despair of ever getting an answer)

The document below illustrates with two examples. Either way I'm trying
to get the backgorund boxes to line up top and bottom and just simply
can't :-(

Do you mean so they are one on top of another with no space?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
<title> help help </title>
</head>
<style type="text/css"><!--
body { background: white; font-size: 150%; }
.style1 { font-family: monospace; background:gray; }
.style2 { font-family: serif; background:aqua; }
--></style>
<body>
<div><span class="style1">mono</span><span
class="style2">serif</span></div>
<br>
^^^^
Then delete this!
<div class="style2"><span class="style1">mono</span>serif</div>
</body>
 
R

richard d

No, I need them next to each other, with the background boxes lined up.

Richard
 
D

Day Brown

Wouldnt it be gonzo simpler just to make a .jpg or .gif with a paint
program and then <img src="yourscreen.gif">
at whatever size you want? Or- is there a problem with links listed
inside the area of the graphic?
 
R

richard d

Thanks for the suggestion but it didn't work I'm afraid.

I think this is a sizing issue more than a positioning one.

The problem is that the serif font is taller than the mono font, even
though they are the same font-size, so the enclosing backgrounds are a
different size and don't match up when placed side by side (or one
inside the other).

One possibility could be to manually draw background boxes but I would
have to be able to determine how big to make them by somehow or another
finding out the size of a particular font on whatever browser it was
that I was running on.

Richard
 
J

Jonathan N. Little

richard said:
Thanks for the suggestion but it didn't work I'm afraid.

I think this is a sizing issue more than a positioning one.

The problem is that the serif font is taller than the mono font, even
though they are the same font-size, so the enclosing backgrounds are a
different size and don't match up when placed side by side (or one
inside the other).

One possibility could be to manually draw background boxes but I would
have to be able to determine how big to make them by somehow or another
finding out the size of a particular font on whatever browser it was
that I was running on.

Not sure what you are really trying to accomplish here, a URL to a page
with your attempt might help.
 
J

Jonathan N. Little

Day said:
Wouldnt it be gonzo simpler just to make a .jpg or .gif with a paint
program and then <img src="yourscreen.gif">
at whatever size you want? Or- is there a problem with links listed
inside the area of the graphic?


I have no idea what you are talking about!

Firstly, this in *not* GoogleGroups but Usenet, you are just using
GoogleGroups to view Usenet which reformats the thread as a single
webpage with all comments listed in a column. This is *not* how it is
with us how use a newsreader.

Secondly, that means we do not see previous posts above which you are
commenting to.

Thirdly, you are supposed to quote the bits of previous posts to which
you are directly responding to to give readers context and complete the
"dialog". It would be very helpful here, because your comments do not
seem to relate at all to this thread...

Maybe you should try again, eh?
 
D

Day Brown

It was not important enough to bother quoting. So I wont try again.

And no, I dont much care for groups.google either, but my new server,
hughes.net dont have a newserver. The other satellite ISP
(wildblue.com) does, but they aint taking new customers just yet.

If you have not followed the thread, why should you care what I say?
 
B

Beauregard T. Shagnasty

It was not important enough to bother quoting. So I wont try again.
http://oakroadsystems.com/genl/unice.htm#quote

And no, I dont much care for groups.google either, but my new server,
hughes.net dont have a newserver. The other satellite ISP
(wildblue.com) does, but they aint taking new customers just yet.

http://news.individual.net/
very good and only 10 Euros per year (~$13).
If you have not followed the thread, why should you care what I say?

Don't you realize that - other than the OP and yourself - Jonathan is
the only person who has responded in this thread?

My question is why did you cross-post this thread to alt.community ?
 
J

Jonathan N. Little

Day said:
It was not important enough to bother quoting. So I wont try again.

And no, I dont much care for groups.google either, but my new server,
hughes.net dont have a newserver. The other satellite ISP
(wildblue.com) does, but they aint taking new customers just yet.

If you have not followed the thread, why should you care what I say?
No, you are missing the point, in a newsreader I do not see ^^^^^ this
above in your message to which you are referring printed above like in
GoogleGroups. Depending on the complexity of the tread, where in it you
reply to, and whether on not I have read messages filtered or not I have
to hunt back in the thread tree to find the "referred to" message to
follow your response.
 
D

Day Brown

My question is why did you cross-post this thread to alt.community ?
Nobody else uses it. There's lotsa dead usenet groups. If you crosspost
all your own posts to one of them, then you get to see only those
replies to your own posts.

As for the issue at hand, the dude could use a paint program to make
whatever he wants the reader to see, whatever fonts in whatever places.
I do something like that on a website I'm putting together right now:
http://www.dc-pc.org which uses a custom font that I designed along
with color control that'd be really difficult, if possible, in html.

You present the reader with a screenshot. If you need to have links on
it, then have the screenshot as a backgound img.

I've been online for over 20 years, and remember BBS forums with my
first VGA in *text* mode. The qwkmail reader had a single line toolbar
at the top, which let me & you have 49 lines of text to look at in a
message. This google window gives me about 20. sux. Another thing some
BBS groups provided was ANSI color. Your words'd be say green, mine
yellow, Johnathan's red, and so on. It was easy to see just who was
saying what. Nobody bitched about being misquoted. it didnt fill up the
screen with ">>>" and didnt need to wordwrap stubs. All that dos
functionality was lost going to windoze gui interfaces.
 
B

Beauregard T. Shagnasty

Nobody else uses it. There's lotsa dead usenet groups. If you crosspost
all your own posts to one of them, then you get to see only those
replies to your own posts.

Seemed pretty active to me. I just looked at it; there's over 3,800
posts on my news server.
As for the issue at hand, the dude could use a paint program to make
whatever he wants the reader to see, whatever fonts in whatever places.
I do something like that on a website I'm putting together right now:
http://www.dc-pc.org

My eyes! Oh my eyes!
which uses a custom font that I designed along
with color control that'd be really difficult, if possible, in html.

... and very hard to read. Dang near impossible.
You present the reader with a screenshot. If you need to have links on
it, then have the screenshot as a backgound img.

I've been online for over 20 years, and remember BBS forums with my
first VGA in *text* mode. The qwkmail reader had a single line toolbar
at the top, which let me & you have 49 lines of text to look at in a
message. This google window gives me about 20. sux. Another thing some
BBS groups provided was ANSI color. Your words'd be say green, mine
yellow, Johnathan's red, and so on. It was easy to see just who was
saying what. Nobody bitched about being misquoted. it didnt fill up the
screen with ">>>" and didnt need to wordwrap stubs. All that dos
functionality was lost going to windoze gui interfaces.

Use a real newsreader and retain all that "dos" functionality.
 
J

Jonathan N. Little

Day said:
Nobody else uses it. There's lotsa dead usenet groups. If you crosspost
all your own posts to one of them, then you get to see only those
replies to your own posts.

That is not how you should use a NG. Filter on your own end. I have
corrected the follow up. Didn't notice it at first...
As for the issue at hand, the dude could use a paint program to make
whatever he wants the reader to see, whatever fonts in whatever places.
I do something like that on a website I'm putting together right now:
http://www.dc-pc.org which uses a custom font that I designed along
with color control that'd be really difficult, if possible, in html.

Horrid idea! Totally unreadable to a text only browser or screen
reader...(an in a graphic browser)
You present the reader with a screenshot. If you need to have links on
it, then have the screenshot as a backgound img.

I've been online for over 20 years, and remember BBS forums with my
first VGA in *text* mode. The qwkmail reader had a single line toolbar
at the top, which let me & you have 49 lines of text to look at in a

Ah, but this is *not* a forum, but a newsgroup. Each posting is a
separate entity which may or may not be still accessible form the
server. You could conceivably replay to a message no long cached on the
server...
message. This google window gives me about 20. sux. Another thing some
BBS groups provided was ANSI color. Your words'd be say green, mine
yellow, Johnathan's red, and so on. It was easy to see just who was
saying what. Nobody bitched about being misquoted. it didnt fill up the
screen with ">>>" and didnt need to wordwrap stubs. All that dos
functionality was lost going to windoze gui interfaces.

You should quote responsibly, and trim out the bits not being commented on.
 
D

dorayme

Bergamot said:
It's pretty unreadable to us humans, too. ;)

It is quite awful... trying to think of a font it reminds me of
(but a professional one that is readable, bit zany.... um... Los
Angeles?)
 

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,744
Messages
2,569,479
Members
44,900
Latest member
Nell636132

Latest Threads

Top