View Single Post
Old 12-06-2007, 05:33 PM   #13 (permalink)
Costin Trifan
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,937
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
anyway...

Check the code I provided and adjust it to suit your needs. If you want other element to share that styles, just replace the current element "p" with the one you want.

this adds a border to your "p" element:


Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Your Page Name Here</title> <style type="text/css"> #Layer1 { position:absolute; left:20px; top:38px; width:105px; height:197px; z-index:1; background-color: #FFFFFF; } #Layer1 P { border: solid 1px #9099AB; padding: 0px 0px 0px 0px; background-color: #BFCFE6; padding-left: 0px; padding-right: 0px; } #Layer1 P:hover { border: solid 3px #ff0000; } </style> </head> <body> <div id="Layer1"> <p> <a href="http://www.mysite.com/">My Site</a></p> </div> </body> </html>
__________________
JUNE - JavaScript Framework
Costin Trifan is offline   Reply With Quote