shayrgob Posted March 30, 2010 Share Posted March 30, 2010 I'm using CSS for each individual info box. I have this code in the stylesheet for the category box: #categorybox .infoBoxHeading { background: black; color: white; width: 100px; } I'm trying to make the width of the heading of the infobox less than the width of the infobox itself. Why isn't this working??? thanks Link to comment Share on other sites More sharing options...
KJ666 Posted March 30, 2010 Share Posted March 30, 2010 Can you post the code for the category info box ?? Or change the width: 100px; to a diffrent size, tell us what that comes out like ? Link to comment Share on other sites More sharing options...
shayrgob Posted March 30, 2010 Author Share Posted March 30, 2010 #categorybox .infoBox { background: #1e1e1e; } #categorybox .infoBoxContents { background: #1e1e1e; } #categorybox a { color: white;} #categorybox .infoBoxHeading { background: black; color: white; width: 100px; } I tried changing it to 50px as well but that didn't do anything. Link to comment Share on other sites More sharing options...
shayrgob Posted March 31, 2010 Author Share Posted March 31, 2010 I'm still looking for some help on this please. THanks! Link to comment Share on other sites More sharing options...
shayrgob Posted April 3, 2010 Author Share Posted April 3, 2010 I'm really hoping someone can help me out with this. Link to comment Share on other sites More sharing options...
npn2531 Posted April 4, 2010 Share Posted April 4, 2010 The problem is the question, it is vague. Post a link for starters. The other issue is that the header no matter what width you specify, may have some element in it that expands it. There may also be overriding CSS selectors in row or table or cell that contain #categorybox .infoBoxHeading. The box structure in OSC is utilizes a lot of nested tables and cells. One thing I can tell you is that : #categorybox .infoBoxHeading will not work but #categorybox.infoBoxHeading will. (Note the space before the period.) Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120 Link to comment Share on other sites More sharing options...
kalkal Posted August 18, 2010 Share Posted August 18, 2010 I'm using CSS for each individual info box. I have this code in the stylesheet for the category box: #categorybox .infoBoxHeading { background: black; color: white; width: 100px; } I'm trying to make the width of the heading of the infobox less than the width of the infobox itself. Why isn't this working??? thanks I was looking for an answer to this as well... The "Whats New" infobox is on my homepage and the title of the infobox is quite short while the actual heading space spans the entire box. I want to shorten the infobox heading title space to end just after the title. Any help would be great! Kurt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.