Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Few ? about Size of pages, images and adding pages...


sweetjaime

Recommended Posts

Posted

Ok heres hte 1st question i have :

 

I just realized today when i tried to veiw my site on a larger monitor than i normally use... it looked off center and the background went strange.... looks fine on my monitor.... could someone take a look and let me know if there is a way i can make it so that the site " stretches " out evenly on different sized screens ? ( im not even sure im making sense wiht this one lol)

 

2nd ? :

 

I want to have an image showing in my index... that could be changed depending on what promotion i haveon. Could someone share wiht me the code i use to add this ? thank you.

 

ok 3rd and last ( for now ) ? :

 

In the infobox on the left bottom corner there is Privacy, Shipping, Returns and Conditions of Use. I want to add some other features to this... such as a write up about the home parties i offer, the custom orders i do etc.... i tried doingthis once ... but i had to add page i made outside of oscommerce and so when you clicked on " Home Parties" in the box it took you to a new page... with none of hte oscommerce shopping cart on it. Is there any way to get around this ?

 

Ok Pheewww!

 

If anyone culd help me with at least one or two of these i would love them forever!!

Thanks!

Jaime

www.bella-bijou.com

Posted

The site look centered and ok on my screen - 17" TFT LCD 1280 x 1024 pixels. The "strange" background is your background image repeating to fill the space at higher resolutions :) To make it 'even' use a wider background image.

 

The simplest way to display your image is:

 

<tr>
 <td><img src="images/your_image.jpg" alt="your text"></td>
<tr>

 

 

 

This Contribution will do your pages :)

 

Matti

Posted

index.php - experiment after this line:

 

<?php
 } else { // default page
?>

 

Somewhere here:

 

	<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="main"><?php echo tep_customer_greeting(); ?></td>
	  </tr>
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
	  <tr>
		<td class="main"><?php echo TEXT_MAIN; ?></td>
	  </tr>
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>

 

 

Matti :)

Archived

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

×
×
  • Create New...