/ Forside / Teknologi / Udvikling / HTML / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
HTML
#NavnPoint
molokyle 11184
Klaudi 5506
bentjuul 3377
severino 2040
smorch 1950
strarup 1525
natmaden 1396
scootergr.. 1320
e.c 1150
10  miritdk 1110
Usynligt link!
Fra : Søren Møller


Dato : 28-03-02 20:09

Hej!
Hvordan er det lige man lavet et "usynligt" link (altså unden
understregning!)
Her er mit link + tekst:
<a href="side2/side2.htm">Tryk her for side 2</a>

Mvh.
Søren



 
 
Mads Graugaard Hanse~ (28-03-2002)
Kommentar
Fra : Mads Graugaard Hanse~


Dato : 28-03-02 20:29

Søren Møller wrote in dk.edb.internet.webdesign.html:
> Hej!
> Hvordan er det lige man lavet et "usynligt" link (altså unden
> understregning!)
> Her er mit link + tekst:
> <a href="side2/side2.htm">Tryk her for side 2</a>

Hej Søren ...


Prøv med

<a href="side2/side2.htm" style="text-decoration: none;">Tryk her
for side 2</a>


Hilsen

Mads

--
Vil du lære at kode HTML, XHTML, CSS, SSI eller ASP ???
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! => http://www.html.dk/tutorials

Insider (28-03-2002)
Kommentar
Fra : Insider


Dato : 28-03-02 20:42

Mads Graugaard Hansen wrote:
>
> Søren Møller wrote in dk.edb.internet.webdesign.html:
> > Hej!
> > Hvordan er det lige man lavet et "usynligt" link (altså unden
> > understregning!)
> > Her er mit link + tekst:
> > <a href="side2/side2.htm">Tryk her for side 2</a>
>
> Hej Søren ...
>
> Prøv med
>
> <a href="side2/side2.htm" style="text-decoration: none;">Tryk her
> for side 2</a>
>


That may work and than again, it may not.

Use a clear.gif and no border for your link.

--
Insider

Insider (29-03-2002)
Kommentar
Fra : Insider


Dato : 29-03-02 08:35

Søren Møller wrote:
>
> Hej!
> Hvordan er det lige man lavet et "usynligt" link (altså unden
> understregning!)
> Her er mit link + tekst:
> <a href="side2/side2.htm">Tryk her for side 2</a>
>

Another way to do it (besides the transparent gif method) is to use
a <font> tag inside the anchor so it wraps the link text and make the
font color the same as the background color. This should be done
inside a table so you have control over the background color and the
background is not an image.

<a href="side2/side2.htm"><font color="#ffffff">&nbsp;&nbsp;</font></a>

The downside of this method is the link will be visible as a horizontal
line when the page is highlighted with a mouse.

--
Insider

Allan Vebel (29-03-2002)
Kommentar
Fra : Allan Vebel


Dato : 29-03-02 21:54

"Insider" <invalid_email@yahoo.com> skrev:

> <a href="side2/side2.htm"><font color="#ffffff">&nbsp;&nbsp;</font></a>

<font> har været "depricated" i html-standarden i mange år - brug css til
formålet.

--
Allan



Insider (30-03-2002)
Kommentar
Fra : Insider


Dato : 30-03-02 08:42

Allan depreciated wrote:
>
> "Insider" <invalid_email@yahoo.com> skrev:
>
> > <a href="side2/side2.htm"><font color="#ffffff">&nbsp;&nbsp;</font></a>
>
> <font> har været "depreciated" i html-standarden i mange år - brug css til
> formålet.


The font tag is valid in HTML 4.01, and that's the standard I use.
Css is worthless if it is not enabled in the client browser.

I don't see any problem using valid HTML 4.01.

--
Insider

Rune Glerup (30-03-2002)
Kommentar
Fra : Rune Glerup


Dato : 30-03-02 12:21

Insider skrev:

> The font tag is valid in HTML 4.01, and that's the standard I use.

The <font>-tag is valid in the transitional version of HTML... as in
transition. <font> is going out; CSS is going in.

> Css is worthless if it is not enabled in the client browser.

So, the user having the option to change the colors if the text is hard
to read is a bad thing?

--
/Rune
w|http://kaboom.dk/

"Again, we remind you that frames are on their way out anyway."

Insider (30-03-2002)
Kommentar
Fra : Insider


Dato : 30-03-02 14:06

Rune Glerup wrote:
>
> Insider skrev:
>
> > The font tag is valid in HTML 4.01, and that's the standard I use.
>
> The <font>-tag is valid in the transitional version of HTML... as in
> transition. <font> is going out; CSS is going in.
>
> > Css is worthless if it is not enabled in the client browser.
>
> So, the user having the option to change the colors if the text is hard
> to read is a bad thing?

No, it's a good thing. I do that in Preferences in my browser. It seems
to me that many people who use css do not consider those who don't.

--
Insider

Insider (30-03-2002)
Kommentar
Fra : Insider


Dato : 30-03-02 22:08

Rune Glerup wrote:
>
> Insider skrev:
>
> > The font tag is valid in HTML 4.01, and that's the standard I use.
>
> The <font>-tag is valid in the transitional version of HTML... as in
> transition. <font> is going out; CSS is going in.

Since <font> is valid in HTML 4.01, I see no reason not to use it.
Just my opinion.

--
Insider

Søg
Reklame
Statistik
Spørgsmål : 177579
Tips : 31968
Nyheder : 719565
Indlæg : 6409073
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste