Why is this code giving me a hard time? |
Why is this code giving me a hard time? |
May 8 2008, 02:24 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 292 Joined: Jul 2007 Member No: 545,047 |
CODE h1 { font-color: #D4E9CA; font-size: 16px; line-height: 16px; font-weight: normal; background-color: #363636; letter-spacing:0px; font-family: arial; text-transform: none; text-align: center; text-transform: none; } Whenever I use this code the font color is white and the background color is black. I want it to be other other colors though. Why is it doing this? I've tried it with and without the "#" in front of it. |
|
|
|
![]() |
May 8 2008, 02:55 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 292 Joined: Jul 2007 Member No: 545,047 |
Yup. Here: http://takemeawaylayouts.bravehost.com/Index.html
Also, if anyone can help me out with the dumb javascript thing that isn't working for me that would be awesome haha. Whenever I click on the picture it opens a new window, I want it do the lightbox thing and I don't know how? CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> <head> <title>Take Me Away Layouts - Version 1.0</title> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script> <style type="text/css"> td, tr { color: white; font-family: arial; font-size: 12px; line-height: 13px; } body { background:Url("http://i30.tinypic.com/21zjhy.png"); background-repeat: repeat; margin: 0px 0; font-family: trebuchet ms, sans serif; font-size: 12px; color: #fff; text-align: justify; line-height: 11px; width: 1024px; } h1 { font-color: #D4E9CA; font-size: 16px; line-height: 16px; font-weight: normal; background-color: 363636; letter-spacing:0px; font-family: arial; text-transform: none; text-align: center; text-transform: none; } #content { position:absolute; top: 290px; left:; text-align: center; float: left; width: 1024px; background-color:; padding: 5px; } </style></head> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <div id="content"> <h1>Blends and Other Photoshop Things</h1><p> <a href="http://i27.tinypic.com/mv6qkg.png" rel="lightbox" title="my caption"><img src="http://i29.tinypic.com/20icqc2.png"></a> </p> </div> </body> </html> |
|
|
|
GunsNRachel Why is this code giving me a hard time? May 8 2008, 02:24 PM
GunsNRachel Thanks I fixed the heading problem =) May 8 2008, 02:58 PM![]() ![]() |