![]() |
Aligning with css
Afternoon all,
New here and im not great with html or css so bare with me. I'm trying to make a simple page with several images that align across the page but when viewed on a mobile browser align vertically. What is the best way to do this? Can I do this with css positioning or will i have to load seperate css files? Have a look: http://applebandits.co.uk/testing Sorry if you don't get what I mean. Cheers |
Looks like you've got the idea, just not selecting elements correctly. instead of attaching the class to <p>, it should be in the <img> tag. also rather use an id instead of class, unless you intend to use those same stylings elsewhere. so in the css you'll have #pos_one instead of .pos_one, and in the html <img id="pos_one"...>
|
Quote:
Cheers |
| All times are GMT +1. The time now is 10:55 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.