Note that there are some explanatory texts on larger screens.

plurals
  1. POSafari text-alignment has me stumped
    primarykey
    data
    text
    <p>I am having a hard time understanding what to do to prevent Safari (on a Mac) from playing havoc with the alignment of a paragraph element, nested within some divs.</p> <p>The problem can be seen using Safari web browser at <a href="http://www.redkitesmusic.com/redkites" rel="nofollow noreferrer" title="www.redkitesmusic.com/redkites">www.redkitesmusic.com/redkites</a> After loading the page, select THE BAND.</p> <p>Here is what I get in Safari:</p> <p><img src="https://i.stack.imgur.com/lU8Tu.png" alt="badly formatted in Safari"></p> <p>And here is what I get in Chrome (and others)</p> <p><img src="https://i.stack.imgur.com/M2SZD.png" alt="nicely formatted in Chrome"></p> <p>I have tried to work this out using the web developer inspector but can't figure out what's wrong. </p> <p>HTML and CSS follow.</p> <p><strong>Thank you</strong> if you can make some sense of my problem and offer a possible solution!</p> <p>This is the HTML snippet:</p> <pre><code>&lt;div id="divPopupContent" style="display: block;" class="bios"&gt; &lt;div style="float:left;width:30%"&gt; &lt;p&gt;About me: I was born in Cameroon in 1989 but have lived in The Highlands of Scotland for most of my life. In 2010 I dropped out of my Ecology course in Aberdeen and moved to Guildford to form a band…&lt;/p&gt; </code></pre> <p>And this is the CSS which applies</p> <pre><code>#divPopupContent { background-color: #EEF; border-radius: 6px 6px 6px 6px; color: #333; float: left; font-size: 0.9em; height: 92%; letter-spacing: 1px; line-height: 1.6em; margin-left: 6px; /*margin-top: -18px;*/ margin-top: 6px; overflow: hidden; padding: 4px; padding-right: 18px; position: relative; width: 72%; z-index: 10; } #divPopupContent.bios { width: 78%; } #divPopupContent div:first-child { height: 97%; opacity: 0.8; overflow-x: hidden; overflow-y: auto; padding: 6px; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload