Line after or before a word

  • Thread starter Luigi Donatello Asero
  • Start date
B

brucie

How do you draw a line after a word or before a word in HTML and/or CSS?

do you mean something like ---- word ---- ?

span{text-decoration:line-through;}
<p><span>&nbsp; &nbsp; &nbsp;</span> word <span>&nbsp; &nbsp; &nbsp;</span></p>
 
L

Luigi Donatello Asero

J

Jukka K. Korpela

Luigi Donatello Asero said:
I mean a line without spaces something like the lines on the page
http://www.cilea.it/WWW-map/NIR-map.html

The lines are part of the image. You use an image processing program to
add text and lines into an image.

(It would be possible, with the usual caveats, to create horizontal and
vertical lines using CSS and position them on the image. But that would
be unreliable and very clumsy as compared with the simple use of image
processing software.)

Hopefully you will create something more sensible than the image map
on the page you mention. That particular image map suffers from several
problems. Luckily there are links to alternatives that contain the
information as lists of links. An image map should always be
accompanied with such a list, especially since popular browsers
effectively fail to implement client-side image maps when the image is
not available, i.e. they don't make the areas available with their alt
texts.

And in that particular image map, lack of alt texts is essential when
the image is displayed, too. In many parts the server density is so
high that it is impossible to say which square corresponds to which
city unless you know Italian geography well. Well, there's the status
line, where the URL might help. But it's a poor surrogate for an
appropriate alt text.
 
L

Luigi Donatello Asero

Jukka K. Korpela said:
The lines are part of the image. You use an image processing program to
add text and lines into an image.

(It would be possible, with the usual caveats, to create horizontal and
vertical lines using CSS and position them on the image. But that would
be unreliable and very clumsy as compared with the simple use of image
processing software.)

Hopefully you will create something more sensible than the image map
on the page you mention. That particular image map suffers from several
problems.

Well, that page was still number one when I looked for "map of Italy" at
www.google.com !


--
Luigi ( un italiano che vive in Svezia)


http://www.italymap.dk
http://www.scaiecat-spa-gigi.com/sv/faktaomitalien.html
 
L

Luigi Donatello Asero

brucie said:
it doesn't mean SHIT if PEOPLE cant use it but it doesn't matter its
NUMBER ONE ON GOOGLE. for **** sake.

Why do you shout ( capital letters)?
My question is: does Google take the bad/good quality of a page into account
when it ranks it on the top or only other things like perhaps the number of
visitors of the site?

--
Luigi ( un italiano che vive in Svezia)


http://www.italymap.dk
http://www.scaiecat-spa-gigi.com/sv/faktaomitalien.html
 
B

brucie

Why do you shout ( capital letters)?

there was a really good song on the radio and i had it up really loud.
My question is: does Google take the bad/good quality of a page into account
when it ranks it on the top

google is not human. it wouldn't know a good/bad site if it bit it on
its bum. it guesses.
or only other things like perhaps the number of visitors of the site?

google has no way of knowing how many visitors a site gets unless
they're from links on its own pages that its tracking and then its still
a guess.
 
J

Jan Faerber

My question is: does Google take the bad/good quality of a page into
account
when it ranks it on the top or only other things like perhaps the number
of
visitors of the site?


Yes, but your subject was "Line after or before a word".

Jan




Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
J

Jan Faerber

How do you draw a line after a word or before a word in HTML and/or CSS?
By <hr>?

No - <hr> means "horizontal rule" and is used to draw a line more in a way
to part text
in a vertical kind.

I would use the <u> tag which stands for "underline".

<u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>hallo<u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>


Jan
 
J

Jan Faerber

deprecated and it doesn't necessarily mean "underline"

Oh - anyway the equivalent thing to your css style
span{text-decoration:line-through;}
would be <s> for "stroke"?

But of course - <s> is as well deprecated.



Jan
 
B

brucie

Oh - anyway the equivalent thing to your css style
span{text-decoration:line-through;}
would be <s> for "stroke"?
strike

But of course - <s> is as well deprecated.

and it doesn't necessarily mean "strike through text"
 
L

Luigi Donatello Asero

Jukka K. Korpela said:
Hopefully you will create something more sensible than the image map
on the page you mention. That particular image map suffers from several
problems. Luckily there are links to alternatives that contain the
information as lists of links. An image map should always be
accompanied with such a list, especially since popular browsers
effectively fail to implement client-side image maps when the image is
not available, i.e. they don't make the areas available with their alt
texts.

And in that particular image map, lack of alt texts is essential when
the image is displayed, too. In many parts the server density is so
high that it is impossible to say which square corresponds to which
city unless you know Italian geography well. Well, there's the status
line, where the URL might help. But it's a poor surrogate for an
appropriate alt text.

Well, do you mean alt texts as the ones I wrote on the map of Italy on the
page http://www.scaiecat-spa-gigi.com/sv/boendeiitalien.html
and links to alternatives as
[Aosta] [Milano] [Torino(Turin)] [Genova(Genua)] [Trento] [Trieste] [Venezia
(Venedig)] [Bologna] [Firenze (Florens)] [Ancona] [Perugia] [L´Aquila] [Roma
(Rom)] [Campobasso] [Bari] [Napoli (Neapel)] [Potenza] [Catanzaro] [Palermo]
[Cagliari] on the same page ?



--
Luigi ( un italiano che vive in Svezia)


http://www.italymap.dk
http://www.scaiecat-spa-gigi.com/sv/faktaomitalien.html
 
L

Luigi Donatello Asero

Jan Faerber said:
Yes, but your subject was "Line after or before a word".

Jan

I did not mean that the question above was my original question.
The question "does Google take the bad/good quality of a page into
account
when it ranks it on the top or only other things like perhaps the number
of visitors of the site?"
was referred to the sentence "Hopefully you will create something more
sensible than the image map
on the page you mention. That particular image map suffers from several
problems" which had been written by
Jukka K. Korpela.

--
Luigi ( un italiano che vive in Svezia)


http://www.italymap.dk
http://www.scaiecat-spa-gigi.com/sv/faktaomitalien.html
 
J

Jukka K. Korpela

Actually, it means exactly that:
"U: Deprecated. Renders underlined text."
http://www.w3.org/TR/html4/present/graphics.html#edef-U

The <u> markup is physical markup that indicates underlined text. This
does not imply that the text will always be underlined, just as
<font color="red"> does not mean that the text will always be red,
since browsers may have physical limitations, and user style sheets
and it doesn't necessarily mean "strike through text"

Well, it by definition means just that.

(The <del> markup, on the other hand, means 'deleted text', and
although it is usually rendered as strike through text, its meaning is
not defined by its possible appearance. But physical markup _is_
defined by the appearance indicated.)

Of course, this has nothing to do with the problem of creating lines
into a map. But I thought the issue of physical markup needed to be
clarified. Physical markup is not recommendable, as a rule, but it's
simple; no need to make its _meaning_ complicated.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top