...

View Full Version : NOW RESOLVED - How can I alter the caption font.



effpeetee
07-19-2007, 11:08 AM
The program below is adapted from a download site and I have also been using the knowledge of koyama :thumbsup: from another post.
I would like to alter the caption font but I can't see how.
Any help gladly received.

Frank

http://www.exitfegs.co.uk/steve.html



<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Enter_Title_Here</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="BestAddress HTML Editor Professional">
<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.thumbnail{
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 2px;

border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 1px;
}

.thumbnail:hover span {
visibility: visible;
position: absolute;
/* left: 0px; */
left: 132px;
/* top: -336px; */
top: 84px;
background-color: white;
}
</style>

</head>
<body bgcolor= #cccccc>
<a href="index.html"><img alt="Home page." src="home.jpg" width="85" height="42" /></a>

<a class="thumbnail" href="#thumb"><img src="112a.jpg" width="66px" height="44px" border="0" /><span><img src="112.jpg" width="720px" height="540px" border="0"/><br />Mr Keogh and Steven at John's wedding.</span></a>

<a class="thumbnail" href="#thumb"><img src="85a.jpg" width="66px" height="44px" border="0" /><span><img src="85.jpg" width="720px" height="540px" border="0"/><br />Steven relaxing at 'Aquilla Heights' (near Maiden Castle in Dorset). Spring 2007.</span></a>

<a class="thumbnail" href="#thumb"><img src="92a.jpg" width="66px" height="44px" border="0" /><span><img src="92.jpg" width="720px" height="540px" border="0"/><br />Steven during a day trip to Eastbourne - summer 2006.</span></a>

<a class="thumbnail" href="#thumb"><img src="89a.jpg" width="66px" height="44px" border="0" /><span><img src="89.jpg" width="720px" height="540px" border="0"/><br />Steven, a few years ago. In the Peak District.</span></a>

<a class="thumbnail" href="#thumb"><img src="69a.jpg" width="66px" height="44px" border="0" /><span><img src="69.jpg" width="720px" height="540px" border="0"/><br />Steven enjoying the great outdoors,</span></a>

<a class="thumbnail" href="#thumb"><img src="110a.jpg" width="66px" height="44px" border="0" /><span><img src="110.jpg" width="720px" height="540px" border="0"/><br />The one above sees all!</span></a>

<a class="thumbnail" href="#thumb"><img src="steve-01a.jpg" width="52px" height="66px" border="0" /><span><img src="steve-01.jpg" width="440px" height="540px" border="0"/><br />Steven as a lad.</span></a>

<a class="thumbnail" href="#thumb"><img src="SteveandPhila.jpg" width="66px" height="44px" border="0" /><span><img src="SteveandPhil.jpg" width="720px" height="540px" border="0"/><br />Steven and Philip.</span></a>

<a class="thumbnail" href="#thumb"><img src="steve-02.jpg" width="66px" height="44px" border="0" /><span><img src="steve-02.jpg" width="720px" height="540px" border="0"/><br />A young Steven.</span></a>


</body>
</html>

_Aerospace_Eng_
07-19-2007, 11:10 AM
I don't know you tell us. Seriously you post your questions asking for help but yet you don't show that you've actually been trying anything yourself. Post what you've tried. Better yet go learn CSS so you can understand it better. www.htmldog.com is a good site to learn from. Many of your questions can be answered by doing simple CSS tutorials.

effpeetee
07-19-2007, 11:24 AM
I don't know you tell us. Seriously you post your questions asking for help but yet you don't show that you've actually been trying anything yourself. Post what you've tried. Better yet go learn CSS so you can understand it better. www.htmldog.com is a good site to learn from. Many of your questions can be answered by doing simple CSS tutorials.
I thought that was obvious that I had tried. After all, I have adapted the original program to suit my needs. I find it difficult to remember all the things that I had tried. I am 82 years old, and my short term memory is not all that efficient.
I have had much useful and accurate assistance from the coders including yourself, but I get the impression that you think that I am a nuisance.
You don't have to respond if you do not wish to. Leave it to others who do not seem to find me such a trial.

No hard feelings.

Frank

_Aerospace_Eng_
07-19-2007, 11:29 AM
All I'm asking is post WHAT you have tried. We'll tell you why its not working. Posting and saying "What's the code for this?" tells me that you haven't seemed to find a solution because you have no code to show. So just show us what you've tried. I'll give you a hint, its in this part of the code

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 2px;

border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}
As I said before if you learned more about CSS you would understand why its called cascading.

effpeetee
07-19-2007, 11:47 AM
Thank you, that is what I needed to know.

I have several books on CSS.
CSS The missing manual
CSS mastery.
CSS in 24 hours.
Cascading Style Sheets for web design.
Cascading Style Sheets
(Separating Content from Presentation.

But it is not possible for me to read them all, and they do not help on a look-up basis very much. Expert advice from yourself and fellow coders is a valuable resource indeed, and saves hours of reading for just a family website. Please do not under-rate the value of the Forum and its expert advice.

Many thanks once again.

Frank

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 2px;

border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
font-family: arial, helvetica, sans-serif;
font-size: .8em;
}

_Aerospace_Eng_
07-19-2007, 11:49 AM
I have never ever read a book about web design. Everything I know has come from doing tutorials on the internet and by helping others.

http://css.maxdesign.com.au/selectutorial/

effpeetee
07-19-2007, 11:57 AM
I have never ever read a book about web design. Everything I know has come from doing tutorials on the internet and by helping others.

http://css.maxdesign.com.au/selectutorial/
You haven't missed much. There is so much padding in them that it is often difficult to see the wood for the trees. I'll investigate the site you give. It looks interesting.

Happy coding.

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum