Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML/CSS - Text floating right, when I need to the left
    primarykey
    data
    text
    <p>Tried to solved this on my own, but was not able to, here is my question:</p> <pre><code> &lt;div id="content"&gt; &lt;div id="about"&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. &lt;/p&gt; &lt;div id="cta"&gt; &lt;h3 id="just_10"&gt;The new widget is just $10.&lt;/h3&gt; &lt;a href="#" id="buy_now"&gt;Buy Now&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="widget_pic"&gt; &lt;img src="images/gear.png" alt="A Drawing of a widget, which looks similar to a gear or a cog."&gt; &lt;/div&gt; &lt;p id="compare"&gt;Compare Widget to other products.&lt;/p&gt; </code></pre> <p>I have my p id=compare set to float left, here is the css: </p> <pre><code>#compare { float: left; font-weight: bold; </code></pre> <p>}</p> <p>and it's doing what is suppose to do...is floating to the left, but if I add more text on the about div, the float does not work and the text is appearing on the right, here is what i have for css on the about id.</p> <pre><code>#about { font-size: 1.3em; margin: 20px 0; text-align: left; </code></pre> <p>}</p> <pre><code>#about p { background: #d2b14e; padding: 30px; font-style: italic; font-size: 0.9em; } </code></pre> <p>any help would be appreciated . here is an image for visual</p> <p><a href="http://i782.photobucket.com/albums/yy101/Oliveira500/Learning/question.jpg" rel="nofollow">http://i782.photobucket.com/albums/yy101/Oliveira500/Learning/question.jpg</a></p>
    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.
    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