How do you put html.H1 and html.Img on the same row?
I’ve tried style={‘display’:‘inline-blocking’} which is suppose to allow two html.Div’s to be side by side, doesn’t seem to work. I used two html.Div’s, I tried adding the style=blah within each html.H1 and html.Img components, doesn’t work. I tried nesting hml.H1 and html.Img in the same html.Div, doesn’t work.
Good catch! Thank you! That definitely got me closer, all 3 elements are in the top row. But I can’t get the middle element to be centered. What’s missing from my code? The textAlign doesn’t seem to be working for html.H1…I need that to be centered, right now it’s to the left up against html.Img.
I’ll give this a try, I actually got my row working partially and decided it was good enough and moved on. I still don’t fully understand nor can I see through trial and error what exactly the ‘display’:‘inline-block’ and ‘display’:‘inline’ really do.
I tried the different settings just couldn’t see any consistent behavior.