![]() |
|
|
|||||||
| Cascading Style Sheets (CSS) Forum for discussing CSS topics, including applying standardized design concepts to your web pages. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I am trying to transfer my actual project with D4PHP everything is working, except that the background image of the CSS command is not working (the background is still blank!) here is the CSS part : div#center {background-image:url(img/background_center.gif); } div#frame_left {width: 175px;float:left;background-image:url(img/background_center.gif);} .fond_menu_haut {background-image:url(img/fond_entete_menu.gif);font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: italic; font-weight: bold; color: #676799} here is the structure of my page in the function "StartBody": echo '<div id="global">'; echo '<div id="header"><div id="logo">'; echo createheader_logo(); echo '</div>'; echo '<div id="pub">';echo createheader_pub();echo '</div>'; echo '<div id="separ_haut"></div>'; echo '<div id="navigation">'; echo create_navigation(); //echo createmenu(); echo '</div>';//fin div navigation echo '<div id="separ_hautb"></div>'; echo '</div>';// fin header echo '<div id="center">'; echo '<div id="frame_left">'; echo createmodule_search(); echo createmodule_members(); echo '</div>'; // fin frame left echo '<div id="content">'; echo '</div>'; // fin content echo '</div>'; // fin center echo '</div>'; // fin somebody know what is wrong with my code normally it shall work properly as you can see in my old webpage: http://www.multimedia-net.com thanks ! |
| Sponsored Links |
|
|
|
|||
|
Hello,
yes but for my Delphi project the folder is "img/" so this is not the pb actually sorry, i could not get what you mean with the error on missing ) thanks for the help if you have idea ... |
|
|||
|
you can check the test code at :
http://www.multimedia-net.com/delphi...edia/index.php and the CSS code at : http://www.multimedia-net.com/delphi...css/styles.css I could not find the error by comparing the code with http://www.multimedia-net.com (which is not from D4PHP) in one the background is correctly appearing and on the test link above (with above CSS) it does not work I will get a headache if I continue, hope somebody will have solution bye |
|
||||
|
Quote:
Code:
function updateChampDisco(champ1,champ2)
46 {
47 if(champ1 != '' and champ2 !='') {
48 field=file('http://www.multimedia-net.com/ajax/get_field.php');
49 pseudobox='pseudobox'+'disco'+field;
50 texte=file('http://www.multimedia-net.com/ajax/update_get_info_disco.php?champ1='+champ1+'&champ2='+champ2);
51 writediv('<div id="'+pseudobox+'" style="cursor:pointer;" onClick="set_edit_titles('+field+')"><span class="violet12px">'+champ+'</span></div>',field);
52 }
53 }
|
|
|||
|
you think this function can have consequence on the showing of background image ??
the pb is that in my new test, i don't have this function and it does not work .. |
|
||||
|
No that function problem is just in your original page.
Like I said, your css is looking for the background here Code:
http://www.multimedia-net.com/delphi/multimedia/css/img/background_center.gif ![]() |
|
|||
|
Good post. I appreciate it
That's pretty good. Thank you so much for the post. It's really useful. |