Here is the HTML
structure that I am working with:
<div id="id1">
<h1>my name </h1><h3><a href="mailto:myemail_id"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ff92869a929e9693969bbf878685d19c9092">[email protected]</a></a></h3>
</div>
When rendered, the code displays the <h3>
element on a separate line. I would like it to appear next to the <h1>
without any line breaks.
This is my current CSS:
#id1{
width: 900px;
padding: 30px;
background: #FFF;
text-align:center;
}
#id1 h3{
font-family:Arial;
white-space:nowrap
}
How should I modify the code to achieve the desired layout?