/    Sign up×
Community /Pin to ProfileBookmark

to combine <hr> and &larr;

I would like to combine a line drawn using <hr> and an arrow made using the &larr special character. If I use it in the following way :

<TABLE width=”100%” border=”0″>
<COLGROUP><COL width=”2%”></COL><COL width=”98%”></COL></COLGROUP>
<TR><TD align=”RIGHT”><FONT face=”arial” size=”6″><B>&larr;</B></FONT></TD>&nbsp;
<TD><HR align=”LEFT” size=”2%” noshade=1 color=”black” width=”50%”></TD></TR></TABLE>

there is a gap b/w the arrow and the line.
Somebody please help.
Thanks in advance.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@the_treeMar 15.2005 — Well that's from either your cell padding or margins but please please don't do stuff like this with tables.

For ASCII art the <pre> tag is more appropriate, although the concept is inadvisable.
Copy linkTweet thisAlerts:
@Robert_WellockMar 15.2005 — &amp;#8592; Are you trying to create a long line with an arrow tip. I hope not.
Copy linkTweet thisAlerts:
@shubhideepaliauthorMar 15.2005 — ya actually i am trying to crate a long line with an arrow indicating direction in the end.
Copy linkTweet thisAlerts:
@PGariesMar 21.2005 — I think your best bet is to use an image. Connecting an <hr> element to a piece of text and expecting it to line up correctly 100% of the time (provided you could get them to do so in the first place) won't be reliable since the character and element are subject to browser interpretation, user-specified font sizes, and what fonts the user has installed whereas an image is the same in all of these situations.
×

Success!

Help @shubhideepali spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...