osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

search.tpl question - line feed pushing textfield down

This is a discussion on search.tpl question - line feed pushing textfield down within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I'm working on this site now: http://www.myidealgift.co.uk/index.php Have a look at the top left, the search box. Its pushed down ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-12-2004, 08:02 AM
Lurker
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jhdesign
Default search.tpl question - line feed pushing textfield down

I'm working on this site now:

http://www.myidealgift.co.uk/index.php

Have a look at the top left, the search box.
Its pushed down as if there was a line feed there, I'm not sure how to fix this.

There seem to be no line feeds in search.tpl or in the actual main_page.tpl.php

Any help is appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-12-2004, 12:21 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default

I can see it when I "view source"...

Code:
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

<body bgcolor="3D3D3D" leftmargin="0" topmargin="0">
<br>  <==**** Right here! ************
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/top_bg.gif">
  <tr>
    <td width="43%"><table width="300" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="81"><img src="images/top_search.gif" width="81" height="27"></td>
          <td width="200" valign="top"> 
            <!-- search //-->
However Since php is proecessed I can't help much. Try to compare the "view source" and you code to trace down where the extra <br> comes from.

Good Luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-12-2004, 05:20 PM
Lurker
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jhdesign
Default

Its actually not that. That BR pushes the whole site down a bit so you can see the dark grey at the top.

The seach area starts at the last line there with <!-- search //-->

I've done this type of setup on basic OSC and works fine, but here I get a line feed.

Anyy other ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-13-2004, 07:02 AM
Lurker
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jhdesign
Default

Fixed it.

Modified the include/boxes/search.php and put in the search button manually (which caused the height issue)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
RSS feed for OSCMAX RC3 (working) kopoba11 osCMax v2 Customization/Mods 0 08-26-2006 06:29 AM
Adding new textfield in checkout pages JETC osCommerce 2.2 Modification Help 3 06-14-2006 02:27 PM
error 501: failure naked line feed no matter what I do!!! cdxrevvved osCommerce 2.2 Installation Help 0 04-30-2004 10:55 PM
rss feed for phpnuke ..anyone? eternity575 osCommerce 2.2 Modification Help 0 03-15-2004 12:14 PM


All times are GMT -8. The time now is 12:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design