/    Sign up×
Community /Pin to ProfileBookmark

Get rid of a little space under image

Hi !

I’m not able to remove the little space under the upper right corner image (space between the end of the image and the border of the table).
Maybe CCS would do it ? One comment though, you cannot chnage those lines as one of my script won’t work anymore :

<script>
document.write(‘<img src=”‘+parent.iOut.src+'”‘);
</script>
onclick=”parent.expandf(this);” name=”toc” style=”cursor:hand;” height=”15″ alt=”Collapse/resize” onmouseover=”this.src=parent.iOver.src;” onmouseout=”this.src=parent.iOut.src;”>

The page can be viewed here :[URL=http://pages.infinit.net/rouxjean/frame.htm]http://pages.infinit.net/rouxjean/frame.htm[/URL]

Thanks !!!

[moderators note]
I’ve taken the code tags out to stop the page going the full width of the code without wrapping. (because it’s annoying and you have to scroll across to find the reply button) If you need the code properly, just follow the link above. Thanks

to post a comment
HTML

9 Comments(s)

Copy linkTweet thisAlerts:
@DaveSWJul 17.2003 — Guess what? I can't get rid of it either. I've tried absolute positioning, floating, modifying margins etc, but I think I must have missed something basic...

by the way, hope you didn't mind me modifying your post. I've been dying to press that button for ages... er I mean I find it annoying having to scroll across, ? and I know other people do too. LOL
Copy linkTweet thisAlerts:
@MotaboboauthorJul 17.2003 — I don't mind at all lol

So there is no way to remove this annoying space ?
Copy linkTweet thisAlerts:
@DaveSWJul 17.2003 — how about using a css rollover not a javascript one? send me the two images (I can't get the mousover one) and I'll try it.

Or can't you mod that at all?
Copy linkTweet thisAlerts:
@MotaboboauthorJul 17.2003 — Thanks for helping but that won't do :-(

I need this javascript since the images will change depending if the frame containing this very page is collapsed or not....

Do you think i should move this topic to html or another one ?
Copy linkTweet thisAlerts:
@DaveSWJul 17.2003 — we'll try html. Yay - another button to try!!

OK. It didn't blow up LOL.

[moderators note]

thread moved from css forum cos I can't solve it LOL.
Copy linkTweet thisAlerts:
@wublubJul 18.2003 — I was tinkering and I think I may have found it..

In the following code (line 27):

onclick="parent.expandf(this);" name="toc"

style="cursor:hand;" height="15" alt="Collapse/resize"

onmouseover="this.src=parent.iOver.src;"

onmouseout="this.src=parent.iOut.src;">

</td></tr></table>

..remove the linespace before </td> so it looks like this:

onmouseout="this.src=parent.iOut.src;"></td></tr></table>

I don't know why, but it worked for me!

wublub
Copy linkTweet thisAlerts:
@MotaboboauthorJul 18.2003 — You're the man !!!!

Thank you ? ?
Copy linkTweet thisAlerts:
@wublubJul 18.2003 — my pleasure! ?

wublub
Copy linkTweet thisAlerts:
@DaveSWJul 18.2003 — lol
×

Success!

Help @Motabobo 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 6.16,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...