PDA

View Full Version : Another problem, even tough It's a pain in the ass



GRS
06-10-2005, 10:16 PM
I had a serious bug in my script.
You see, I progamming only on HTML, but still I know my mistakes.
I got an offer to build a site, that will be able to modify itself to the user's resolution. I knew what I had to do, and I did it using the system of presentage values in the Table's configuration.
But when I added some pictures, it was starting to "jump" and get off proportions, and smear all over the page. Some times when I refreshed, it came back to it's position. Sometimes it was stuck.
I don't know how the hell it happened to me after I've almost finished the site.
Finally I modified it to 800*600 resolution.

I just want to know why does Pictures pop like this in this situations!
(I also tried to do this in several different ways...)
Even when only the pictures had this values it happened.

Thanks for helping me,
because I don't want to do that mistake again.

For Example, a <img> tag contains this problem:

<img src="Images/blabla.jpg" height=80% width=100%>

cr3ative
06-11-2005, 08:02 AM
I don't think that using percentages on images is a great idea - it'd be better, for example on a cell background, to use a recursive image.

Try fixing your height and width on the images, and see if that helps.

cr3ative