osCmax v2.5 User Manual
Results 1 to 4 of 4

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 ...

      
  1. #1
    Lurker
    Join Date
    Jul 2004
    Posts
    4
    Rep Power
    0


    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.

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    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

  3. #3
    Lurker
    Join Date
    Jul 2004
    Posts
    4
    Rep Power
    0


    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?

  4. #4
    Lurker
    Join Date
    Jul 2004
    Posts
    4
    Rep Power
    0


    Default

    Fixed it.

    Modified the include/boxes/search.php and put in the search button manually (which caused the height issue)

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •