Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tep_image_submit formatting problems


Guest

Recommended Posts

Store is default install with STS.

 

there are fundamental differences between the output displayed by tep_image_submit and tep_image_button.

 

The latter has the correct parameters attached (eg width and height), the former has no parameters added, squashes the image and places a black border around it. I have no idea why!

 

An example of what is happening, and thus the source code, can be found at

 

http://www.innometrix.net/store/product_in...?products_id=28

 

Any help much appreciated. I have tried removing the STS code within the tep_image_submit functuion but to no avail.

Link to comment
Share on other sites

tep_image_submit is part of a form the image being assumed to be a submit button, therfore its the html forms function that creates the border.

 

tep_image_button mearly displays the image given as an image, it has button in it as it takes the source from the buttons directory, as does the former.

 

Your site has other errors, take a look at in firefox!

 

;)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

tep_image_submit is part of a form the image being assumed to be a submit button, therfore its the html forms function that creates the border.

 

tep_image_button mearly displays the image given as an image, it has button in it as it takes the source from the buttons directory, as does the former.

 

Your site has other errors, take a look at in firefox!

 

;)

 

cheers for the help. as for errors, it probably shows that i'm an accountant not a web developer and haven't considered anyone not using IE7!

Link to comment
Share on other sites

cheers for the help. as for errors, it probably shows that i'm an accountant not a web developer and haven't considered anyone not using IE7!

 

That may be a mistake, rough figures I have:

 

IE7 50%

IE6 22%

Firefox 21% (& growing)

Safari 5%

 

B)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Indeed - I've just downloaded Firefox and the only problem seems to be the menu bars on the right, probably just an eroneous tag, and to be honest it looks a bit buggy in IE6 as well. You made it sound like it looked like a complete train wreck! :blink:

Link to comment
Share on other sites

Indeed - I've just downloaded Firefox and the only problem seems to be the menu bars on the right, probably just an eroneous tag, and to be honest it looks a bit buggy in IE6 as well. You made it sound like it looked like a complete train wreck! :blink:

 

 

I just said it had errors, where did the train wreck come from??

 

:o

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I just said it had errors, where did the train wreck come from??

 

:o

 

Just the winking smiley! No offence meant.....

 

Anyhow back to the case in hand - anyon know how to rewrite the html output so that it doesn't treat forms in this way?

 

I've noticed that other input fields are similarly bordered and I don't like that either!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...