...

View Full Version : Tab in right corner of the site



Whatnot
07-17-2012, 06:21 PM
Hello All :)

On some sites they have a tab hanging in the top right hand corner of the site with login link logout link register maybe even a search bar.

What it called where Can I find some information on how to build it

Many Thanks For Replys
David

MarPlo
07-17-2012, 07:24 PM
Hi,
You can add the code of that content into a DIV with CSS position:absolute; (or position:fixed;), and top:0; right:0; (eventualy with z-indez:9990; ).

Whatnot
07-17-2012, 11:05 PM
Hi Marplo

Thank you for Reply

I did a css part for the div


div.topright{
display:block;
position:absolute;
right:30px;
width:450px;
font: bold 14px arial, helvetica, sans-serif;
color:#eee;
background:#014464;
border:0px solid #014464;
}

it works in google chrome , firefox , safia but does not work in IE any idea why this is?

Thank you for replys :D

Mooseman
07-17-2012, 11:27 PM
You need to apply position: relative to the parent element



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum