0

Hello guys

I want to make my file upload form appear similar on all browser.I current use the code below.This will show differently depending on browser

<form action="upload.php" method="POST" enctype="multipart/form-data" >
<input type="file" name="image"/>
<p><button name="submit" type="submit"></button></p>

This is not a secret to anyone:D
How can i make the following way....
There is a textarea and a browse button .After the user has selected the files through browse , he just click on submit button

3
Contributors
3
Replies
6
Views
5 Years
Discussion Span
Last Post by diafol
0

If you want for these elements to appear similar on different browsers, you need to apply a style to each of the target elements. The easiest way is to centralize these settings in a stylesheet and reference the stylesheet from each page.

If you do not apply a style, the browsers will apply their default styles which are slightly different on each browser app.

0

Thanks for the reply by how to create a stylesheet for the input type
Can u show an example

0

You may want to look at some form css frameworks, such as http://formee.org/demo/index.htm
There are many out there. I've been playing with twitter bootstrap recently and I'm very pleased with the results. Only in certain versions of IE do you not get the rounded corners, but shims can allow that functionality if you need it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.