I'm currently working on a website written in HTML (and CSS of course) I have one JavaScript in it... just a little slideshow.
There's an anchor tag with an image in it before the script and after the script there's also a anchor tag with an image in it.
...
<a href="... .html">
<img class="img" src="... .png" title="..."></a>
<script type="text/javascript">
<!-- the script text -->
</script>
<a href="... .html">
<img class="img" src="... .png" title="..."></a>
...
My problem is the line break before and after the script tag. I want it to be
image slideshow(script) image
All used images (including the slideshow content) have the same height.
I've tried display: inline; and white-space: nowrap; (and every other white-space thing)
I've put it both directly into the in the html file (style="display:inline;" or style="white-space:nowrap;" and into the css file (script { display: inline; } and script { white-space: nowrap; })
Does anybody know how to prevent the line breaks before and after the script tag??
script{display:none}but that should be the default anyways. is not a good substitute for real margins.display:blockto one of thea's orimgs?