osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

White border on infoboxes?

This is a discussion on White border on infoboxes? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi All, Just half way thru modding osC and having done a couple before I am getting pretty good now ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-11-2003, 02:36 AM
Lurker
 
Join Date: Apr 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
appy
Default White border on infoboxes?

Hi All,

Just half way thru modding osC and having done a couple before I am getting pretty good now at messing up all the beautiful code but this one has me stuck!

I simply want a white border (1 or 2 px) around the individual infoboxes. Doing the header part is easy by changing the corner and top images but I would obviously prefer to use CSS to achieve the effect for the whole box. I've tried adding the following to the .infoBox (and other classes) in the stylesheet with no joy.

Code:
  border-width: 2px;
  border-color: #ffffff;
Little example to illustrate...



Any ideas to what am I missing here

Cheers,

Appy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 05-25-2003, 12:15 AM
New Member
 
Join Date: May 2003
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cxm322
Default Re: White border on infoboxes?

Quote:
Originally Posted by appy
I simply want a white border (1 or 2 px) around the individual infoboxes. Doing the header part is easy by changing the corner and top images but I would obviously prefer to use CSS to achieve the effect for the whole box.
Not sure if you figured this out yet but oddly enough you go to your css and change ...

.infoBox {
background: #ffffff; (where ffffff is the code for white as I am sure you know).


Not sure why it is labeled background.

You cannot change the size, but then again, you would not need to if you want white borders on your info boxes if your page background is also white.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-26-2003, 06:57 AM
Member
 
Join Date: Feb 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jgkiefer
Default

If you want to add css borders try the following (add to table not cell)

For all 4 borders in one statement:

border: 2px solid #ffffff
(notice the style is solid white)

To list each one seperately:

border-top: 1px ridge #666666;
border-right: 1px ridge #666666;
border-left: 1px ridge #666666;
border-bottom: 1px ridge #666666;
(notice the style is a dark grey ridge, this makes the border a bump, you could just as easily make it dotted, inset or outset, etc)

These are handy little snippets to have tucked away.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Column_left white space call me stupid! AnnieChrist osCMax v1.7 Installation 0 04-22-2005 03:46 PM
Add border around store adam71o osCMax v1.7 Installation 4 04-14-2005 11:37 AM
Checkout Success white screen problem Dutchman osCommerce 2.2 Modification Help 4 01-05-2005 08:19 PM
remove mainpage.php or at least the extra white space at top dschroedl osCMax v1.7 Discussion 3 08-18-2004 04:57 AM
Box border colour Bah osCommerce 2.2 Modification Help 5 12-31-2002 08:32 AM


All times are GMT -8. The time now is 12:02 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax