Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-09-2010, 04:54 PM   PM User | #1
kyllle
Regular Coder

 
kyllle's Avatar
 
Join Date: Mar 2008
Posts: 334
Thanks: 85
Thanked 2 Times in 2 Posts
kyllle can only hope to improve
Trying to use sIFR technique but having trouble

Hi all,

Im trying to use sIFR but am getting a headache trying to make it work, I have created this page

http://icehouseonline.co.uk/demo/demo/

were h1.heading is currently replaced by rockwell font but the problem is the other tags on the page have become invisible?

Can anyone offer me some suggestions on how to the sIFR to work properly? Iv looked at loads of tutorials but just cant seem to get it to work

Thanks in advance

Kyle
__________________
www.kylehouston.com
kyllle is offline   Reply With Quote
Old 07-09-2010, 07:21 PM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Hi kylle

I think it's the css contained in sifr.css and on your page which is setting:

Code:
.sIFR-active h1,
    .sIFR-active h2,
    .sIFR-active h3,
    .sIFR-active h4,
    .sIFR-active h5#pullquote {
      visibility: hidden;
      font-family: Verdana;
    }
This isn't a problem for your h1 because that's been sIFRd via sifr-config.js, but the other headings haven't.

I actually find Cufon a lot less aggro that sIFR. I can usually get sIFR to work after a lot of messing about. Cufon just works. See here for a comparison of the pros and cons.
SB65 is offline   Reply With Quote
Old 07-09-2010, 08:39 PM   PM User | #3
kyllle
Regular Coder

 
kyllle's Avatar
 
Join Date: Mar 2008
Posts: 334
Thanks: 85
Thanked 2 Times in 2 Posts
kyllle can only hope to improve
Hey SB,

Yeah durin today iv messed about with cufon, FLIR and sIFR, your right cufon just worked, FLIR wasnt bad and sIFR really takes a bit of messin about, I realised I had left the css in for the h2, h3... which was silly but after spendin so long today messin my brain up with these I didnt realise!

Thanks!
__________________
www.kylehouston.com
kyllle is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:57 PM.


Advertisement
Log in to turn off these ads.