Within a span of two day, two good things happened. I was contacted to create a new website for my best friends mother. I love to help out other people in obtaining their goals. The second thing that happened was the start of a new galley. I just learned how to control maximum sizes of images using a piece of CSS code. I love learning new ways of making things work. Back to the new job contract, this job is great I don’t have complete creative control, but it a job which I can handle and use some advance construction for building. Now, if they grow and want to build a dynamic system, they will have in place a template to work from and maybe someone in the future to help them grow. I hope my programming skills a web developer will grow as well.

Let me post some of the internet explorer code or hacks for the image maximum control for CSS, to others this may be new and to advance user this may be not so new.

img{

max-width: 500px; ***The first two are standard CSS code, works on firefox, mozilla, and maybe safari***

max-height: 400px;
/* for internet explorer */
width: expression(this.width>400? “400px” : “auto”); ***This is the internet explorer hacks, its sad to say that this might not work from older browsers***

height: expression(this.height>500? “500px” : “auto”);
}

Well, this bit of code made my layout and gallery design a lot more feasible and eye popping.

Posted by Timothy Dempski, filed under Blogroll, Website. Date: December 5, 2007, 11:58 pm | No Comments »

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.