PDA

View Full Version : Fieldset and Legend in VB4


TimberFloorAu
03-03-2010, 07:45 AM
Can we still use this in vb4?

I should have thought so, as it is basic html.

I have a page: and the code is:

<fieldset>
<legend><b>Some title here</b></legend>
<p>Some content here</p>
</fieldset>

Yet it is not appearing on the page as it should.

Is there a reason ?

TimberFloorAu
03-04-2010, 09:22 PM
Bump

KW802
03-04-2010, 10:28 PM
Can we still use this in vb4?

I should have thought so, as it is basic html.

I have a page: and the code is:

<fieldset>
<legend><b>Some title here</b></legend>
<p>Some content here</p>
</fieldset>

Yet it is not appearing on the page as it should.

Is there a reason ?

Bump
With vB4 templates, make sure you specify the class for the fieldset tag...

<fieldset class="fieldset">
<legend><b>Some title here</b></legend>
<p>Some content here</p>
</fieldset>

TimberFloorAu
03-04-2010, 11:49 PM
Tried that Kev, doesnt display fieldset just the legend

Preech
03-05-2010, 03:29 AM
I'm finding hard to show the borders as well on a custom template.

TimberFloorAu
03-05-2010, 03:46 AM
We have standard template, and it will not display fieldset.

Weird

Preech
03-05-2010, 05:18 AM
I just cant figure this out, I am using Google Chrome.

TimberFloorAu
03-05-2010, 09:17 AM
I have asked on vb.com and on here , it seems lots of people are reading, but no one replying lol... with a suitable answer

Preech
03-05-2010, 04:59 PM
To get the border to show up, I went into the templates of the style that I am using. I looked in the css templates, and sure thing. There it was. I increased the fieldset, img border from zero to 1 and it worked.

TimberFloorAu
03-05-2010, 09:59 PM
Good Onya Preech will try it now :)

--------------- Added 1267833967 at 1267833967 ---------------

I am on vb4 and so cannot edit the main css, albeit it is defined in there.

But not available or locateable in stylevars.

Is there a PLAN B ?

Preech
03-06-2010, 04:08 AM
Log into your admin panel.
Scroll down to Style Mangager.
You are going to want to edit the templates for the style that you need to change.
Scroll down to where you see CSS templates.
Within the CSS templates you'll see the reset-font.css template. That's the one to edit.
In that template this is what you are looking forfieldset,img{border:0;}
Now all you have to do is change the border:0 to border:1, or what ever number you choose. I also figured it out as well.
Additional css would go into the template that says additional.css
I didn't read when it said the other part was only for reference purpose. And there you have it, that should work.

I am no coder, but I was having the same problem, and I just kept searching until I found it.

TimberFloorAu
03-07-2010, 02:20 AM
Cheers Mate, got it. Trouble is it buggers up the other parts of the forum, will add a class to it ;)

Preech
03-09-2010, 10:59 AM
Like I said, I'm no coder, but I'm glad I could be of assistance some what.