/    Sign up×
Community /Pin to ProfileBookmark

is there any way to make Spaces within php hyperlinked text

Hi
is There is any way to make spaces in hyperlinked text means i want to make space within
<a href=”http://www.webdeveloper.com”>webdeveloper</a>
<a href=”http://www.internet.com”>internet</a>.
acctually i want to add small buttons insted of names “webdeveloper” and “internet” and want some space within these images so is that is possible?

Thanks in advance
Edward

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@NvenomJun 23.2011 — yeah, just make some images lol XD

[CODE]<a href="yourwebsite.com/blah.php"><img src="img/something.png" /></a>[/CODE]

thats Actually html though not php ?
Copy linkTweet thisAlerts:
@edward05authorJun 24.2011 — Thank you soo much Nvenom For reply

So plz guide me is there is any Possible way in Html or php?

Regards
Copy linkTweet thisAlerts:
@NvenomJun 24.2011 — Going to have to give more information than that lol, like what are you trying to do..? a navigation bar?
Copy linkTweet thisAlerts:
@criterion9Jun 24.2011 — Create the images you want and insert them between the <a> and </a> tags using an <img> tag. An example was given above.
Copy linkTweet thisAlerts:
@NogDogJun 24.2011 — You can simply use an <a> tag and style it to have the look of a button, with whatever margin/padding space you desire.

CSS:
<i>
</i>a.button {
border: outset 3px gray;
background-color: #dedede;
padding: 5px 10px;
text-decoration: none;
font-weight: bold;
color: #933;
}

HTML:
[code=html]
<a class='button' href='something_else.html'>Something Else</a>
[/code]


The <img> solutions above will give you more flexibility in how it looks, though; but be sure to use a meaningful "alt" attribute, so there's something to click on if the user's browser is not displaying images.
×

Success!

Help @edward05 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.17,
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,
)...