Jump to content

Recommended Posts

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

form {
        width: 98%;
        display: block;
        margin-left: auto;
        margin-right: auto;
}

make it look like

form {
        width: 98%;
        display: none;
        margin-left: auto;
        margin-right: auto;
}

or

just clear out the form attributes.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.