I have this simple snippet in a WordPress widget:
<h3>Kevin Smith</h3><h2>The Official Kevin Smith Website</h2>
The name is changed for privacy. Is there any possible way I get get these to appear on the same line?
I'm a CSS dummy, but I've tried doing things like:
<div display:inline><h3>Kevin Smith</h3><h2>The Official Kevin Smith Website</h2></div>
But this doesn't work for reasons that are most likely obvious to CSS gurus.
Any guidance in how I can achieve putting these on the same line would be greatly appreciated!
* UPDATED SOLUTION *
For anybody with similar issues, I just used this -- with the help of @antyrat and @jacefarm:
<div style="display:inline">Kevin Smith</div><p style="display:inline">The Official
Kevin Smith Website</p>
That way, I was able to style the div differently than the p, and they're both inline -- which is precisely what I was attempting to achieve.
Kevin Smith
The Official Kevin Smith WebsiteThe Official Kevin Smith Website
.... Thanks again! – Jason Weber Aug 15 '14 at 13:45