CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 21st, 2004, 12:15 AM
woow woow is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 41 woow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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.

Reply With Quote
  #2  
Old July 21st, 2004, 12:41 AM
cliffhanger9's Avatar
cliffhanger9 cliffhanger9 is offline
fortin bra?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: city of sin, state of the art
Posts: 418 cliffhanger9 Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 19 h 5 m 18 sec
Reputation Power: 0
Send a message via ICQ to cliffhanger9 Send a message via AIM to cliffhanger9 Send a message via MSN to cliffhanger9 Send a message via Yahoo to cliffhanger9
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.

Reply With Quote
  #3  
Old July 21st, 2004, 04:02 AM
woody2k woody2k is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 8 woody2k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Or you can have it in your header..

or you can have it in your header..

PHP Code:
<html>
<
head>
<
title>Hello World!</title>
<
style type="text/css">

padding:0font-size12px;}

#box {
margin:0
padding:5px
}
</
style>
</
head>
<
body>
<
div id="box">
<
p>hello world!</p>
</
div

Reply With Quote
  #4  
Old July 21st, 2004, 08:00 PM
woow woow is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 41 woow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
yes cliffhanger9 thats what i meant thanks for the help.

Reply With Quote
  #5  
Old July 22nd, 2004, 10:16 AM
LAYGO LAYGO is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Dallas TX
Posts: 15 LAYGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to LAYGO
To further that:

Code:
<a href="error.html" style="background-color: yellow; color: red;">ERROR!</a>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS in the html body


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT