Sara (waterofthemoon) wrote in component_help,

  • Mood:

Random CSS question

Anyone know why font-variant:small-caps would fail in IE (besides the fact that it's IE)? I'm using the following code in my layer:

function Page::print_custom_head() {
<style type="text/css">
img { border-width: 0px }
body { background-image:url(""); background-repeat:repeat; background-attachment:fixed; background-position:center }
a:active { font-variant:small-caps }
a:hover { font-variant:small-caps }

.randompoem { text-align:left }
.sideHeader { text-align:center }
input, select, input.ljcomsel, label { font-family:Tahoma, Verdana, Arial, sans-serif }
textarea, textarea.textbox { font-family:Tahoma, Verdana, Arial, sans-serif; font-size:x-small }

and it all works beautifully in Firefox. I didn't even notice anything was amiss until I was forced to use IE to load my journal earlier today, but if you take a look at my journal with that browser, none of the links change to small caps on hover (with a few exceptions, notably LJ user tags and non-LJ cut inline entry links). Anyone have an idea what's going on?

  • S2 Layout Previews

    Page types: RecentPage FriendsPage YearPage MonthPage DayPage EntryPage ReplyPage TagsPage…

  • poster search!

    Entry Poster Search by month: Search in: component_help for user: during: January February March…

  • Super Site Map (cont. cont.)

    Last Updated: July 29, 2006. An comprehensive list of the links found on the site, useful communities and journals and your own journal/scrapbook…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened