Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Box Images width setting


houseofebook

Recommended Posts

In the html code it show

 

images/infobox/corner_left.gif" border="0" alt="" width="7" height="31">

 

Now this width="7" is messing up my table look. how do i get ride of this ??

 

Anyone knows which file i need to edit ?? i have searched most of the files but not getting clue to set this up.

 

Pls help.

Link to comment
Share on other sites

if you want to change the border width of the contents section for the box you should use css create a class with the width you need then use the class in the html code

 

say boxframe

 

.boxFrame {

border: 5px solid #7f7f7f;

}

 

now everytime i use the boxframe in a table cell it will set the border to 5px with gray color.

Link to comment
Share on other sites

Hey Mark,

 

Thank you for your reply, But I would like to know that there must 1 or 2 files that already control width of these images

 

I just want to remove these width and height from:

images/infobox/corner_left.gif" border="0" alt="" width="7" height="31">

 

eg. when i go to account_history_info.php.

the table is completely messed up because of corner_left.gif image width is 7

 

so i want know that there must be any php file which control this width so that when i see html code of account_history_info.php

 

it should look

images/infobox/corner_left.gif" border="0" alt="">

 

and not

 

images/infobox/corner_left.gif" border="0" alt="" width="7" height="31">

Link to comment
Share on other sites

ok so if I understand correctly you need to modify the boxes themselves. so that should be the classes/boxes.php file. In my case I created the left-mid-right images and specified the exact dimensions for the slices I exported from fireworks through a css entry. I used then those classes (or you could specify the images directly). Check function infoBoxHeading in boxes.php for this.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...