Question

Can you please assist me with this HTML? Below is what I have but it isn't...

Can you please assist me with this HTML?

Below is what I have but it isn't working.

Filename: jpf_sudoku.css

/* Table Styles */

table.spuzzle {
border-collapse: collapse;
margin-top: 0px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
width: 90%;
}

table.spuzzle td {
border: 5px outset gray;
width: 33.3%;
}

table.spuzzle th {
font color: gray;
padding-right: 10px;
padding-bottom: 10px;
}

/* Inner Table Styles */

table.subTable {
border-collapse: collapse;
width: 100%;
}

table.subTable td {
box-shadow: 0px 0px 15px inset;
border: 1px solid black;
color: blue;
height: 40px;
text-align: center;
vertical-align: middle;
}

td.goldBox {
background-color: rgb(228, 199, 42);
}

td.greenBox {
background-color: rgb(203, 229, 130);
}

Outer Table Layout

Open the jpf_sudoku.css file. Start by creating styles for the outer table. Go to the Table Styles section and create a style rule for the table element of the spuzzle class that:

  • sets the table borders to collapse,
  • sets the top/bottom margins to 0 pixels and the left/right margins to auto , and
  • sets the width to 90%.

Outer Table Elements

For every td element, create a style rule that:

  • adds a 5-pixel outset gray border and
  • sets the width to 33.3%

For every th element, create a style rule that:

  • sets the font color to gray and
  • sets the right and bottom padding space to 10 pixels.

Inner Table Layout

Next, you create styles for the inner table that is placed within each cell of the outer table. Go to the Inner Table Styles section and create a style rule for the table element of the subTable class that:

  • sets the table borders to collapse and
  • sets the width to 100%

Inner Table Elements

For every td element within the subTable table, create a style rule that:

  • adds an inset box shadow with offset values of 0 pixels in the horizontal and vertical directions with a blur of 15 pixels,
  • adds a 1-pixel solid black border,
  • displays the text in a blue font,
  • sets the cell height to 40 pixels, and
  • centers the cell text in the horizontal and vertical directions.

For every td element that is nested within a td element of the goldBox class, create a style rule that sets the background color to rgb(228, 199, 42).

For every td element that is nested within a td element of the greenBox class, create a style rule that sets the background color to rgb(203, 229, 130).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Try this code, hope this works for you.

jpf_sudoku.css:

/* Table Styles */

table.spuzzle {
border-collapse: collapse;
margin-top: 0px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
width: 90%;
}

table.spuzzle td {
border: 5px outset gray;
width: 33.3%;
}

table.spuzzle th {
font-color: gray;
padding-right: 10px;
padding-bottom: 10px;
}

/* Inner Table Styles */

table.subTable {
border-collapse: collapse;
width: 100%;
}

table.subTable td {
box-shadow: 0px 0px 15px inset;
border: 1px solid black;
color: blue;
height: 40px;
text-align: center;
vertical-align: middle;
}

td.goldBox td {
background-color: rgb(228, 199, 42);
}

td.greenBox td {
background-color: rgb(203, 229, 130);
}

Add a comment
Know the answer?
Add Answer to:
Can you please assist me with this HTML? Below is what I have but it isn't...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Does my css style sheet look okay? /* Author:       Your Name --> Natasha Strange /*...

    Does my css style sheet look okay? /* Author:       Your Name --> Natasha Strange /* Date:           Today's Date --> September 22, 2019 /* Description:   Lab Number --> Lab04 /*doctype css*/ @import url(fonts/chuckfive.css); @import url(fonts/merriweather.css); body    { background-color: rgb(199,201,191);        } div { border: 1px solid black;        padding: 100px 100px 100px 100px;        background-color: gray; } nav { text-align: center;    color: rgb( 7,20,138); } header, footer   { background-color: rgb(199,201,199);        color:...

  • Need help starting from question 9. I have tried multiple codes but the program says it is incorrect. Case Problem 1 Da...

    Need help starting from question 9. I have tried multiple codes but the program says it is incorrect. Case Problem 1 Data Files needed for this Case Problem: mi pricing_txt.html, mi_tables_txt.css, 2 CSS files, 3 PNG files, 1 TXT file, 1 TTF file, 1 WOFF file 0 Marlin Internet Luis Amador manages the website for Marlin Internet, an Internet service provider located in Crystal River, Florida. You have recently been hired to assist in the redesign of the company's website....

  • Apply the following styles: Set the width of the body element to 1000 pixels. Set the...

    Apply the following styles: Set the width of the body element to 1000 pixels. Set the width of the navigation element to 100%. Adjust the css and html to have your navigation list display horizontally (think floats and widths). Center the navigation element by setting the margin to auto. Clear the float for the section element. Set the width of all articles to 75%. Add a class to the articles that contains your favorite websites. Set the width of that...

  • A sphere of radius 𝑅=0.320 mR=0.320 m and uniform charge density −151 nC/m

    A sphere of radius 𝑅=0.320 mand uniform charge density  −151 nC/m3lies at the center of a spherical, conducting shell of inner and outer radii 3.50 R and 4.00 R, 3 respectively. If the conducting shell carries a total charge of 𝑄=40.5 nC, find the magnitude of the electric field at the given radial distances from the center of the charge distribution.𝑄=40.5 nC, find the magnitude of the electric field at the given radial distances from the center of the charge ...

  • Let 𝑉 be the vector space of symmetric 2×2 matrices and 𝑊 be the subspace 𝑊=span{[4−5−50],[−2−5−51]}. a. Find a nonzero element 𝑋 in 𝑊.

     Let 𝑉V be the vector space of symmetric 2×22×2 matrices and 𝑊W be the subspace𝑊=span{[4−5−50],[−2−5−51]}.a. Find a nonzero element 𝑋X in 𝑊W.

  • Joints

    For the structure shown, determine the horizontal and vertical components of force that pin B� exerts on the structure and that pin D� exerts on the structure.Let the force and lengths be F=800lb�=800��, L1=2.5ft�1=2.5��, L2=1.2ft�2=1.2��, L3=2.5ft�3=2.5��, L4=2.1ft�4=2.1�� and L5=3.6ft�5=3.6��.Note that the orange ring at E is not a support. It is an element that forms part of the rigid body ECD. Only one force acts at point E, force F�.The horizontal component of force at pin B� (Bx��) is  lb...

  • You will use your text editor to create a table and apply table styles. First, you...

    You will use your text editor to create a table and apply table styles. First, you insert a table element. Next, you add a table caption, table rows, table headers, and table data. Then, you create style rules to format the table. Work with the apply08.html file and the applystyles08.css file. You will also use professional web development practices to indent, space, comment, and validate your code. 3. In the apply08.html file, add a table element within the main element....

  • Find % between two z scores

    About % of the area under the curve of the standard normal distribution is between z=−1.4z=-1.4 and z=1.4z=1.4 (or within 1.4 standard deviations of the mean).

  • Identify which potential energy functions 𝑈 cannot be a potential energy function of a simple harmonic oscillator.

    Identify which potential energy functions 𝑈 cannot be a potential energy function of a simple harmonic oscillator.

  • Navigation List Styles Go to the Navigation List Styles section. Format the hypertext links in the...

    Navigation List Styles Go to the Navigation List Styles section. Format the hypertext links in the body header by adding a style rule for the body >header a that adds a 5-pixel outset border with color value rgb(211, 211, 255) Section Left Styles Next, format the appearance of the article title. Go to the Section Left Styles section and create a style rule for the h1 heading in the left section article that changes the text color to rgb(211, 211,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT