Jump to content

html help needed

Jaybird

I am working with iframe to link to the website that I use to record my dive logs. however, the site does not use a background a defaults to white. so when I input the iframe into rapid weaver, the theme i use has a dark grey contents box, the site pulls up fine but none of the text is readable because the background is transparent and shows the grey content box behind it. is there anyway to force iframe to default to white background? I tried using "allowtransparency="false" but that didnt come back with anything. and now the font has changed. for the full source text here is my site: http://thebirdwell.com/diving/dive_log.html. it is still in alpha stages. 

 

I have tried using iframe to link to a small sub-url that uses another iframe and a background code to give the dive log site a background. so iframe inception (yes i do know the correct definition of inception). but when i do that the dive log site reverts back to the homepage and you cant navigate through it. 

 

<iframe src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe>

 

any ideas?

 

Thanks!

 

CM Storm Switch Tester MOD (In-Progress) - http://linustechtips.com/main/topic/409147-cm-storm-switch-tester-macro-mod/


       Ammo Can Speaker 02 (Completed) - http://linustechtips.com/main/topic/283826-ammo-can-speakers-02/       A/B Switch V 0.5 (Completed) - http://linustechtips.com/main/topic/362417-ab-switch-v0


     Build 01 - The Life of a Prodigy -  http://linustechtips.com/main/topic/13103-build-01-the-life-of-a-prodigy/             Build 02 - Silent Server 3000 - http://linustechtips.com/main/topic/116670-build-02-silent-server-3000/

Link to comment
Share on other sites

Link to post
Share on other sites

Maybe in CSS like this:

iframe{background-color: white;}

Or give the iframe a ID or Class so not every iframe is going to have a white background like this:

 

HTML ID:

<iframe id="dive" src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe>

HTML Class:

<iframe class="dive" src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe>

and the CSS for ID:

#dive{background-color: white;}

And the CSS for class:

.dive{background-color: white;}

Hope this solves your problem! :) 

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

Maybe in CSS like this:

iframe{background-color: white;}

Or give the iframe a ID or Class so not every iframe is going to have a white background like this:

 

HTML ID:

<iframe id="dive" src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe>

HTML Class:

<iframe class="dive" src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe>

and the CSS for ID:

#dive{background-color: white;}

And the CSS for class:

.dive{background-color: white;}

Hope this solves your problem! :)

i dont think that will do it. cause its not a classification issue. iframe is working as it should and i am only using one of them at the moment. 

 

the other thought i had was to over ride the css for the content box. force the box to display a white image instead of the grey image. a site i looked at suggested adding !important .

 

original:

 <div id="content"><iframe src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe><p>© 2013 Jarrod Birdwell</p><div class="clearer"></div></div><!--/content-->
 
edited to add white background:
<div id="content"; background src="http://ep.id-t.com/dam/asset/download/uuid/gowjic7f6rejdgunnw3g3ilc7q/"><iframe src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe><p>© 2013 Jarrod Birdwell</p><div class="clearer"></div></div><!--/content-->

CM Storm Switch Tester MOD (In-Progress) - http://linustechtips.com/main/topic/409147-cm-storm-switch-tester-macro-mod/


       Ammo Can Speaker 02 (Completed) - http://linustechtips.com/main/topic/283826-ammo-can-speakers-02/       A/B Switch V 0.5 (Completed) - http://linustechtips.com/main/topic/362417-ab-switch-v0


     Build 01 - The Life of a Prodigy -  http://linustechtips.com/main/topic/13103-build-01-the-life-of-a-prodigy/             Build 02 - Silent Server 3000 - http://linustechtips.com/main/topic/116670-build-02-silent-server-3000/

Link to comment
Share on other sites

Link to post
Share on other sites

So it is solved?

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

So it is solved?

nope.

 

i didnt write the css which is why i dont want to get into it. i always mess up when i try to change the css.

CM Storm Switch Tester MOD (In-Progress) - http://linustechtips.com/main/topic/409147-cm-storm-switch-tester-macro-mod/


       Ammo Can Speaker 02 (Completed) - http://linustechtips.com/main/topic/283826-ammo-can-speakers-02/       A/B Switch V 0.5 (Completed) - http://linustechtips.com/main/topic/362417-ab-switch-v0


     Build 01 - The Life of a Prodigy -  http://linustechtips.com/main/topic/13103-build-01-the-life-of-a-prodigy/             Build 02 - Silent Server 3000 - http://linustechtips.com/main/topic/116670-build-02-silent-server-3000/

Link to comment
Share on other sites

Link to post
Share on other sites

nope.

 

i didnt write the css which is why i dont want to get into it. i always mess up when i try to change the css.

So if i understand correct you don't want to write CSS?

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

So if i understand correct you don't want to write CSS?

correct. I've tried css and using it in specific locations on my site but I always seem to fall short of making it work. even if its as simple as just uploading and telling the html to look for the css; it never finds it. plus the css that I am borrowing calls on other css files so i cant simply change the style.css to style2.css i could just email the dive log site manager and ask him to put in background code. it might be easier.  :P

CM Storm Switch Tester MOD (In-Progress) - http://linustechtips.com/main/topic/409147-cm-storm-switch-tester-macro-mod/


       Ammo Can Speaker 02 (Completed) - http://linustechtips.com/main/topic/283826-ammo-can-speakers-02/       A/B Switch V 0.5 (Completed) - http://linustechtips.com/main/topic/362417-ab-switch-v0


     Build 01 - The Life of a Prodigy -  http://linustechtips.com/main/topic/13103-build-01-the-life-of-a-prodigy/             Build 02 - Silent Server 3000 - http://linustechtips.com/main/topic/116670-build-02-silent-server-3000/

Link to comment
Share on other sites

Link to post
Share on other sites

correct. I've tried css and using it in specific locations on my site but I always seem to fall short of making it work. even if its as simple as just uploading and telling the html to look for the css; it never finds it. plus the css that I am borrowing calls on other css files so i cant simply change the style.css to style2.css i could just email the dive log site manager and ask him to put in background code. it might be easier.  :P

Yeah that would indeed be easier if it is a giant clusterfuck of code 

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

Try this

<iframe id="dive" src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0"></iframe>

to

<iframe src="http://www.DiveRecord.com?jaybird" width="800" height="900" frameborder="0" id="dive"></iframe>

Make sure your css is read last

Michael Summers

CaseObsidian 900D  MOBORampage IV Extreme CPU:  i7-4960X Ivy Bridge-E 3.6GHz  RAM:: Vengeance Pro 32GB  Boot : RAID 0  840 Pro  512GB  Data:  RAID 10 WD Red  2TB PS: Corsair : AX1200 GPU:  ASUS  GTX-780 Ti

Birthday Gift from my wife - She made me order it and built it :-)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×