Jump to content


Photo

Change the Block in a Table


  • Please log in to reply
1 reply to this topic

#1 kenwvs

kenwvs
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts

Posted 17 July 2006 - 01:01 PM

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

<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;
 }


#2 makeshift_theory

makeshift_theory
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts

Posted 19 July 2006 - 04:00 PM

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.
<b>Emacs</b> it's great for the body.
<br><br>
<b>Trust the TechnoLust</b>

<b><u>Have a question check here:</u></b>
PHP Manual: http://www.php.net




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users