Activity Stream
48,167 MEMBERS
61221 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Member

    Default Announcement box

    AM trying to find the code to be able to make a box like the image below. It will be in my main page. But i want to make sure they can close it. If possible be able to choose my background color.




    Thanks ahead of time.
    Zero - HosterBin Reviewed by Zero - HosterBin on . Announcement box AM trying to find the code to be able to make a box like the image below. It will be in my main page. But i want to make sure they can close it. If possible be able to choose my background color. http://i.imgur.com/YnubX.png Thanks ahead of time. Rating: 5
    ▄▀▄ HosterBin Inc.
    ▄▀▄ Webs Hosting, VPS, Dedicated Servers
    ▄▀▄ http://www.hosterbin.com support@hosterbin.com

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    eih.bz pornDDL.me sexytattoochicks.tumblr.com
    Contact me on msn

  4.     
    #3
    Member
    Okay thanks
    ▄▀▄ HosterBin Inc.
    ▄▀▄ Webs Hosting, VPS, Dedicated Servers
    ▄▀▄ http://www.hosterbin.com support@hosterbin.com

  5.     
    #4
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    This should work out as you wanted:
    PHP Code: 
    <style>.info-box {
        
    background#EBF6FF;
        
    border1px solid #AAD9F5;
        
    border-radius3px 3px 3px 3px;
        
    padding5px;
    }</
    style>

    <
    div class="info-box">asd</div
    Live Example: http://pastehtml.com/view/bsk5jdt0p.html
    You just need to change the background color property.

  6.     
    #5
    Member
    How can i make it close?
    ▄▀▄ HosterBin Inc.
    ▄▀▄ Webs Hosting, VPS, Dedicated Servers
    ▄▀▄ http://www.hosterbin.com support@hosterbin.com

  7.     
    #6
    Respected Member
    Quote Originally Posted by soft2050 View Post
    This should work out as you wanted:
    PHP Code: 
    <style>.info-box {
        
    background#EBF6FF;
        
    border1px solid #AAD9F5;
        
    border-radius3px 3px 3px 3px;
        
    padding5px;
    }</
    style>

    <
    div class="info-box" id="info-box">asd</div
    Using this example Close included
    PHP Code: 
    <style>.info-box {
        
    background#EBF6FF;
        
    border1px solid #AAD9F5;
        
    border-radius3px 3px 3px 3px;
        
    padding5px;
    }</
    style>

    <
    div class="info-box" id="info-box">asd
    <input style="float: right; margin-right: 20px; align-text: right;" 
    type="button" value="close" 
    onclick="document.getElementById('info-box').style.visibility = 'hidden';"></div

  8.     
    #7
    Member
    Website's:
    imdber.org justpaste.me
    You could also make the border-radius compatible with other/old browsers:
    PHP Code: 
    -webkit-border-radius3px;
    -
    moz-border-radius3px;
    border-radius3px

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Announcement about ShoutCastUK
    By Rox in forum Hosting Discussion
    Replies: 16
    Last Post: 17th May 2012, 06:36 PM
  2. Filesonic Announcement!!!!
    By syedborhan in forum File Host Discussion
    Replies: 1
    Last Post: 22nd Jan 2012, 09:29 PM
  3. Announcement on behalf of PhazeDDL
    By Paul in forum Forum and DDL Discussion
    Replies: 48
    Last Post: 9th Apr 2011, 08:15 AM
  4. Some Announcement
    By BlaZe in forum Webmaster Discussion
    Replies: 0
    Last Post: 19th Oct 2009, 03:09 PM

Tags for this Thread

BE SOCIAL