Floating Menu Right Side

User 2924428 Photo


Registered User
1,718 posts

hey guys I was wondering if you could direct me in creating a floating menu to the right side of my page, the original code i'm using was derived from Eric's floating left side social bar.. heres the code..
#rightcontainerBox {
float: right;
z-index: 1000;
}

#rightcontainerBox .buttons {
clear: both;
float: right;
height: 75px;
margin: 4px;
padding-bottom: 2px;
padding-right: 3px;
width: 85px;
}


Then in the body section ..
<div style="border:1px solid #808080;position:fixed; top:40%; right:0px;" id="rightcontainerBox">
User 187934 Photo


Senior Advisor
20,267 posts
Online Now

Only change the body section code to right and leave everything else as posted.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2924428 Photo


Registered User
1,718 posts

/*Social Bar For FB Twit YouT*/
#leftcontainerBox {
float: left;
z-index: 1000;
}

#leftcontainerBox .buttons {
clear: both;
float: left;
height: 75px;
margin: 4px;
padding-bottom: 2px;
padding-left: 3px;
width: 85px;
}
/*End Social Bar Code*/
#rightcontainerBox {
float: right;
z-index: 1000;
}

#rightcontainerBox .buttons {
clear: both;
float: right;
height: 75px;
margin: 4px;
padding-bottom: 2px;
padding-right: 3px;
width: 85px;
}
/*Right Side Menu Bar*/

</style>

</head>
<body>
<br>
<center><h1>King Fizz / MBR Test CSS3</h1></center>
<center><p><b>Note:</b> <font color="#FFFFFF"><b>This Spot Reserved For Logo</b></font></p></center>
<center><p><font color="#00FF00"><b>This spot reserved for Menu</b></font></p></center>
<br>
<div align="center"><div id="youtube"><iframe width="420" height="315" src="http://www.youtube.com/embed/yE4mZZpsXCE" frameborder="0" allowfullscreen></iframe></div>
<br>
<div id="box1"><font color="#FF8000"><b><img src="images/eng_01.jpg" width="199" height="186" alt="" border="0"></b></font></div>
<br>
<div id="box2"><font color="#808080"><b><img src="images/outl_01.jpg" width="200" height="190" alt="" border="0"></b></font></div>
<br>
<div id="box3"><font color="#C0C0C0"><b><img src="images/embr_01.jpg" width="188" height="199" alt="" border="0"></b></font></div>
<br>
<br>
<div class="customfont">This is my font.</div>
<br>
<br>
<div style="border:1px solid #808080;position:fixed; top:40%; left:0px;" id="leftcontainerBox">

<div class="buttons">

<img src="social/faceb.png" width="80" height="80" alt="" border="0">

</div>
<div class="buttons">

<img src="social/twitter.png" width="80" height="80" alt="" border="0">

</div>
<div class="buttons">
<img src="social/yout.png" width="80" height="80" alt="" border="0">

</div>
<div style="border:1px solid #808080;position:fixed; top:40%; right:0px;" id="rightcontainerBox">


Is not working :(. I got everything good so far thanks to your guys help, I can't explain in words how much this means to me. I'm actually doing my first CSS website :)
User 2924428 Photo


Registered User
1,718 posts

<Close Thread, Googled it >
User 38401 Photo


Senior Advisor
10,951 posts

Consider it closed and grats on finding it on your own :P

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.