Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

which code controls the background colour in this


Guest

Recommended Posts

Posted

Hi all,

 

sorry if this sounds like a stupid question but i've run a colour match on everything in my stylesheet and cant seem to find this

 

does anyone know what i need to edit to alter the background in the circled areas?

 

query.jpg

 

thanks

Posted

Leon,

 

If you look at the source code on that page, you will see this:

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

 

<td class="main" width="50%" valign="top"><b>New Customer</b></td>

<td class="main" width="50%" valign="top"><b>Returning Customer</b></td>

</tr>

<tr>

<td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">

<tr>

 

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

</tr>

<tr>

<td class="main" valign="top">I am a new customer.<br><br>By creating an account at your store name you will be able to shop faster, be up to date on an orders status, and keep track of the orders you have previously made.</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

</tr>

 

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

 

 

So, the class 'infoboxcontents' is called from the stylesheet.css for this portion of the website. If you want to change the background, I would check that class.

 

 

 

Chris

Posted

Leon,

 

If you look at the source code on that page, you will see this:

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

 

<td class="main" width="50%" valign="top"><b>New Customer</b></td>

<td class="main" width="50%" valign="top"><b>Returning Customer</b></td>

</tr>

<tr>

<td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">

<tr>

 

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

</tr>

<tr>

<td class="main" valign="top">I am a new customer.<br><br>By creating an account at your store name you will be able to shop faster, be up to date on an orders status, and keep track of the orders you have previously made.</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

</tr>

 

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

 

 

So, the class 'infoboxcontents' is called from the stylesheet.css for this portion of the website. If you want to change the background, I would check that class.

 

 

 

Chris

 

Thank you so much... it was the right place - for some reason the hex colour code checker i was using gave the code that was already in there as a shocking orange which is why i missed it

 

Once again

 

thank you :)

Posted

A more general way to determine this is to use the "Web Developer" and/or "Firebug" extensions for the Firefox browser. I've found Firebug is very good for finding out which CSS rules are in effect and where they're located.

Check out Chad's News.

Archived

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

×
×
  • Create New...