Guest Posted October 10, 2005 Share Posted October 10, 2005 Well, another beginners question. What do I do to have in a box the text on the right side and an image on the left, or the other way...This is my box...I've looked to other boxes that to that, like products_notifications but I'm not that smart...:): <?php if ($cpm_last_entry_query = tep_db_query("select filepath, filename from cpg131_pictures order by pid desc limit 1")); if( $last_entry = tep_db_fetch_array($cpm_last_entry_query) ) { ?> <!-- coppermine_info_box //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INTRO); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' =>'<font color="#000000"> Vino la Muc cel mic pentru a-i oferi tot ceea ce are nevoie! Vom fi mereu alaturi de Dvs. Aici veti gasi tot ceea ce aveti nevoie pentru a creste un copil vesel, frumos, sanatos si inteligent. Va oferim o gama variata de articole, atat pentru bebelusi si copilasi mai mari cat si pentru mamici, tatici si bunici. E locul ideal pentru a gasi cadoul potrivit pntru cei dragi. Faceti un tur al tuturor categoriilor si nu veti fi dezamagiti! Clientul nostru - stapanul nostru! orice sugestie este binevenita. Suntem tineri si crestem impreuna! </FONT>' . tep_image(DIR_WS_IMAGES . 'andicristi.gif') ); new infoBox($info_box_contents); ?> </td> </tr> <!-- coppermine_info_box_eof //--> <?php } ?> Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 10, 2005 Share Posted October 10, 2005 how big is that pic? I did not see a box with this content on your page ,.... anyway what you need to do is put a table in the text part of the array ... assign one cell to the pic and the second cell next to it to the text or vice versa build the table like you build them on any html page 'text' =>'<table><tr><td><font color="#000000"> Vino la Muc cel mic pentru a-i oferi tot ceea ce are nevoie! Vom fi mereu alaturi de Dvs. Aici veti gasi tot ceea ce aveti nevoie pentru a creste un copil vesel, frumos, sanatos si inteligent. Va oferim o gama variata de articole, atat pentru bebelusi si copilasi mai mari cat si pentru mamici, tatici si bunici. E locul ideal pentru a gasi cadoul potrivit pntru cei dragi. Faceti un tur al tuturor categoriilor si nu veti fi dezamagiti! Clientul nostru - stapanul nostru! orice sugestie este binevenita. Suntem tineri si crestem impreuna! </FONT></td><td>' . tep_image(DIR_WS_IMAGES . 'andicristi.gif') . '</td></tr></table>'); :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2005 Share Posted October 11, 2005 This box is on the main page, just in the middle (see here). The pic is 150X100. Oh, and I have no idea how to do it, because when it comes to html I've only played with Macromedia and I don't know how to mix php and html and all. I guess it's not very hard, but since I haven't done it before...I may need some hints. Thanks so much for helping me! I think I did it! It's about how I want it to look. Thanks so so much. What would I do without you?! :) And some other nice people here... Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 11, 2005 Share Posted October 11, 2005 This box is on the main page, just in the middle (see here). The pic is 150X100. Oh, and I have no idea how to do it, because when it comes to html I've only played with Macromedia and I don't know how to mix php and html and all. I guess it's not very hard, but since I haven't done it before...I may need some hints. Thanks so much for helping me! I think I did it! It's about how I want it to look. Thanks so so much. What would I do without you?! :) And some other nice people here... perfect! I knew you could do it! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Guest Posted October 11, 2005 Share Posted October 11, 2005 Nice...and supportive, too...:) Here's a flower from me!:) If you have the time, I'd like sometime to know your opinion on what I've done so far. Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 11, 2005 Share Posted October 11, 2005 Nice...and supportive, too...:) Here's a flower from me!:) If you have the time, I'd like sometime to know your opinion on what I've done so far. Hi Roxana, I think you have done a great job. I'd like more space on the left of each infobox, right now text is glued to it. The colors in general seem hefty to me, but I've been to Romania often enough to know it will meet the taste there, which is what counts. You added a bunch of cool featrures! It seems to me though that you have enlarged those graphics for biberon etc too much ... the would look much better in smaller. I'm sure you know you have to adjust the background in the cart box, it shows white. Same for the button in column left ... but you're still working on it as I know. Keep up the good work and especially have fun! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2005 Share Posted October 12, 2005 Actually I'm not really sure where to adjust the background in the cart box :) but I guess I'm gonna search and find it...Thanks so much for your time! As for the colors...well...I wasn't thinking of the preferences Romanians have, I just didn't know what else to choose to be different from the rest of the sites dedicated to kids and stuff like this and I was thinking of working sometime in the future with brands that use the same coulors, like Milka...:). So, you've been to Romania1 How did you like it? or not? If you ever come again, you're my guest! Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 12, 2005 Share Posted October 12, 2005 Actually I'm not really sure where to adjust the background in the cart box :) but I guess I'm gonna search and find it...Thanks so much for your time! As for the colors...well...I wasn't thinking of the preferences Romanians have, I just didn't know what else to choose to be different from the rest of the sites dedicated to kids and stuff like this and I was thinking of working sometime in the future with brands that use the same coulors, like Milka...:). So, you've been to Romania1 How did you like it? or not? If you ever come again, you're my guest! My uncle lives right at the border to Romania (in Hungary) and we have a bunch of relatives there, so when I was living still at home we went there a lot ... that's been a while, and I was shocked back then by the stores and houses. You are too young to remember that I bet! When you need to change colors, always view the source code and check the class used there. Then you can change it in stylesheet.css :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.