View Full Version : ........


pinhead7987
04-14-2004, 01:08 AM
hey i am wondering if you can put an inline frames on a style sheet or i ahve to put it on all pages?? www.geocities.com/pinhead7987@sbcglobal.net i want it where my writing is

bourdelson
04-14-2004, 01:29 AM
An inline frame is just on one page, and opens up other pages inside of it. It's different than CSS.

http://www.lissaexplains.com/frames.shtml#inline

salomeyasobko
04-14-2004, 02:13 AM
yeah, you can use the style sheet to specify the iframe properties of the iframe if you want [instead of using style="background-color: fffff blahblahblah"]

lets say this is your iframe code: <iframe src="whatever" id="sallytheiframe">

then your style sheet would be:

<style type="text/css">
#sallytheframe { position: absolute; left: ##px; top: ##px; border: ##pt solid #FFFFFF; }
</style>

of course, you can add other attributes to the style sheet if you wish. hope that makes sense! :)

btw if you still don't get it, check out www.lissaexplains.com/css.shtml :D

EDIT: if you're talking about the content inside the iframe, you can link to a style sheet like any other page.. just link to your style.css at the top!