CodeIgniter Forums
min_width and min_height for the upload class? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: min_width and min_height for the upload class? (/thread-36422.html)

Pages: 1 2 3


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]chefnelone[/eluser]
Hello

Is there something like min_width and min_height for the upload class?
I found this patch for the upload class:
http://ellislab.com/forums/viewthread/143418/#730179

But it isn't working for me...

Has anyone tried it?

Any other solution out there?

Thanks


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]InsiteFX[/eluser]
It depends on the css version!

InsiteFX


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]chefnelone[/eluser]
[quote author="InsiteFX" date="1291212238"]It depends on the css version!

InsiteFX[/quote]

What do you mean? Where do I check and set the css version? Which is the correct version to allow the patch works properly?

Or, you mean the css version supported by the Browser??


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]InsiteFX[/eluser]
IE below version will not use min_width and min_height!

You can search the internet for a fix.

As I said it dependent on the browser version.
You would need to set your web editor to use CSS2 or CSS3.

InsiteFX


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]chefnelone[/eluser]
[quote author="InsiteFX" date="1291228859"]IE below version 7 will not use min_width and min_height!

You can search the internet for a fix.

As I said it dependent on the browser version.
You would need to set your web editor to use CSS2 or CSS3.

InsiteFX[/quote]

I'm using Firefox 3.6.12
As for the web editor I'm using Coda, I see no way to set it to use either CSS2/CSS3


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]InsiteFX[/eluser]
If your browser supports it CSS2 then it would be coded in your
web page View file include your view .css file, you code it the css.

InsiteFX


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]chefnelone[/eluser]
[quote author="InsiteFX" date="1291229911"]If your browser supports it CSS2 then it would be coded in your
web page View file include your view .css file, you code it the css.

InsiteFX[/quote]

thanks for your response, but I can't see your point.


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]InsiteFX[/eluser]
min_width and min_height is coded in your page header css file.

your_name.css file
Code:
.something {
    min_width: 100px;
    min_height: 50px;
}

<body>

    <div class="something"></div>

&lt;/body&gt;

It is coded in your css file!

InsiteFx


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]chefnelone[/eluser]
[quote author="InsiteFX" date="1291231060"]min_width and min_height is coded in your page header css file.

your_name.css file
Code:
.something {
    min_width: 100px;
    min_height: 50px;
}

&lt;body&gt;

    <div class="something"></div>

&lt;/body&gt;

It is coded in your css file!

InsiteFx[/quote]

We are talking about differents things.
You: about css properties.

Me: about min_width and min_height to be checked when UPLOADING a file with the upload CLASS. This has nothing to do with CSS files

thanks anyway!


min_width and min_height for the upload class? - El Forum - 12-01-2010

[eluser]InsiteFX[/eluser]
Then you need to code it yourself!

InsiteFX