This task is really testing my patience... I'm attempting to create a layout that resembles the following:
Logo
img|h1|img
The horizontal lines flanking the subtitle serve as a visual guide, like this
--- Subtitle ---
Below is the snippet of HTML code in question:
<div>
<a href="#">
<img class="logo" src="#" alt="..."/></a>
</div>
<div class="subtitle">
<img class="1" src="#" width="60" height="1" alt="..."/>
<h1>subtitle text</h1>
<img class="2" src="#" width="60" height="1" alt="..."/>
</div>
I experimented with nesting the elements within another div and setting a percentage width for that div along with margin:0 auto;, but encountered an issue where enlarging text size in the browser causes the right image to jump to the next line.
Your guidance on this matter would be immensely appreciated. Thank you!