/    Sign up×
Community /Pin to ProfileBookmark

Space between activated images

I want to create my own web page, and use activated images for navigation.
(I created the page on a disk, and obviously I’m going to change the a: to a URL) I would like there to be a space BETWEEN these images, but I keep getting this annoying underscore.
Here is a small sample of my code. I know there is probably a simple way to do this (maybe).

<TR>
<TD>
<A HREF=”a:Section_31index.html”><IMG width=60 height=20 border=1 SRC=”a:SECTION_31Imagesgifmain.gif”</A>
<A HREF=”a:Section_31Section_31.html”><IMG width=132 height=20 border=1 SRC=”a:SECTION_31ImagesgifAbout_Section_31.gif”</A>
<A HREF=”a:Section_31TorilToran.html”><IMG width=102 height=20 border=1 SRC=”a:SECTION_31ImagesgifToril_Toran.gif”</A>
<A HREF=”a:Section_31Torans_Awards.html”><IMG width=162 height=20 border=1 SRC=”a:SECTION_31ImagesgifTorans_Awards.gif”</A>
<A HREF=”a:Section_31Suggestions.html”><IMG width=102 height=20 border=1 SRC=”a:SECTION_31ImagesgifSuggestions.gif”</A>
<A HREF=”a:Section_31El-Aurian.html”><IMG width=102 height=20 border=1 SRC=”a:SECTION_31ImagesgifEl-Aurian.gif”</A>
</TD>
</TR>

Could you PLEASE tell me if it is possible to put spaces between images. and how do I do that?

thanks
danam22135

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@andyshepJan 18.2006 — heres a solution:

[CODE]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
img {
margin-right: 5px;
margin-left: 5px;
}
-->
</style>
</head>

<body>
<table>
<TR>
<TD>
<A HREF="a:Section_31index.html"><IMG width=60 height=20 border=1 SRC="a:SECTION_31Imagesgifmain.gif" /></A>
<A HREF="a:Section_31Section_31.html"><IMG width=132 height=20 border=1 SRC="a:SECTION_31ImagesgifAbout_Section_31.gif" /></A>
<A HREF="a:Section_31TorilToran.html"><IMG width=102 height=20 border=1 SRC="a:SECTION_31ImagesgifToril_Toran.gif" /></A>
<A HREF="a:Section_31Torans_Awards.html"><IMG width=162 height=20 border=1 SRC="a:SECTION_31ImagesgifTorans_Awards.gif" /></A>
<A HREF="a:Section_31Suggestions.html"><IMG width=102 height=20 border=1 SRC="a:SECTION_31ImagesgifSuggestions.gif" /></A>
<A HREF="a:Section_31El-Aurian.html"><IMG width=102 height=20 border=1 SRC="a:SECTION_31ImagesgifEl-Aurian.gif" /></A>
</TD>
</TR></table>
</body>
</html>
[/CODE]


you are not closing your tags properly

<A HREF="a:Section_31index.html"><IMG width=60 height=20 border=1 SRC="a:SECTION_31Imagesgifmain.gif"</A>

<A HREF="a:Section_31Section_31.html"><IMG width=132 height=20 border=1 SRC="a:SECTION_31ImagesgifAbout_Section_31.gif"[COLOR=Red][B]>[/B][/COLOR]</A>

this is a basic way to do it notice the <style type="text/css">

at the top

img {

margin-right: 5px;

margin-left: 5px;

}

this will apply a spacing of 5pixels on the left and right of every image in the document.

learn some css!!!
Copy linkTweet thisAlerts:
@danam22315authorJan 19.2006 — I just wanted to say thank you for helping me with the code problem. As to not closing the images properly: I knew it had to be something simple.

I WILL start learning about CSS, so hopefully this won't happen again.

Thanks again
danam22315
×

Success!

Help @danam22315 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.25,
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,
)...