Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

how to make a border around whole osc area?


Recommended Posts

In the includes/header.php file, right after the opening html tag add a <div class="containerDiv"> and close the div right before the closing html tag in the includes/footer.php.


The open up stylesheet.css and add the desired border style for the containerDiv.

Link to comment
Share on other sites

i doesn't work :(

i added this to the begining of the css:

.containerDiv {border: 1px; border-style: solid; border-color: #000000 ;border-spacing: 1px;}


there was nothing about html in header.php, so i copied from other file and paste it in the beginning this:



$Id: products_new.php,v 1.27 2003/06/09 22:35:33 hpdl Exp $


osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 osCommerce


Released under the GNU General Public License




<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>

<div class="containerDiv">


<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<link rel="stylesheet" type="text/css" href="stylesheet.css">



i also added '</div></html>' somewhere in the bottom, but it doesn't work


i also started to have a space on the top above the osc area, didn't notice when it happend and don't know how to remove it...

thank you for your reply


Sometimes, ignorance is not bliss.

Link to comment
Share on other sites


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

  • Create New...