Results 1 to 3 of 3

Thread: cnet.com style bottom-bar

  1. #1
    Join Date
    Apr 2009
    Posts
    39
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default cnet.com style bottom-bar

    Hey.

    I want to make a bottom-bar - pretty much in the same style as on cnet.com
    Does anyone know how it's done?

  2. #2
    Join Date
    Feb 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Apologies if this isn't exactly what you're looking for, but I've put it together using simple CSS. I've position it at the bottom of the browser window and added a curve.

    This is the CSS code for you, I'm sure you'll know how to customise it to make it look more like CNET.

    <style type="text/css">
    body {
    margin: 0px;
    padding: 0px;
    }
    #container {
    width: 900px;
    margin: auto;
    }
    #bottom-bar {
    background: #333333;
    position: fixed;
    height: 30px;
    bottom: 0;
    width: 900px;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    }
    </style>


    This is the HTML code for you.

    <div id="container">
    <div id="bottom-bar"></div>
    </div>


    This works in all browsers, have a mess around with it.

  3. #3
    Join Date
    Apr 2009
    Posts
    39
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the fast reply!

    But - all I see is a black bar at the top of the screen?

    (Perhaps I am doing it wrong)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •