iFrame help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OzMan84
    Confirmed User
    • Nov 2003
    • 4740

    #1

    iFrame help

    im trying to add an iframe for live jasmine to one of my sites, but the text links end up being times roman, i have no idea how to make them to another size or type of font please help??
    XferClick - 300,000 UV daily and growing quickly. Majority US, EU, CA and AU traffic. Contact me for more information
    ICQ: 304568058
  • OzMan84
    Confirmed User
    • Nov 2003
    • 4740

    #2
    any ideas?
    Code:
    <iframe src="http://iframes.awempire.com/?t_id=ozman84_02" scrolling="no" align="MIDDLE" width="850" height="390" frameborder="No" allowtransparency="true" background-color="transparent" marginheight="0" marginwidth="0"></iframe>
    thats the code
    XferClick - 300,000 UV daily and growing quickly. Majority US, EU, CA and AU traffic. Contact me for more information
    ICQ: 304568058

    Comment

    • schneemann
      Confirmed User
      • Oct 2006
      • 749

      #3
      Apply the same CSS font formatting to the i-frame that's in the rest of your site:

      Code:
      iframe{
      font-family: arial, helvetica, verdana, sans-serif;
      }
      etc.
      Deranged World

      Comment

      • OzMan84
        Confirmed User
        • Nov 2003
        • 4740

        #4
        my css
        <style type="text/css">
        <!--
        .style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
        .style2 {font-size: 10px}
        .style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
        .iframe {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
        -->
        </style>

        iframe
        <!--START Livejasmin IFRAME-->
        <iframe src="http://iframes.awempire.com/?t_id=ozman84_02" width="850" marginWidth="0" height="450" marginHeight="0" align="MIDDLE" scrolling="no" frameborder="No" class="iframe" allowtransparency="true" background-color="transparent"></iframe>
        <!--END Livejasmin IFRAME-->

        still didnt change a thing??
        XferClick - 300,000 UV daily and growing quickly. Majority US, EU, CA and AU traffic. Contact me for more information
        ICQ: 304568058

        Comment

        • schneemann
          Confirmed User
          • Oct 2006
          • 749

          #5
          Originally posted by OzMan84
          my css
          <style type="text/css">
          <!--
          .style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
          .style2 {font-size: 10px}
          .style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
          .iframe {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
          -->
          </style>

          iframe
          <!--START Livejasmin IFRAME-->
          <iframe src="http://iframes.awempire.com/?t_id=ozman84_02" width="850" marginWidth="0" height="450" marginHeight="0" align="MIDDLE" scrolling="no" frameborder="No" class="iframe" allowtransparency="true" background-color="transparent"></iframe>
          <!--END Livejasmin IFRAME-->

          still didnt change a thing??
          that's because ".style1", etc. are selectors for a specific named class, called "style1" and yet the class attribute of your iframe is "iframe".

          you either need a new selector in your css for the "iframe" class (i.e. ".iframe") or you need to change the value of the class attribute in the iframe itself.
          Deranged World

          Comment

          Working...