Hello,
I would like to have something that has the width: 10px, to place in front of a text.
Explanation:
I have an image followed by a text like this:
In the first and second line, I have an image followed by the text "Hello"(in this example). 4th and 5th line: I have an empty image and then the text "Hello again!". The text "Hello again!" has the same text indentation as the text above.
The problem is: I do not want an empty image, but if I remove the image, the text indentation becomes wrong. I tried to fill out with empty spaces (many &nbps), but it did not work. I do not want anything inside the <a>-tag, I want something in front of it.
I also tried to make a new tag, called noimg, with width= 10px. It worked if I put a letter inside that tag, otherwise not.
please help!
I would like to have something that has the width: 10px, to place in front of a text.
Explanation:
I have an image followed by a text like this:
Code:
<img src="a.png" id="a1">
<a href="#" onclick="link(); return false" class="cl1">Hello!</a><br>
<img src="no.png" id="a2">
<a href="#" onclick="sm(); return false" class="cl2">Hello again!</a><br>
The problem is: I do not want an empty image, but if I remove the image, the text indentation becomes wrong. I tried to fill out with empty spaces (many &nbps), but it did not work. I do not want anything inside the <a>-tag, I want something in front of it.
I also tried to make a new tag, called noimg, with width= 10px. It worked if I put a letter inside that tag, otherwise not.
please help!