English 中文(简体)
Can t achieve padding in menu items using sIFR 3
原标题:
  • 时间:2009-12-10 18:22:31
  •  标签:
  • sifr
  • padding

n00b question alert, but I ve been struggling for a few days with this one and have searched in vain for the solution in other posts!

I have a horizontal menu that has padding either side of the text such that the items appear separated. However upon replacing the text with sIFR, the padding doesn t appear, and thus the items all look like they are separated by only a space (and it looks like they are all within the same flash movie). I need to separate them!

The css is set as so:

#menu a {
height: 30px;
padding: 8px 38px;
letter-spacing: -1px;
text-decoration: none;
font-size: 22px;
color: #000000;
}

I ve tried putting the same in the sifr.css at the bottom:

.sIFR-active #menu { 
padding: 8px 38px;
visibility: hidden;
font-family: Verdana;
font-size: 19px;
text-decoration: none;
}

That doesn t work. I ve tried putting this into the sIFR.replace function too, as well as a few other directives like tuneWidth... I haven t managed to get this working no matter what I try! Can anyone help?

If you want to have a look at an example page go here: http://www.ak40.co.uk/invitation.htm

Many thanks in advance.

Kev

问题回答

Put some margin around the Flash movies instead.





相关问题
sifr 3 only visible on my computer

I am using sifr3 in my website. I have uploaded the website on a real server and I realized that the sifr3 fonts are only visible when I m browsing the page from my computer. I have uploaded all the ...

sifr: Opera-Bug: Flash Object too wide

I have used sifr to replace the fonts for headlines. It works fine in Firefox and IE. http://design.speak-friend.com/ In Opera however, the headlines of the articles (object-tag within a-tag with-in ...

sIFR3 and line-height/leading

I ve successfully implemented sIFR3 using the nightlies from the end of Oct. All is well and much easier to work with than sIFR2 except where it comes to line-height. I was able to deal with my ...

sIFR not working. I m using test files on zip

Im trying to use sIFR but I don t know what I m doing wrong. I have a h1 and a h3 and I can t see it. here is my website: http://www.franciscosamper.com/andcompany I m using tradegothic.swf with ...

Using sIFR with Lightview

I have problem with sIFRs opacity. after I ve installed Lightview I have something like that: ! http://img267.imageshack.us/img267/3525/31troen.jpg (I can t post images because of spam prevention ...

Sifr 3 Barebones test - unusual line breaks

What I want to do: I want to use a non-standard font on the web in a various combinations of font-color and font-size without having to assign individual configs for each. So far sIFR seems to pick up ...

sIFR letters narrower than original font

I am using corporate(expensive) font-family Gotham. The problem i m having is that the sIFR font is slightly narrower that the original fonts which doesn t do the font justice. Is there a reason ...

热门标签