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??
iFrame help
Collapse
X
-
any ideas?thats the codeCode:<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>
XferClick - 300,000 UV daily and growing quickly. Majority US, EU, CA and AU traffic. Contact me for more information
ICQ: 304568058 -
Apply the same CSS font formatting to the i-frame that's in the rest of your site:
etc.Code:iframe{ font-family: arial, helvetica, verdana, sans-serif; }Comment
-
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: 304568058Comment
-
that's because ".style1", etc. are selectors for a specific named class, called "style1" and yet the class attribute of your iframe is "iframe".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??
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.Comment

Comment