Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5959933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:45:17+00:00 2026-05-22T18:45:17+00:00

I am new to the world of coding as well as CSS. I have

  • 0

I am new to the world of coding as well as CSS. I have put together a page however am unsure if I may have overused the div tag and if it would affect the performance of the page as well as if I should be clearing the float as its own div tag e.g.

#content {

        clear: both;

    }

I have included the entire code below

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta http-equiv="Content-Language" content="en-us" />

        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta name="author" content="" />

        <title>Example</title>

        <base href="" />

        <link rel="icon" type="image/png" href="" />

        <link rel="stylesheet" type="text/css" href="" />

        <style type="text/css" media="all">

        * {

            margin: 0;
            padding: 0;

        }


        body {

            font-family: arial, verdana, sans-serif;
            font-size: 0.8em;

        }


        #wrapper {

            /* background-image: url('images/bg-inner-page.gif'); */
            background-color: #808080;
            height: 200px;

        }

        #innerwrapper {

            width: 960px;
            overflow: auto;

        }

        #header {



        }

        #logo {

            float: left;
            margin-top: 20px;
            margin-left: 50px;
            background-color: gray;

        }

        #topnav {

            float: left;
            margin-top: 50px;
            margin-left:30px;
            color: #ffffff;

        }

        #topnav ul {

            word-spacing: 10px;

        }

        #topnav ul li {

            list-style-type: none;
            display: inline;

        }

        #content {

            clear: both;

        }

        #innercontent {

            float: left;
            margin-top: 100px;
            margin-left: 225px;
            margin-bottom: 20px;
            width: 400px;

        }


        #rightcol {

            float: left;
            margin-top: 125px;
            margin-left: 50px;
            width: 200px;

        }


        #footer {

            background-color: gray;

        }


        </style>

    </head>

    <body>
        <div id="wrapper">
            <div id="innerwrapper">

                <div id="header">
                    <div id="logo"><img src="images/logo.gif" width="150" height="96" alt="logo" /></div>

                    <div id="topnav">
                        <ul>
                            <li>home</li>
                            <li>about</li>
                            <li>browse</li>
                            <li>faq</li>
                            <li>contact</li>
                        </ul>
                    </div>

                </div>

                <div id="content">
                    <div id="innercontent">

                        Lorem ipsum dolor sit amet, at elementum neque vestibulum sollicitudin semper neque, vitae metus. Nibh ligula mi. Faucibus rutrum elit turpis, nec congue quam ipsum felis neque et, wisi amet, architecto eros congue. Maecenas suspendisse tellus arcu eget pharetra, rhoncus aenean sapien morbi nec arcu, vivamus aliquet lorem amet at, vestibulum purus sociis varius id. Imperdiet id magnis turpis beatae aliquet, vestibulum dolor nec eget eu cras lobortis, vel rerum, risus sed et, libero et non eros commodo. Taciti eu leo sollicitudin malesuada, nibh duis amet aenean, odio aptent ultrices. Tristique morbi nunc ullamcorper ut curabitur. Et a in ut sem varius, sem rutrum vehicula sem sed, at diam amet erat vel. Et sit in ante felis vitae sit.

                        Quam eget sed elit natoque velit, enim mauris mauris urna, integer amet tellus illo ipsum, dolor fermentum cursus enim mollis tristique porttitor. Non dignissim. Sit ligula leo tincidunt, justo ut ut placerat quisque non, risus nonummy. Ultrices mauris congue aliquam aliquam felis, at placerat, amet vestibulum dictumst pellentesque iaculis risus. Sem sed impedit nullam ultrices lorem aliquam, nulla tellus consequatur in ornare magna. Viverra amet pede in in ornare eu, id arcu. Justo mus suspendisse praesent et, amet mattis convallis ullamcorper felis, fermentum nibh at ac, ullamcorper ipsum auctor et maecenas, aliquam molestiae in qui. Massa elit suspendisse penatibus molestie libero dolor, non leo vitae, sollicitudin a, platea tristique iaculis, tortor augue non est. Ante rutrum quis pellentesque lacinia convallis non, vestibulum nibh nunc luctus nibh a, in amet, iaculis dui ornare pede laoreet eu. Cursus integer vehicula quis, justo eget purus mattis donec vestibulum nunc, nunc vel eros lectus.
                    </div>
                </div>

                <div id="rightcol"><img src="http://htmldog.com/r/logo.gif" width="140" height="91" alt="html" /></div>
            </div>

            <div id="footer">footer</div>
        <div>
    </body>
    </html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:45:17+00:00Added an answer on May 22, 2026 at 6:45 pm

    Not at all.

    That is, relatively, a small amount of divs.

    Browser rendering performance is extremely impressive these days, so the major bottleneck will be the speed of the Internet connection downloading the page.

    The smaller you can make your page the faster it will download and render.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to the world of coding as well as CSS. Having read
I am new to the world of coding, XHTML, CSS as well as PHP.
I am new to the world of coding as well as XHTML. I am
I am new to the world of coding, XHTML, CSS and PHP. This is
I am new to the world of coding as well as PHP and befuddled
I am new to the world of coding as well as PHP and am
I am new to the world of coding as well as php and am
Im very new to all coding including jquery. I though this would have been
I am relatively new to world of programming. I have a few performance questions:
I am new to the world of coding, PHP and object oriented programming. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.