simple HTML question : solved

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
ben_albrechts
Forum Commoner
Posts: 33
Joined: Wed Oct 26, 2005 3:33 am

simple HTML question : solved

Post by ben_albrechts »

Hey ,

I've got a simple html question.
I'm placing a load of thumbnails after eachother , but they automatically go to the next line , how can i make it so that they all are on one line and just has a scrollbar underneath to move to the ones that aren't visible on the screen

it's like :

<img src="....">
<img src="...">
<img src="....">
<img src="...">
<img src="....">
<img src="...">
<img src="....">
<img src="...">
<img src="....">
<img src="...">


and so on ....
Last edited by ben_albrechts on Fri Nov 18, 2005 7:54 am, edited 1 time in total.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Hmm, try putting the code like this:
<img src="..."> <img src="..."> <img src="...">

That's only a guess.
ben_albrechts
Forum Commoner
Posts: 33
Joined: Wed Oct 26, 2005 3:33 am

Post by ben_albrechts »

just tried it , but it didnt change anything
ben_albrechts
Forum Commoner
Posts: 33
Joined: Wed Oct 26, 2005 3:33 am

Post by ben_albrechts »

Ok I solved it. I did it like you said , but put <pre>in front and </pre> after.

Thanks !
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Code: Select all

<style type='text/css'>
img {display:inline}
</style>
Post Reply