Jump to content

Change the Block in a Table


kenwvs

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.