Jump to content

footer border will not show up


lkbolt

Recommended Posts

use firebug,

 

besides that your footer has not width or height nor a clear:both;

 

do this:

 

#footer {
    background: none repeat scroll 0 0 #000000;
    border-top: 2px solid #FFFFFF;
    clear: both; /*added */
    color: white;
    height: 50px; /*added */
    text-align: center;
    width: 900px; /*added */
}

and remove your inline style, every time someone uses inline style a kitten dies

Link to comment
Share on other sites

Separation of concerns.  Structure (your HTML) should be separate from its styling (your CSS) and from its behavior (your JavaScript).  It makes your life easier as your sites are layered by their composite functionality.  You can then change/update one part of it (say, your CSS) with minimal-to-no impact on the rest.

 

A lot of website development is about project structure.  The better organized you are and the more self-discipline you have, chances are your projects will be easier to create, modify, maintain, and manage.

 

@cssfreakie: You have a spelling error on your blog (at least, in terms of American spelling).  'Practise' should be 'practice'.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.