Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS][PHP] Iframe
marcin0077
post 14.12.2009, 16:29:09
Post #1





Grupa: Zarejestrowani
Postów: 94
Pomógł: 0
Dołączył: 18.10.2008

Ostrzeżenie: (10%)
X----


Witam

Mam problem pod IE w iframe pojawia się jakieś białe pole:


Zanim załaduje te przyciski przegladaj i wyslij... to pole jest całe białe tak jakby to jakiś background był, no ale nie mogę tego nigdzie znaleźć


  1. function form($args,$options,$postfix='') {
  2. extract($args);
  3. $inline_path = TDOMF_URLPATH."tdomf-upload-inline.php"."?tdomf_form_id=".$tdomf_form_id.'&index='.$postfix;
  4. // my best guestimate
  5. $height = 16 + (intval($options['max']) * 30);
  6. $output .= "<iframe id='uploadfiles_inline' name='uploadfiles_inline' scrolling=no frameborder='0' marginwidth='10' marginheight='0' width='100%' height='$height' src='$inline_path'></iframe>";
  7. $output .= $after_widget;
  8. return $output;
  9. }



Cytat
#tdomf_upload_inline_form {
color: white;
font-weight: bold;
text-align: left;
background-color: #131313;
width: 100%;
height: 100%;
}


Jest ktoś w stanie pomoc albo jakoś naprowadzić?
Z góry dzięki

Ten post edytował marcin0077 14.12.2009, 17:09:00
Go to the top of the page
+Quote Post
deirathe
post 14.12.2009, 16:36:48
Post #2





Grupa: Zarejestrowani
Postów: 426
Pomógł: 32
Dołączył: 24.05.2007

Ostrzeżenie: (0%)
-----


Ustaw kolor tla iframe na transparent.
<iframe src="..." allowtransparency="true"></iframe>
lub
w kodzie html iframe'a
<style type="text/css">
html,
body {
background-color: transparent;
}
</style>


--------------------
Kawałek mojego blogu
Everything should be as simple as possible but not simpler.
A Einstein
Go to the top of the page
+Quote Post
marcin0077
post 14.12.2009, 17:08:34
Post #3





Grupa: Zarejestrowani
Postów: 94
Pomógł: 0
Dołączył: 18.10.2008

Ostrzeżenie: (10%)
X----


allowtransparency='true'
i działa

Super dzięki smile.gif
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.07.2025 - 04:57