tags:

views:

60

answers:

2

Hi, when I make   in my site, it displays a tiny line, which can be hidden on some elements because I'm usually using them on CSS buttons, but I have an if statement that says if this show the result if not show a non breaking space.

How do you reset the   to display nothing?

Thanks.

+2  A: 

The "tiny line" is most likely an underline/border. Remove text-decoration and/or borders.

Why are you using  s if you don't want them to do anything, though? No need to clutter the source with them unless you really need them.

Matti Virkkunen
Thanks, I shall try that, I'm using them for things like CSS buttons, to force them to display, I've learned it's a good idea to put something in between the opening and closing tags to make sure they display. `<button type="submit" class="submit" nsme="OFFLINE2" id="fullfor_btn" title="Fullfør bestillingen nå" value=""> </button>`
Kyle Sevenoaks
Have you even tried removing them?
Matti Virkkunen
+3  A: 

Is this tiny line an outline? Try this in css:

outline:none;

Is this tiny line an underline? Try this in css:

text-decoration:none;

Is that something else, elaborate your question.

Thanks

Sarfraz
This worked, thanks. Sorry for the vagueness of my question.
Kyle Sevenoaks
@Kyle Sevenoaks: That's good news.
Sarfraz
Poor usability. x_x
ANeves