So, I want to do something very simple: use CSS instead of image-rollovers to make buttons for a website, using the inset and outset borders.
They also need to be the same size.
Unfortunately, setting element width and element height for A tags didn't seem to do anything, so I put all the menu links inside P tags, with a specific style ascribed to 'em, as you can set the width and height of a P tag.
I.e.:
Unfortunately, passing the mouse over the paragraph area doesn't seem to trigger the :hover as I was hoping it would. So, um, can I do this? If so, how?
Kavasa
They also need to be the same size.
Unfortunately, setting element width and element height for A tags didn't seem to do anything, so I put all the menu links inside P tags, with a specific style ascribed to 'em, as you can set the width and height of a P tag.
I.e.:
Code:
P.menu
{
border-style: outset;
}
P:hover.menu
{
border-style: inset;
}
Unfortunately, passing the mouse over the paragraph area doesn't seem to trigger the :hover as I was hoping it would. So, um, can I do this? If so, how?
Kavasa