Migrating from MSFP Themes to CSS : Image Border Colours not working

G

Guest

Hopefully this is a common problem and the solution is simple!

I have an existing site that is a mixture of text and thumb-nailed images.
I have been using FrontPage Themes but as these are becoming "chocolate box"
/ cliché I want the better control and flexibility of CSS.

As a first step I thought I would replicate the Theme in native CSS,
eliminating all the <!--mstheme ...> data and <font ...> type tags.

After a big rework of the site and the software that generates it I have got
*MOST* of the conversion to emulate the original MSFP2000 managed set of
pages.

There are two exceptions however. I'll go into the other one in a separate
posting. This one is about the ugly blue border around the thumbnails!

The site previously used the Glacier Theme, with its cool green-grey-blue
colour scheme. The thumb borders were identical to the colours applying to
text hyperlinks, and while I have successfully got the text looking right
(with a:link, a:visited, a:active and a:hover rules set to the colours from
the theme) the thumb borders are blue or purple! Generic!

I've managed to force one page to display the colours I want by setting the
body tag parameters to:
<body link="#339999" vlink="#999999" alink="#406666">

This isn't good for a couple of reasons. One - it is hardwired and means I
have style info in my pages (not true CSS philosophy). Two - MSFP cleans
out the information whenever it does a "refresh" of the site!

So how do I get the thematic coloured borders around my thumbs? I have
searched the web with Google and read the CSS2 specification, but I am none
the wiser!

Cheers, Paul
 
S

Stefan B Rusynko

The border color is controlled by your links style
Create a pseudo class for the links and apply the class to your image links

a.cool {color: #339999; }
a.cool:link {color: #339999; }
a.cool:visited {color:#999999; }
a.cool:hover {color::#406666 }
a.=cool:active {color:#406666 }

<a href="yourimagelink.htm" class="cool">

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


<paul at holland dot name> wrote in message | Hopefully this is a common problem and the solution is simple!
|
| I have an existing site that is a mixture of text and thumb-nailed images.
| I have been using FrontPage Themes but as these are becoming "chocolate box"
| / cliché I want the better control and flexibility of CSS.
|
| As a first step I thought I would replicate the Theme in native CSS,
| eliminating all the <!--mstheme ...> data and <font ...> type tags.
|
| After a big rework of the site and the software that generates it I have got
| *MOST* of the conversion to emulate the original MSFP2000 managed set of
| pages.
|
| There are two exceptions however. I'll go into the other one in a separate
| posting. This one is about the ugly blue border around the thumbnails!
|
| The site previously used the Glacier Theme, with its cool green-grey-blue
| colour scheme. The thumb borders were identical to the colours applying to
| text hyperlinks, and while I have successfully got the text looking right
| (with a:link, a:visited, a:active and a:hover rules set to the colours from
| the theme) the thumb borders are blue or purple! Generic!
|
| I've managed to force one page to display the colours I want by setting the
| body tag parameters to:
| <body link="#339999" vlink="#999999" alink="#406666">
|
| This isn't good for a couple of reasons. One - it is hardwired and means I
| have style info in my pages (not true CSS philosophy). Two - MSFP cleans
| out the information whenever it does a "refresh" of the site!
|
| So how do I get the thematic coloured borders around my thumbs? I have
| searched the web with Google and read the CSS2 specification, but I am none
| the wiser!
|
| Cheers, Paul
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Using themes in word 2007 1
Themes CSS 2
CSS and Tables 3
need help with CSS and DWT 1
CSS File 6
Word 2007 Themes 3
CSS DOES NOT DISPLAY IN IE7 FROM AN INDEX PAGE 4
themes VS CSS 0

Top