garyblackpool Posted October 26, 2009 Share Posted October 26, 2009 Hi, I have some images in a list i want them to all be in a horizontal row withought the screen stretching. Unfortunatly i only seem to be able to do it by setting the screen to a set width however i do not know many imagess are to be in the row.Thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted October 26, 2009 Share Posted October 26, 2009 The images are going to jump to the next line if they don't fit in the screen's width.Just add display: inline to the <li> elements, and add padding: 0; list-style-type: none; to the <ul> element. Link to comment Share on other sites More sharing options...
garyblackpool Posted October 26, 2009 Author Share Posted October 26, 2009 The images are going to jump to the next line if they don't fit in the screen's width.Just add display: inline to the <li> elements, and add padding: 0; list-style-type: none; to the <ul> element.Okay did that but what i was trying to do is to make a list of images with a screen over so then i could use javascript to move the images behind the screen. to make sort of a slide show. Am i going the right way about it?thanks Link to comment Share on other sites More sharing options...
roundcorners Posted November 1, 2009 Share Posted November 1, 2009 you can set a fixed width on the container of the images and then declare overflow:scroll Link to comment Share on other sites More sharing options...
garyblackpool Posted November 1, 2009 Author Share Posted November 1, 2009 you can set a fixed width on the container of the images and then declare overflow:scroll Oh cool yes that was what i was looking for.Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.