Marzon Posted November 22, 2020 Posted November 22, 2020 Site URL: https://puma-orb-9lss.squarespace.com/projects/metal-shop I'm looking to vertically center the location and photography sub-titles with the main title. Is this possible? This is the code I have so far. The most difficult part (for me at least) is to also having the photography show up inline on the right. <div style="line-height:40px; float:left"> <h2 style="display:inline; font-weight:bold">Project Title</h2> <h2 style="display:inline">|</h2> <h3 style="display:inline; color:grey">Location, NY</h3> </div> <div style="line-height:40px; float:right"> <h3 style="display:inline; font-style:italic; color:grey">Photography: Name Last</h3> </div> <div style="clear:both;"></div> <p style="text-align: justify"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
tuanphan Posted December 4, 2020 Posted December 4, 2020 It looks like you solved with display: inline? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.