The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Style input type file Reply To: Style input type file


Thanks sadunaresh.

What I need is to display a link in place of a button. Since I could not get a link, I created an image of the link and specified the same in the CSS. So now users clicks on the image (thinking it’s a link) and then the file select dialog opens. The only problem here is that after user has selects the file, filename is not displayed on the screen.

If there is a way to style the button to look like a link (without doing the image trick I mentioned above) then it is even better.