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

  • Home
  • SEARCH
  • 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 8204619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:57:17+00:00 2026-06-07T07:57:17+00:00

Here is my style.css for a WordPress theme based on Blankslate (I’ve changed none

  • 0

Here is my style.css for a WordPress theme based on Blankslate (I’ve changed none of the PHP. I just started the CSS).

I’ve highlighted the elements’ borders to make them visible… and all of the content is overflowing out of the body border. This is the CSS in its entirety:

/* = CSS Reset 
-------------------------------------------------- */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}


/* =Highlight
highlight the basic structural elements of the site
-------------------------------------------------- */

body {border: thin solid red;}

#sidebar {border: thin solid blue;}
#content {border: thin solid green;}

/* =Structure
-------------------------------------------------- */

body {
    width: 1000px;
    float: center;
    margin: auto;
}

#sidebar {
    width: 300px;
    float: right;
}
#content {
    width: 500px;
    float: left;
}
  • 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-06-07T07:57:18+00:00Added an answer on June 7, 2026 at 7:57 am

    Add a container with overflow:hidden around your floats (for some reason, this doesn’t seem to work directly on body as I thought it should). See demo.

    And remove float:center, there’s no such float value. To center the body horizontally (or any other block having a width), your margin: auto is enough.

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

Sidebar

Related Questions

here's a tricky question... I have default styled input fields (no css added, just
my style is here #mybox{ display:none; } my web is here <div id='mybox'> ...
Here is the code: tinyMCE.init({ mode: textareas, theme: advanced, plugins: autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template, // Theme options
Ok, I have a wordpress theme installed here (www.sullivansuccesscoaching.com/home ...we need the /home because
<?php include('db_connect.php'); ?><head> <link rel=stylesheet type=text/css href=comment-style.css media=screen /> <script type=text/javascript src=../jquery.tablesorter/jquery-latest.js></script> <script type=text/javascript
I found this article here on how to deregister styles in wordpress. techotronic.de/how-to-de-register-style-sheet-wordpress/ Pretty
Here's my problem: I'm writing a WordPress plugin that helps budding CSS authors see
Here's my button style: <style name=StandardButton parent=@android:style/Widget.Button> <item name=android:background>@drawable/button_mib_standard</item> <item name=android:textColor>@drawable/button_text</item> <item name=android:padding>16dip</item> <item
Here is my code: <style> #defCalTree { overflow: scroll; overflow-x: hidden; } </style> and
here is my code.. <script type=text/javascript> function clicker(){ var thediv=document.getElementById('downloadoverlay'); if(thediv.style.display == none){ thediv.style.display

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.