Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You need to <em>learn</em> CSS, not <em>fight</em> it. CSS has been used to create much more complex layouts than what you have described. And it is the only way you should be styling your web pages and implementing a layout design.</p> <p>CSS gives you much more control over the presentation of a webpage and positioning of elements than frames can (frames only give you frames to put load multiple pages in; you still need to style those pages separately).</p> <p>This is a rather broad question, so I'll just say this:</p> <ul> <li>Use HTML to semantically organize/structure your content.</li> <li>Use CSS for your presentation.</li> </ul> <p>In other words, don't use any of the following tags or similar tags:</p> <ul> <li><code>&lt;b&gt;</code> (use <code>&lt;strong&gt;</code> instead)</li> <li><code>&lt;i&gt;</code> (use <code>&lt;em&gt;</code> instead)</li> <li><code>&lt;font&gt;</code></li> <li><code>&lt;u&gt;</code></li> </ul> <p>Remember to use structuring tags where appropriate like:</p> <ul> <li><code>&lt;h1&gt;</code> up to <code>&lt;h6&gt;</code></li> <li><code>&lt;p&gt;</code></li> <li><code>&lt;blockquote&gt;</code></li> <li><code>&lt;pre&gt;</code></li> </ul> <p>And use semantically correct tags. So if you have a definition list, use <code>&lt;dl&gt;</code>, <code>&lt;dt&gt;</code> and <code>&lt;dd&gt;</code>. If you have a form, use <code>&lt;label for="{input id}"&gt;</code>, e.g.:</p> <pre><code>&lt;label for="first-name"&gt;First Name:&lt;/label&gt; &lt;input name="first_name" id="first-name" /&gt; &lt;!-- when the user clicks on the label, the input will receive focus --&gt; </code></pre> <p><strong><em>Don't</em> use tables for layouts.</strong> Use them only for tabular data. And when you do, make sure you use proper semantic markup <code>&lt;thead&gt;</code>, <code>&lt;th&gt;</code>, <code>&lt;tbody&gt;</code>, etc.</p> <p>Put <code>title</code> attributes in your links and <code>alt</code> attributes in your images for accessibility and usability.</p> <p>And use stylesheets (preferably external ones for DRY) instead of inline styles.</p> <p>Lastly, as Jan_V mentioned, <a href="http://www.w3schools.com/css/" rel="nofollow noreferrer">w3schools.com</a> is a great resource for CSS, JavaScript, HTML, and most web standards. There is a lot for you to learn, but luckily there's a ton of tutorials, references, and other resources on the web to help you along. Learn how to <strong>properly use</strong> CSS/HTML, and you will produce higher quality webpages as well as save time in maintenance.</p> <p>If you're struggling with the layout you have in mind, start with something simpler and work your way up. E.g. try an evenly drawn 2 column, 2 row layout first. Once you get that working, start changing the proportions and adding more columns/rows.</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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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