Lightbox question

  • Thread starter Thread starter Ken
  • Start date Start date

Ken

Ken

Associate
Joined
28 Apr 2004
Posts
1,067
Hi,

I'm using Lightbox JS v2.0 for displaying my photos...

http://www.huddletogether.com/projects/lightbox2/

...but as you can see from the code, the text is white on a black background. How do I make the caption text on the photos black? Right now they're white also and therefore invisible as the photo borders are white.
Code:
<html>
<head>
<title>Bla bla</title>

	<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

	<script src="js/prototype.js" type="text/javascript"></script>
	<script src="js/scriptaculous.js?load=effects" type="text/javascript"></script>
	<script src="js/lightbox.js" type="text/javascript"></script>

</head>
<body bgcolor="black" text="white">
<div align="justify">
<div align="center">
<img src="CECF.JPG">
</div>
<h2><b>THURSDAY 12TH</b></h2> 
<style>
a {color: yellow}
</style>
<p><a href="2.htm">Next page</a> <img src="emot-cow.gif></p>
</body>
</html>

Cheers!

P.S. Please check the code for any errors or longwindedness. :)
Do I need a </div> after the justify line?
 
Last edited:
Thank Joe :)

I got rid of the text="white" and also added...

h2 {color:#FFFFFF;

...in the style section as I will have a few headings.

Is this correct? It works but just want to get it right. :)

Also, do I need a </div> after the justify line?
 
Back
Top Bottom