|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS in the html body
Hi,
Does anyone knows how i can have css style in the body. The whole coding part should be in the body. I need show link which have the same propertise in a PHP code and I am just editing it. I am trying to work it around this way. I juts want to have link to another page with different font and font folor change when hover. Can someone show me how i can do this. I am new to css. Please help me. |
|
#2
|
||||
|
||||
|
not sure i understand the question...
of course you can have CSS in the body for the links just do... Code:
<a href="page.html" onmouseover="this.style.color='red'; onmouseout="this.style.color='blue'">link</a> hope this is what you meant....?
__________________
"I hate quotations." -ralph waldo emerson- Last edited by cliffhanger9 : July 21st, 2004 at 12:45 AM. |
|
#3
|
|||
|
|||
|
Or you can have it in your header..
or you can have it in your header..
PHP Code:
|
|
#4
|
|||
|
|||
|
yes cliffhanger9 thats what i meant thanks for the help.
|
|
#5
|
|||
|
|||
|
To further that:
Code:
<a href="error.html" style="background-color: yellow; color: red;">ERROR!</a> |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS in the html body |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|