1
usera
custom blocks border/title problem
  • 2004/8/28 8:18

  • usera

  • Just popping in

  • Posts: 29

  • Since: 2004/8/28


ok. I create a custom block using the default theme and it will wrap a border around it with the title like the "recent news module"(the title line can be empty but then it would be empty space and the border is incomplete). Is there anyway to stop that behavior?

2
studioC
Re: custom blocks border/title problem
  • 2004/8/28 10:45

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello,

edit style.css of default theme and add settings :

fieldset {border:0px;}

or another possibility, changing uncomplete borders ...

change ..:

td#centerCcolumn div.blockContent {border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; border-bottom: 1px solid #dddddd; padding: 3px; margin-right: 0px; margin-left: 0px; margin-bottom: 2px; line-height: 120%;}


by setting 1px solid to 0px solid [or delete that argument]

michael

3
usera
Re: custom blocks border/title problem
  • 2004/8/28 15:45

  • usera

  • Just popping in

  • Posts: 29

  • Since: 2004/8/28


Thanks for the quick response. You are very helpful.

However... wouldn't that change in the sytle.css cause it to change even the default blocks like the "recent news" look? I just want to selectively remove the border for this html block.

ps. I changed the style.css but it didn't do anything that I can tell

4
tjnemez
Re: custom blocks border/title problem
  • 2004/8/28 17:09

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you have created a custom block so you can style how you want. if it is being wrapped by a fieldset then you would, as michael suggests, set the border as 0px. you would use inline styling which overrides the the external style.css. so, something like this may work:

your custom.html

5
tjnemez
Re: custom blocks border/title problem
  • 2004/8/28 17:59

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you could add this to style.css please note that i have not tested this:

fieldset.custom {
border: 0px solid #fff;
}

your custom.html


you could also use the above to customize your fieldset so it is diff from default. as a rule, try not to use inline styling

Login

Who's Online

249 user(s) are online (209 user(s) are browsing Support Forums)


Members: 0


Guests: 249


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits