V vidhyaa macrumors newbie Original poster Jun 21, 2016 1 0 Jun 21, 2016 #1 I need to align picture so that one may be higher or lower than the other. How can I achieve it?
Flood123 macrumors 6502a Mar 28, 2009 624 62 Living Stateside Jun 23, 2016 #2 vidhyaa said: I need to align picture so that one may be higher or lower than the other. How can I achieve it? Click to expand... Your question isn't super clear. At least to me. Do you have a screenshot of the design of desired result?
vidhyaa said: I need to align picture so that one may be higher or lower than the other. How can I achieve it? Click to expand... Your question isn't super clear. At least to me. Do you have a screenshot of the design of desired result?
macyboxy macrumors newbie Jun 27, 2016 11 6 Manchester Jun 28, 2016 #3 I think that you want to align it vertically? You can try it in that way: <div id="block"> <img src="firstimg.jpg"> <img src="secondimg.jpg"> </div> and in CSS: #block { line-height: 100px; } #block img { vertical-align: middle; } Hope it's what you needed Reactions: Flood123
I think that you want to align it vertically? You can try it in that way: <div id="block"> <img src="firstimg.jpg"> <img src="secondimg.jpg"> </div> and in CSS: #block { line-height: 100px; } #block img { vertical-align: middle; } Hope it's what you needed
960design macrumors 68040 Apr 17, 2012 3,853 1,716 Destin, FL Jun 28, 2016 #4 vidhyaa said: I need to align picture so that one may be higher or lower than the other. How can I achieve it? Click to expand... Please post your code in something like this ( then send us the link ) so that we can get a better idea of how to help: https://jsfiddle.net/ Reactions: Flood123
vidhyaa said: I need to align picture so that one may be higher or lower than the other. How can I achieve it? Click to expand... Please post your code in something like this ( then send us the link ) so that we can get a better idea of how to help: https://jsfiddle.net/
J johnmathew11 macrumors newbie Jun 29, 2016 2 1 Jul 12, 2016 #5 Please give the complete picture of your problem so i can give you the code to fix your issue. Reactions: Flood123
iPaintCode macrumors regular Jun 24, 2012 142 38 Metro Detroit Jul 30, 2016 #6 It never hurts to read documentation that applies a fix to your need. https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align You can never go wrong, even as an expert, to glance over documentation. Reactions: Flood123
It never hurts to read documentation that applies a fix to your need. https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align You can never go wrong, even as an expert, to glance over documentation.