{ "key_pair_value_system": true, "answer_rating_count": "", "question_feedback_html": { "html_star": "", "html_star_feedback": "" }, "answer_average_rating_value": "", "answer_date_js": "2024-08-30T08:19:42-04:00", "answer_date": "2024-08-30 08:19:42", "is_docs_available": null, "is_excel_available": null, "is_pdf_available": null, "count_file_available": 0, "main_page": "student_question_view", "question_id": "8726648", "url": "\/study-help\/questions\/need-help-how-would-i-edit-the-css-stylesheet-file-8726648", "question_creation_date_js": "2024-08-30T08:19:42-04:00", "question_creation_date": "Aug 30, 2024 08:19 AM", "meta_title": "[Solved] Need help! how would I edit the css style | SolutionInn", "meta_description": "Answer of - Need help! how would I edit the css stylesheet file to make the border not take up the whole page? login.html : Login | SolutionInn", "meta_keywords": "help,edit,css,stylesheet,file,make,border,page,loginhtml,login,ku,generic", "question_title_h1": "Need help! how would I edit the css stylesheet file to make the border not take up the whole page? login.html : Login Page KU", "question_title": "Need help! how would I edit the css stylesheet file to make", "question_title_for_js_snippet": "Need help how would I edit the css stylesheet file to make the border not take up the whole page login html Login Page KU Generic Groceries Login E main Address password (Fields in red are required) login php create html Create Page KU Generic Groceries Create Account First Name Last Name Street Address Street Address2 City State PA Zip Code Phone E main Address Confirm E main Address Select a password (minimum of 5 characters) password Confirm Password create php store css external stylesheet file body background color silver style rule for table table width 100 height 100 text align center border 3px outset gray border collapse collapse style rule for tr,td,th tr,th,td border 2px outset gray style rule for class link links background color lightgreen style rule for equal width links td width 25 style rule for class footer footer background color mediumseagreen font family Arial, Helvetica, sans serif style rule for class normal normal text align left background color whitesmoke height 350px style rule for paragraphs p padding left 25px padding right 20px style rule for h1 h1 font family Arial, Helvetica, sans serif font style italic style rule for th in thead thead th background color mediumseagreen border 3px outset gray style rule for hyperlink li list style none style rule for hyperlink hover a hover font size 20px color green style rule for div div border 2px solid gray padding left 10px padding top 10px margin 20px padding bottom 10px style rule for class redColor redColor color red style rule for textbox width txtWidth width 40px style rule for h2 h2 padding left 20px font family Arial, Helvetica, sans serif font style italic ", "question_description": "

Need help! how would I edit the css stylesheet file to make the border not take up the whole page?<\/p>

<\/p>

<\/p>

login.html :<\/strong><\/p>

<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

Login Page<\/title><\/p> <p><!--link to external css file --><\/p> <p><link rel=\"stylesheet\" href=\"store.css\" \/><\/p> <p><\/head><\/p> <p><body><\/p> <p><table><\/p> <p><thead><\/p> <p><tr><\/p> <p><th colspan=\"4\"><\/p> <p><h1> KU Generic Groceries <\/h1><\/p> <p><\/th><\/p> <p><\/tr><\/p> <p><\/thead><\/p> <p><tbody><\/p> <p><\/tbody><\/p> <p><\/table><\/p> <p><h2>Login<\/h2><\/p> <p><div><\/p> <p><form method=\"post\" action=\"login.php\"><\/p> <p><!--label for E-main Address --><\/p> <p><label for=\"emailAddress\">E-main Address : <\/label><\/p> <p><!--textbox for E-main Address --><\/p> <p><input type=\"text\" id=\"emailAddress\" name=\"emailAddress\" required><\/p> <p> <\/p> <p><!--label for password --><\/p> <p><label for=\"password\">password : <\/label><\/p> <p><!--textbox for password --><\/p> <p><input type=\"password\" id=\"password\" name=\"password\" required><\/p> <p> <\/p> <p><!--submit button --><\/p> <p><input type=\"submit\" id=\"btnLogin\" value=\"Login\" name=\"btnLogin\"\/><\/p> <p><!--Reset button --><\/p> <p><input type=\"reset\" id=\"btnReset\" name=\"reset\" value=\"Reset Form\"\/><\/p> <p> <\/p> <p><label>(Fields in red are required)<\/label><\/p> <p><\/form><\/p> <p><\/div><\/p> <p><\/body><\/p> <p><\/html><\/p> <p><strong>***********************<\/strong><\/p> <p><strong>login.php :<\/strong><\/p> <p><?php<\/p> <p>if(isset($_POST['btnLogin']))<\/p> <p>{<\/p> <p>\/\/associative array<\/p> <p>$login = array('email' => $_POST['emailAddress'],<\/p> <p>'password'=> $_POST['password']);<\/p> <p>\/\/displaying array<\/p> <p>foreach ($login as $key => $value) {<\/p> <p>echo $key.\":\".$value.\" <br\/>\";<\/p> <p>}<\/p> <p>}<\/p> <p>?><\/p> <p>************************<\/p> <p><strong>create.html<\/strong><\/p> <p><!DOCTYPE html><\/p> <p><html><\/p> <p><head><\/p> <p><meta charset=\"utf-8\"><\/p> <p><!--title for web page --><\/p> <p><title>Create Page<\/title><\/p> <p><!--link to external css file --><\/p> <p><link rel=\"stylesheet\" href=\"store.css\" \/><\/p> <p><\/head><\/p> <p><body><\/p> <p><table><\/p> <p><thead><\/p> <p><tr><\/p> <p><th colspan=\"4\"><\/p> <p><h1> KU Generic Groceries <\/h1><\/p> <p><\/th><\/p> <p><\/tr><\/p> <p><\/thead><\/p> <p><tbody><\/p> <p><\/tbody><\/p> <p><\/table><\/p> <p><h2>Create Account<\/h2><\/p> <p><div><\/p> <p><form method=\"post\" action=\"create.php\"><\/p> <p><!--label for first name --><\/p> <p><label for=\"firstName\">First Name : <\/label><\/p> <p><!--textbox for first name --><\/p> <p><input type=\"textbox\" id=\"firstName\" name=\"firstName\" required><\/p> <p> <\/p> <p><!--label for last name --><\/p> <p><label for=\"lastName\">Last Name : <\/label><\/p> <p><!--textbox for lastname --><\/p> <p><input type=\"text\" id=\"lastname\" name=\"lastname\" required><\/p> <p> <\/p> <p><!--label for street Address --><\/p> <p><label for=\"streetAddress\">Street Address : <\/label><\/p> <p><!--textbox for street Address --><\/p> <p><input type=\"text\" id=\"streetAddress\" name=\"streetAddress\" required><\/p> <p> <\/p> <p><!--label for street Address2 --><\/p> <p><label for=\"streetAddress2\">Street Address2 : <\/label><\/p> <p><!--textbox for street Address2 --><\/p> <p><input type=\"text\" id=\"streetAddress2\" name=\"streetAddress2\" required><\/p> <p> <\/p> <p><!--label for City --><\/p> <p><label for=\"city\">City : <\/label><\/p> <p><!--textbox for state --><\/p> <p><input type=\"text\" id=\"city\" name=\"city\" required><\/p> <p> <\/p> <p><!--label for state --><\/p> <p><label for=\"state\">State : <\/label><\/p> <p><!--dropdownlist for state --><\/p> <p><select name=\"state\"><\/p> <p><option value=\"PA\">PA<\/option><\/p> <p><\/select><\/p> <p><!--label for zip code --><\/p> <p><label for=\"ZipCode\">Zip Code : <\/label><\/p> <p><!--textbox for state --><\/p> <p><input type=\"text\" id=\"ZipCode\" name=\"ZipCode\" requiredstyle=\"\"><\/p> <p> <\/p> <p><!--label for phone --><\/p> <p><label for=\"phone\">Phone : <\/label><\/p> <p><!--textbox for phone --><\/p> <p><input type=\"text\" id=\"phone\" name=\"phone\" requiredstyle=\"\"><\/p> <p><input type=\"text\" id=\"phone1\" name=\"phone1\" requiredstyle=\"\"><\/p> <p><input type=\"text\" id=\"phone2\" name=\"phone2\" requiredstyle=\"\"><\/p> <p> <\/p> <p><!--label for E-main Address --><\/p> <p><label for=\"emailAddress\">E-main Address : <\/label><\/p> <p><!--textbox for E-main Address --><\/p> <p><input type=\"text\" id=\"emailAddress\" name=\"emailAddress\" required><\/p> <p> <\/p> <p><!--label for confirm email Address --><\/p> <p><label for=\"confirmEmailAddress\">Confirm E-main Address : <\/label><\/p> <p><!--textbox for confirm email Address --><\/p> <p><input type=\"text\" id=\"confirmEmailAddress\" name=\"confirmEmailAddress\" required><\/p> <p> <\/p> <p><!--label for password --><\/p> <p><label>Select a password (minimum of 5 characters)<\/label><\/p> <p> <\/p> <p><label for=\"password\">password : <\/label><\/p> <p><!--textbox for password --><\/p> <p><input type=\"password\" id=\"password\" name=\"password\" required><\/p> <p> <\/p> <p><!--label for confirm password --><\/p> <p><label for=\"confirmPassword\">Confirm Password : <\/label><\/p> <p><!--textbox for confirm Password --><\/p> <p><input type=\"password\" id=\"confirmPassword\" name=\"confirmPassword\" required><\/p> <p> <\/p> <p><!--submit button --><\/p> <p><input type=\"submit\" id=\"btnSubmit\" value=\"Create Account\" name=\"btnSubmit\"\/><\/p> <p><!--Reset button --><\/p> <p><input type=\"reset\" id=\"btnReset\" name=\"reset\" value=\"Reset Form\"\/><\/p> <p><\/form><\/p> <p><\/div><\/p> <p><\/body><\/p> <p><\/html><\/p> <p>**************************<\/p> <p><strong>create.php<\/strong><\/p> <p><?php<\/p> <p>if(isset($_POST['btnSubmit']))<\/p> <p>{<\/p> <p>\/\/associative array<\/p> <p>$login = array(<\/p> <p>'firstName' => $_POST['firstName'],<\/p> <p>'lastname' => $_POST['lastname'],<\/p> <p>'streetAddress'=> $_POST['streetAddress'],<\/p> <p>'streetAddress2'=> $_POST['streetAddress2'],<\/p> <p>'city'=> $_POST['city'],<\/p> <p>'state'=> $_POST['state'],<\/p> <p>'ZipCode'=> $_POST['ZipCode'],<\/p> <p>'emailAddress'=> $_POST['emailAddress'],<\/p> <p>'password'=> $_POST['password'],<\/p> <p>);<\/p> <p>\/\/displaying array<\/p> <p>foreach ($login as $key => $value) {<\/p> <p>echo $key.\":\".$value.\" <br\/>\";<\/p> <p>}<\/p> <p>}<\/p> <p>?><\/p> <p>***********************<\/p> <p><strong>store.css<\/strong><\/p> <p>\/*external stylesheet file *\/<\/p> <p>body{<\/p> <p>background-color: silver;<\/p> <p>}<\/p> <p>\/*style rule for table *\/<\/p> <p>table{<\/p> <p>width:100%;<\/p> <p>height: 100%;<\/p> <p>text-align: center;<\/p> <p>border: 3px outset gray;<\/p> <p>border-collapse: collapse;<\/p> <p>}<\/p> <p>\/*style rule for tr,td,th *\/<\/p> <p>tr,th,td{<\/p> <p>border: 2px outset gray;<\/p> <p>}<\/p> <p>\/*style rule for class link *\/<\/p> <p>.links{<\/p> <p>background-color: lightgreen;<\/p> <p>}<\/p> <p>\/*style rule for equal width *\/<\/p> <p>.links td{<\/p> <p>width:25%;<\/p> <p>}<\/p> <p>\/*style rule for class footer *\/<\/p> <p>.footer{<\/p> <p>background-color: mediumseagreen;<\/p> <p>font-family: Arial, Helvetica, sans-serif;<\/p> <p>}<\/p> <p>\/*style rule for class normal *\/<\/p> <p>.normal{<\/p> <p>text-align: left;<\/p> <p>background-color: whitesmoke;<\/p> <p>height: 350px;<\/p> <p>}<\/p> <p>\/*style rule for paragraphs *\/<\/p> <p>p{<\/p> <p>padding-left: 25px;<\/p> <p>padding-right: 20px;<\/p> <p>}<\/p> <p>\/*style rule for h1 *\/<\/p> <p>h1{<\/p> <p>font-family: Arial, Helvetica, sans-serif;<\/p> <p>font-style: italic;<\/p> <p>}<\/p> <p>\/*style rule for th in thead *\/<\/p> <p>thead th{<\/p> <p>background-color:mediumseagreen;<\/p> <p>border: 3px outset gray;<\/p> <p>}<\/p> <p>\/*style rule for hyperlink *\/<\/p> <p>li{<\/p> <p>list-style: none;<\/p> <p>}<\/p> <p>\/*style rule for hyperlink hover *\/<\/p> <p>a:hover{<\/p> <p>font-size: 20px;<\/p> <p>color: green;<\/p> <p>}<\/p> <p>\/*style rule for div *\/<\/p> <p>div{<\/p> <p>border:2px solid gray;<\/p> <p>padding-left: 10px;<\/p> <p>padding-top: 10px;<\/p> <p>margin: 20px;<\/p> <p>padding-bottom: 10px;<\/p> <p>}<\/p> <p>\/*style rule for class=redColor *\/<\/p> <p>.redColor{<\/p> <p>color: red;<\/p> <p>}<\/p> <p>\/*style rule for textbox width *\/<\/p> <p>.txtWidth{<\/p> <p>width: 40px;<\/p> <p>}<\/p> <p>\/*style rule for h2 *\/<\/p> <p>h2{<\/p> <p>padding-left: 20px;<\/p> <p>font-family: Arial, Helvetica, sans-serif;<\/p> <p>font-style: italic;<\/p> <p>}<\/p> <p> <\/p>", "transcribed_text": "", "related_book": { "title": null, "isbn": null, "edition": null, "authors": null, "cover_image": null, "uri": null, "see_more_uri": "" }, "free_related_book": { "isbn": "", "uri": "", "name": "", "edition": "" }, "question_posted": "2024-08-30 08:19:42", "see_more_questions_link": "\/study-help\/questions\/computer-science-operating-system-2022-August-09", "step_by_step_answer": "The Answer is in the image, click to view ...", "students_also_viewed": [ { "url": "\/study-help\/introduction-to-probability-statistics\/10112-safety-programs-the-data-shown-here-were-collected-on-1986535", "description": "10.112 Safety Programs The data shown here were collected on lost-time accidents (the figures given are mean work-hours lost per month over a period of one year) before and after an industrial safety...", "stars": 0 }, { "url": "\/charles-byrd-was-in-a-minimum-security-jail-awaiting-trial", "description": "Charles Byrd was in a minimum- security jail awaiting trial. A team of sheriffs deputies took several inmates into a room for a strip search without any apparent justification. Byrd was ordered to...", "stars": 3 }, { "url": "\/study-help\/questions\/supervalu-one-of-the-largest-grocery-retallers-in-the-united-10061953", "description": "SUPERVALU, one of the largest grocery retallers in the United States, is headquartered in Minneapolis. Suppose the following financial information (in millions) was taken from the company's 2022...", "stars": 3 }, { "url": "\/study-help\/questions\/question-33-when-preparing-the-invoices-the-prices-come-from-1729851", "description": "Question 33 When preparing the invoices, the prices come from the packing slips purchase requisitions O bill of ladings sales orders Oshipping notices Question 34 2 pts 2 pts In Petaluma, California,...", "stars": 3 }, { "url": "\/study-help\/questions\/the-alpine-house-incorporated-is-a-large-retailer-of-snow-857521", "description": "The Alpine House, Incorporated, is a large retailer of snow skis. The company assembled the information shown below for the quarter ended March 31: Sales Selling price per pair of skis Variable...", "stars": 3 }, { "url": "\/study-help\/questions\/ocean-fishers-ltd-had-a-22foot-fishing-boat-with-an-858963", "description": "Ocean Fishers Ltd had a 22-foot fishing boat with an inboard motor that was purchased on April 9, 2015, for $74,000. The PPE subledger shows the following information regarding the boat b....", "stars": 3 }, { "url": "\/study-help\/questions\/a-spaceship-is-orbiting-around-the-earth-the-mass-of-859119", "description": "A spaceship is orbiting around the Earth. The mass of Earth is 5.98 x 1024 kg, and the mass of the spaceship is 8600 kg. Let R be the distance from the center of Earth. If this distance changes from...", "stars": 3 }, { "url": "\/study-help\/questions\/5-two-events-occur-at-positions-on-the-xaxis-separated-859129", "description": "5. Two events occur at positions on the x-axis separated by a distance of Ax and by a time interval of At, according to one observer (Ann). Ann notes that when the first event occurs (a flash of...", "stars": 3 }, { "url": "\/study-help\/questions\/a-transverse-mechanical-wave-is-traveling-along-a-string-lying-859478", "description": "A transverse mechanical wave is traveling along a string lying along the x-axis. The displacement of the string as a function of position and time, y(x, t), is described by the following equation:...", "stars": 3 } ], "next_back_navigation": { "previous": "\/study-help\/questions\/modified-accelerated-cost-recovery-system-macrs-election-to-expense-listed-8726647", "next": "\/study-help\/questions\/navel-county-choppers-inc-is-experiencing-rapid-growth-the-company-8726649" }, "breadcrumbs": [ { "name": "Study help", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers" }, { "name": "Computer Science", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers\/computer-science" }, { "name": "Databases", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/computer-science-databases" }, { "name": "Need help! how would I edit the css stylesheet file to make", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/need-help-how-would-i-edit-the-css-stylesheet-file-8726648" } ], "skill_details": { "skill_id": "656", "skill_name": "Databases", "parent_id": "8" } }