justravis Posted September 4, 2008 Share Posted September 4, 2008 I want the fieldgroup borders to only outline the area needed for those fields. How do I prevent the fieldgroup borders from extending to the edge of the div it's enclosed? http://dmd.disabilitymentoring.org/app/mentee/?coor=1 THANKS! Quote Link to comment Share on other sites More sharing options...
lemmin Posted September 4, 2008 Share Posted September 4, 2008 Try setting the width to the minimum so it stretches only as much as it has to: <fieldset style="width:0px"> Quote Link to comment Share on other sites More sharing options...
justravis Posted September 5, 2008 Author Share Posted September 5, 2008 thanks for a prompt response. i made that adjustment in the style sheet: http://dmd.disabilitymentoring.org/app/mentee/?coor=1 it seems to force a lot of line breaks. is there a width to make it behave similar to NOT setting a table's width? Thanks! Quote Link to comment Share on other sites More sharing options...
haku Posted September 5, 2008 Share Posted September 5, 2008 Step one is to fix the errors in your code: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fdmd.disabilitymentoring.org%2Fapp%2Fmentee%2F%3Fcoor%3D1 You have a lot of unclosed tags, and they cause strange problems. Quote Link to comment Share on other sites More sharing options...
justravis Posted September 5, 2008 Author Share Posted September 5, 2008 i resolved all the issues except a few declaration statements...no matter what i cant seem to make it happy. i found some sites sugest a table to constrict the width of the fieldset, but if u need to set the width explicitly, u might as well use style in the fieldset. i was hoping there was width setting, most likely textual, for fieldset. thanks. Quote Link to comment Share on other sites More sharing options...
haku Posted September 6, 2008 Share Posted September 6, 2008 Use CSS, to set the widths of the fieldsets. It actually looks ok the way you have it now, although you shouldn't center all the inputs like that - it looks strange. Left align them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.