PHP Simplicity Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Some of SFU features: Universal password protection, notification of uploads and logging just to name few.

Author Topic: adding a break space between the browse button  (Read 2243 times)

0 Members and 1 Guest are viewing this topic.

gdog26

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
    • View Profile
adding a break space between the browse button
« on: October 06, 2009, 07:14:58 PM »

Hello,

I wonder if it is possible to get the browse button at the bottom of the field box..

eg.

Field box here *
Browse button here *

right now, the field box and browse button are on the same line. Where can I add the break in between ;)
Logged

Saleh

  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 222
    • View Profile
    • PHP Simplicity
Re: adding a break space between the browse button
« Reply #1 on: October 07, 2009, 09:33:49 AM »

Unfortunately, the browser is the one responsible for positioning the browse button. We have no control over that.
In HTML, we simply put:
Code: [Select]
<input name="sfu[]" type="file" />and the browser put both field box and browser button.
Logged

We don't need a reason to help people

gdog26

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
    • View Profile
Re: adding a break space between the browse button
« Reply #2 on: October 07, 2009, 11:57:14 AM »

Oh really.. damn!  So I have no choice to keep it the way it is then..  :-[

Thanks again..
Logged

gdog26

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
    • View Profile
Re: adding a break space between the browse button
« Reply #3 on: October 19, 2009, 07:06:39 AM »

By the way, 1 more question.. How can I change the font size on my Error Log screen.   

Like I was able to change the font size on the main page before they click on the upload button.  But if they're uploading a bad file type or whatever, I will get an error.. Error Log: (in red text etc..)  I would like to change this font size as well to match with the site.
Logged

Saleh

  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 222
    • View Profile
    • PHP Simplicity
Re: adding a break space between the browse button
« Reply #4 on: October 20, 2009, 01:17:29 PM »

Sure. Open functions.php and look for:
Code: [Select]
function ShowErrorLog($errors)
In that function, look for:
Code: [Select]
   echo '<span style="color: red;"><u><b>'.$txt['error_log'].":</b></u></span><br />\n";
customize it the way you want. SFU doesn't use style sheets now. Maybe never will. I don't know.
Logged

We don't need a reason to help people

gdog26

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
    • View Profile
Re: adding a break space between the browse button
« Reply #5 on: October 20, 2009, 07:53:08 PM »

Got it, everything works like a charm now, all the font and size :)
Logged
 

+ Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Are you a bot/spammer?: