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! Link to comment https://forums.phpfreaks.com/topic/122765-fieldgroup-borders/ 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"> Link to comment https://forums.phpfreaks.com/topic/122765-fieldgroup-borders/#findComment-633942 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! Link to comment https://forums.phpfreaks.com/topic/122765-fieldgroup-borders/#findComment-634139 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. Link to comment https://forums.phpfreaks.com/topic/122765-fieldgroup-borders/#findComment-634200 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. Link to comment https://forums.phpfreaks.com/topic/122765-fieldgroup-borders/#findComment-634752 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. Link to comment https://forums.phpfreaks.com/topic/122765-fieldgroup-borders/#findComment-635012 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.