ang2006 Posted August 3, 2008 Posted August 3, 2008 Hi All, I am trying to leave a space between to line breaks "\n \n" but on the ouput there is no space. Can anyone help please? Thank you Darren
♥geoffreywalton Posted August 3, 2008 Posted August 3, 2008 Are you looking for a blank line on a web page <br> or in a document such as an email? Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
♥FWR Media Posted August 3, 2008 Posted August 3, 2008 For vertical spacing for example oscommerce tends to use .. <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> Where the 100% and the 10 can be anything you like Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
ang2006 Posted August 3, 2008 Author Posted August 3, 2008 Hi Guys, I am trying to create a web page with scroling images and I need a space in between them so they are not next to each other. Unfortunately I cant use the tep draw sepearator command as the php is still open. Any more Ideas. Thank you for the ones you already contributed. Darren..
ang2006 Posted August 3, 2008 Author Posted August 3, 2008 By the way the spacing is horizontal. Sorry about the delayed response
♥FWR Media Posted August 3, 2008 Posted August 3, 2008 Hi Guys, I am trying to create a web page with scroling images and I need a space in between them so they are not next to each other. Unfortunately I cant use the tep draw sepearator command as the php is still open. Any more Ideas. Thank you for the ones you already contributed. Darren.. parsed via html (<tr>s / <td>s are assumed) <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> Parsed via PHP (assuming the PHP block is embedded inside ' (which tends to be the case in osc) not ") <tr> <td>' . tep_draw_separator('pixel_trans.gif', '100%', '10') . '</td> </tr> The "parsed via PHP" assumes that this code does not end the PHP parse with '; Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
spax Posted August 3, 2008 Posted August 3, 2008 Couldn't you just add a new css class img.scroll { padding-top: 5px; } then add it to the image call tep_image(DIR_WS_IMAGES . 'image.jpg', 'Alt Text', 'width', 'height', 'class="scroll"')
ang2006 Posted August 3, 2008 Author Posted August 3, 2008 Hi Peter, What you suggested seems to be working on firefox but not on IE? Why do you think that is? Thanks for the idea it works. Darren
spax Posted August 3, 2008 Posted August 3, 2008 Yeah sorry. Use margin instead of padding. img.scroll { margin-top: 5px; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.