Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ouch! That's a somewhat painful layout.</p> <p>You can re-use css styles more than you have, using class instead of id to differentiate. I didn't bother to add every element you're displaying (some stuff in the footer and the buttons that seem like they should be in the footer)</p> <p>Your page was 303 lines of text. This example is 93. Also - you should have a look at the Developer Tools found in browsers - they let you see the bounding-rect of elements and change their styles dynamically - two things that you may find helpful. :)</p> <p>Ctrl-Shit-I - Chrome &amp; Opera F12 - IE</p> <p>Or you can often right-click an element then select "Inspect Element"</p> <p>Enjoy!</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;style&gt; body { padding: 0; margin: 0; background-color: #C15D63; } .page { background-color: #E198B2; margin: auto; width: 800px; } .pageFooter { border: 3px outset; background-color: #62587C; height: 60px; clear: both; } .item { margin: 16px; } .item img { float: left; width: 220px; height: 204px; margin-left: 32px; margin-right: 32px; border: solid 2px black; } h1 { font-weight: bold; font-family: Copperplate Gothic Light, sans-serif; font-size: 1.2em; text-transform: uppercase; } p.description { font-weight: bold; font-size: .8em; padding: 5px 0px 5px 0px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class='page'&gt; &lt;br&gt; &lt;div class='item'&gt; &lt;img src='item1.png'&gt; &lt;h1&gt;Beanie Baby&lt;/h1 &lt;p class="description"&gt;Yorkshire Terrier, Female, 10 years, 5 lbs.&lt;/p&gt;&lt;!--end p description--&gt; &lt;p&gt; Beanie Baby was brought into our rescue from Lancaster, PA where she and her two siblings were born to a breeder. When she was born she was the size of an actual beanie baby, hence the name! She was adopted in 2008 to a family of three who loved and cared for her. With some good TLC, Beanie became an outgoing pup who loved everyone and every other animal, but she was a total momma's girl! She loved to snuggle under the blankets and was always there to greet you after a long day at work. Beanie passed away in 2011. &lt;/p&gt; &lt;/div&gt; &lt;div class='item'&gt; &lt;img src='item2.png'&gt; &lt;h1&gt;Tinkerbell&lt;/h1&gt; &lt;p class="description"&gt;Tabby Short Hair, Male, 18 years, 12 lbs.&lt;/p&gt;&lt;!--end p description--&gt; &lt;p&gt; Tinkerbell first came into our rescue 18 years ago. He loved to spend his days outside soaking up the sun and the nights inside sleeping an the foot of someone's bed. Every time Tinkerbell heard a can opener, he came running assuming that he was going to get a helping of tuna. He was a cat that enjoyed his personal space, but had a daily routine to come visit someone for a good scratching. Tinkerbell passed away in 2012. &lt;/p&gt; &lt;/div&gt; &lt;div class='item'&gt; &lt;img src='item3.png'&gt; &lt;h1&gt;Sadie&lt;/h1&gt; &lt;p class="description"&gt;Hamster, Female, 1 year, 1 lbs.&lt;/p&gt;&lt;!--end p description--&gt; &lt;p&gt; Sadie is a beautiful tan/white hamster. She came into our rescue when her first family could not give her the attention she required. In 2010, a family adopted Sadie as their first family pet. The family recognized that just like any other animal, even small caged creatures need love and attention. Sadie loves to go on adventures through the house in her spinning ball and find new paths through her jungle tube maze, which the family constantly adds to. For Sadie, her second chance was the best thing that could have happened to her. &lt;/p&gt; &lt;/div&gt; &lt;div class='pageFooter'&gt; &lt;p class="footer_location"&gt;1234 Forbes Avenue&lt;br /&gt; Pittsburgh, PA 15213&lt;/p&gt;&lt;!--end p footer_location--&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>EDIT: Forgot the ! in !DOCTYPE</p>
    singulars
    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