neat css tricks
Posted: Fri Sep 27, 2002 8:33 am
i have found a really usefull centering trick
from bluerobot.com
#canvas{
position: relative;
left: 2%;
top: 50%;
height: 350px;
width:98%;
margin: -175px 0px 0px -1%;
}
it also works in allot of browsers
and this one
css code
h2.itemhead
{
display:inline;
position:relative;
top:-18px;
background-color:#fff;
border:1px solid #aaa;
font-weight:normal;
text-transform: uppercase;
}
see what it looks like at http://www.scottandrew.com
thought you might find these usefull
from bluerobot.com
#canvas{
position: relative;
left: 2%;
top: 50%;
height: 350px;
width:98%;
margin: -175px 0px 0px -1%;
}
it also works in allot of browsers
and this one
css code
h2.itemhead
{
display:inline;
position:relative;
top:-18px;
background-color:#fff;
border:1px solid #aaa;
font-weight:normal;
text-transform: uppercase;
}
see what it looks like at http://www.scottandrew.com
thought you might find these usefull