GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   iFrame help (https://gfy.com/showthread.php?t=790924)

OzMan84 12-10-2007 03:16 AM

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??

OzMan84 12-10-2007 04:10 AM

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

schneemann 12-10-2007 04:51 AM

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.

OzMan84 12-10-2007 05:25 AM

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??

schneemann 12-10-2007 02:55 PM

Quote:

Originally Posted by OzMan84 (Post 13493742)
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.


All times are GMT -7. The time now is 12:11 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123