kenwvs Posted July 17, 2006 Share Posted July 17, 2006 I have had a friend build a php page, with a form in it. I am thinking he has used CSS for the formatting of it, and all of the text and the form fields stay in nice block format. I would like them not to do that, is there a way to change that, and I hope you can tell from the code I have provided.Ken[code]<html><head><title>For Sale 4 U QUICK LISTER</title><style type="text/css">body { background-color: Gainsboro; margin: 0; padding: 0; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 75%; color: black;}table { width: 96%; display: block; margin-left: auto; margin-right: auto;}form { width: 98%; display: block; margin-left: auto; margin-right: auto;}.red { color: Red;}.error {color:#C03; font-weight:bold; }h3 { text-align: center; color: Red; font-weight: bold;}h4 { text-align: center; color: Blue; font-weight: bold;} .center { text-align: center; } .bold { font-weight: bold; }[/code] Link to comment https://forums.phpfreaks.com/topic/14837-change-the-block-in-a-table/ Share on other sites More sharing options...
makeshift_theory Posted July 19, 2006 Share Posted July 19, 2006 form { width: 98%; display: block; margin-left: auto; margin-right: auto;}make it look likeform { width: 98%; display: none; margin-left: auto; margin-right: auto;}orjust clear out the form attributes. Link to comment https://forums.phpfreaks.com/topic/14837-change-the-block-in-a-table/#findComment-60530 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.