1
Ace_Armstrong
CSS question

I'm working on a new theme and I'm having trouble figuring out how to do something. (I'm new to CSS, so I stumble a lot!)

I'm rearranging things a bit so that the module content appears above the center blocks. The center blocks all have the same kind of border around them as the theme for the main XOOPS site, but I want the module content to only have a border on the left.

I tried using a
tag and creating a new style in the style.css file (.CenterMainContent) and assigning it to the DIV class, but that didn't work. I tried doing the same thing by creating a custom TD style, and that didn't work. Then I just tried
and that didn't work.

I've been Googling for tutorials that would tell me how to do this and came up with nothing. Anyone want to offer some wisdom?

Thanks!

2
kahumbu
Re: CSS question
  • 2004/2/9 18:17

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


You might need to define your border-style for the border to work. Also, try including the color. So your border style would be:

style="border-left: 2px solid Black";

Hope this helps.

3
Ace_Armstrong
Re: CSS question

Quote:

kahumbu wrote:
You might need to define your border-style for the border to work. Also, try including the color. So your border style would be:

style="border-left: 2px solid Black";

Hope this helps.


Perfect!

Thanks!

Login

Who's Online

175 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits