Thanks was simple. Just create a class for all the stuff I don't want to 
see. Was trying to 'over egg the pudding'.

I told the client to render all of the text in HTML but what can you do?



R.
----- Original Message ----- 
From: "Graham Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Monday, October 31, 2005 11:25 AM
Subject: Re: [css-d] image replacement techniques


> Ros,
>
> One technique I have used before is to do something like this:
> #siteHeading {
> float:left;
> background:  url(../images/logo2.gif) no-repeat top left;
> height:105px;
> width:155px;
> }
> #siteHeading h1{
> margin-bottom: 0px;
> display:none;
> float: left;
> letter-spacing: 1px;
> margin-bottom: 0px;
> color: #7D775C;
> font-style : italic;
> font-size : 2em;
> }
>
> <div id="siteHeading"><h1>Text hidden from display</h1></div>
>
> Regards
>
> Graham Cook
> www.uaoz.com
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Monday, 31 October 2005 10:12 PM
> To: [email protected]
> Subject: [css-d] image replacement techniques
>
> I have a series of background images.....for example
>
> http://www.blue-fly.co.uk/test/who_we_are_03.jpg
>
>
> As you can see, the images contain some headings (who we are, what we do)
> that are part of the background image(not HTML) . I would like to insert
> text that when the style sheet is switched off replaces these images.
>
> These are headings are an image as the client thinks they look better than
> HTML.
>
> The problem is using image replacing techniques... #container span 
> {display:
> none;} or one of the more advanced techniques (leathy/langridge) I have 
> used
> all the common tags (<span>, <P>, <B>) in the #container.
>
> Do we have a way of creating custom tags in CSS (<mytag>)?? Or can we 
> create
> extra paragraph tags <P5>, <P6> so I can use this technique.
>
> Ross
>
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>
> 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to