1
javelin
css
  • 2004/6/16 12:21

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


I'm just playing with the scheme for a new site at this temporary location
I've gone through the css file and changed colours etc but cant seem to find the line that removes the white line round the center block.

Anyone have any clues where I should look?

Cheers

2
Herko
Re: css
  • 2004/6/16 12:26

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


themes/default/centerblock.html, there's a <fieldset> around the center block that does this.

Herko

3
javelin
Re: css
  • 2004/6/16 13:22

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


I found a themes\default\theme_blockcenter_c.html which has a field set =

<body>
<div style="padding: 5px;">
<fieldset>
<legend class="blockTitle"><{$block.title}></legend>
<div class="blockContent">
<{$block.content}></div>
</fieldset>

How do I edit this to remove the line around the box?

4
phppp
Re: css
  • 2004/6/16 13:34

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


css:

fieldset {
border: ....
}

5
javelin
Re: css
  • 2004/6/16 15:19

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


Many thanks,
I put in the code below and hey presto......
Many thanks

<style type="text/css">
fieldset {
border-width: 0;
border-style: none;
}
</style>

6
Cyberglass
Re: css
  • 2004/7/11 13:06

  • Cyberglass

  • Just popping in

  • Posts: 11

  • Since: 2004/7/11


Thanks! I was having the exact same problem and it was driving me mental.

I have also found that you can stick the style in the sylesheet rather than customising the theme's html. I use:

fieldset {
border: 1;
border-color:#FF9900
}

And it works great.