www.the-midfield.com
Moderators: Seahorse, SG Admins
www.the-midfield.com
middie, your site down?
-------------------------------------------------
|It's prostitution jim but not as we know it.|
-------------------------------------------------
|It's prostitution jim but not as we know it.|
-------------------------------------------------
It's moved to new hosting, but I'm going to change a lot of the back-end of the site before I put it up again. Must put some kind of holding page on there...
mid_gen - www.the-midfield.com
tis just a bit of CSS
Then just pop your menu into a div :
Just use a 1-pixel wide gradient image to your desired height and rotate it 180 for the rollover.
If anyone knows a way to make the rollover image pre-load then I'd like to know, the pause when you first hover over a button is a tad annoying.
moo.
Code: Select all
#Menu a
{
color : #000;
display: block;
margin : 5px;
padding: 5px;
background : #bcd;
border: 1px solid #000;
text-decoration: none;
background-image: url('images/hborder.gif');
background-repeat : repeat-x;
white-space: nowrap;
}
#Menu a:hover
{
color : #FFF;
background-image: url('images/hborderover.gif');
}
Code: Select all
<div id="menu">
<a href="./arse.htm">arse</a>
</div>
If anyone knows a way to make the rollover image pre-load then I'd like to know, the pause when you first hover over a button is a tad annoying.
moo.
mid_gen - www.the-midfield.com
I believe all you need to do is use a bit of javascript.mid_gen wrote:If anyone knows a way to make the rollover image pre-load then I'd like to know, the pause when you first hover over a button is a tad annoying.
moo.
stick this in your <head> section.
Code: Select all
<script type="text/javascript">
if (document.images)
{
a = new Image(width, height)
a.src = "filename"
}
</script>
