Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8626553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:03:30+00:00 2026-06-12T08:03:30+00:00

I am trying to create a calendar with html and trying to set the

  • 0

I am trying to create a calendar with html and trying to set the width and height of each cell to 100. For this I tried using style tag as below. But for some reason, the height and width of each cell does not change. But instead of specifying the attributes in style tag, if I try to modify the individual cells with width/height attribute it works. Please help.

<html>
<head>
    <style type="text/css">
    td {color:green; width:100; height:100}
    th {width:100}
    </style>
</head>
<body>
<table border="2">
 <caption> October 2012 Calendar</caption>
  <tr>
    <th> Sunday </th>
    <th> Monday </th>
    <th> Tuesday </th>
    <th> Wednesday </th>
    <th> Thursday </th>
    <th> Friday </th>
    <th> Saturday </th>
  </tr>
  <tr>
   <td bgcolor="grey"> &nbsp; </td>
   <td>1</td>
   <td>2</td>
   <td>3</td>
   <td background="../worldanimalday.jpg">4</td>
   <td>5</td>
   <td>6</td>
  </tr>
</table>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:03:35+00:00Added an answer on June 12, 2026 at 8:03 am

    …………………………………………………..

    Your css problem write correct css as like this

    Replace this css

    td {color:green; width:100; height:100;}
        th {width:100;}
    

    into this

    td {color:green; width:100px; height:100px;}
        th {width:100px;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create an HTML/CSS-based week calendar using CSS display:table-cell styling on the
I am trying to create a google calendar event using curl this is my
I'm trying to create a weekly calendar that looks like this: http://dhtmlx.com/docs/products/dhtmlxScheduler/sample_basic.html How can
I'm trying to create a calendar in an HTML table design with CSS element
I'm using Exchange web services, trying to create a calendar entry in another user's
I've been trying to create a simple calendar interface using a table, but I
I am trying to create a calendar view for events. Before my trials this
I am trying to create a calendar using the Gallery widget. I have a
I am trying to create a 7 day task calendar using PHP - The
I'm using a calendar table as a join table and trying to create a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.