I have a group of input type="submit" buttons inside a fieldset.

I am using javascript to alter the appearance of these input type="submit" buttons when I 'onMouseOver' and 'onMouseOut'.

When this happens this changes the size of the fieldset border and expands and shrinks depending on the mouse over/out event.

Any Ideas I can just keep the field set permentely expanded?

Thanks, Regards X

Recommended Answers

All 3 Replies

Is the button changing size when this happens??

Is a margin, border, or padding appearing and disappearing with the mouseover?

Try applying a style to the field.

No it moves position and changes the border from inset to outset. CSS is applied to it but only intially then javascript takes over.

Something you are doing is telling the browser it needs to resize.

Try applying styles to the containing fieldset to define its size.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.