Jump to content

holmedwa04

Members
  • Posts

    743
  • Joined

  • Last visited

Posts posted by holmedwa04

  1. no, do you want it to?add margin:0px; that should take care of it.
    Well its just I want them bigger, because text is streaching the cells, and I dont want to have to change all of the height and width settings.
  2. Thanks, it works now, does that also get rid of any paragraph spacing that used to be there?Edit: Can I also make all cells in table 120 heigh and wide?

  3. No, I mean I have seen people changing what tag do, by setting them in their stylesheet, then when they use them it does what they want.So can I just make <h1> red and bold pt12 etc. and then when I want to have it just put:<h1>This should be red, bold, 12pt etc.

  4. Precisely. :)If you remember to change it as well as in your css as in you html. :)
    I have Just realised that I am already using a class for <td> to make the different grid, so can I change what <h1> is in my stylesheet and then just use <h1> when I want to display the answers?
  5. So, if I use this:

    td {text-align: center;}

    ...and what else to make text bold and red? I got a bit confused! :)Edit: Should I use this, if so what should I put around text I want to be red and bold?

    .jumpingtext { font-weight:bold; color:#ff0000; }

  6. Well, the first three tables in "xcell"'s is the top row..next three middle, next three bottom..In each xcell its the exact same way! So just go through and replace any   with a 1 or something.Shouldnt be too hard.
    Thanks, but I have already sussed that, I was just telling aspnetguy how I thought part of it worked.Thanks Anyway :)
  7. I have with much help from apsnetguy made a grid for a Sudoku game, now when showing the answers I would like to show them in bold and red....And the only way that I have thought of doing it without inserting font tags and bold tags is to use class' in CSS, but I only know how to do that with hyperlinks not normal text.So, can anyone help me?Edit: ...and lets add to that, make all test centered without repeating loads of codes? :)

  8. No, you set them all to be 1 thick, right?Then you use 4 stlyes to stop the border being on certain side, right?Is this because if you didn't then the inside the 3 x 3 grids, would have double thick lines?

  9. Right, I have now sussed why you have the 4 styles as well, but I didn't think you needed them if you did it this way. Anyway why are they all no border, does it stop them from being 2 thick hence only allowing them to be 1 thick?

  10. Yes my code only had 3. What I was asking why did you make 9? And why didn't you just use the code I gave you?
    Because I needed 9 different types of cells, so I tried to make 9, if you look on the picture the first 3 x 3 grid requires 9 different types of cells.
  11. I dont really get it, I have created 9 different classes and made the table but nothing shows, this is the code:In the head...

    <style>	#grid td{padding:5px border:1px}#grid td.1cell{border-right:1px;border-bottom:1px border-left:3px; border-top:3px}#grid td.2cell{border-right:1px;border-bottom:1px border-left:1px; border-top:3px}#grid td.3cell{border-right:3px;border-bottom:1px border-left:1px; border-top:3px}#grid td.4cell{border-right:1px;border-bottom:1px border-left:3px; border-top:1px}#grid td.5cell{border-right:1px;border-bottom:1px border-left:1px; border-top:1px}#grid td.6cell{border-right:3px;border-bottom:1px border-left:1px; border-top:1px}#grid td.7cell{border-right:1px;border-bottom:3px border-left:3px; border-top:1px}#grid td.8cell{border-right:1px;border-bottom:3px border-left:1px; border-top:1px}#grid td.9cell{border-right:3px;border-bottom:3px border-left:1px; border-top:1px}</style>

    In the body...

    <table id="grid" cellspacing="0" cellpadding="0" width="100">  <tr>	<td class="1cell"> </td>	<td class="2cell"> </td>	<td class="3cell"> </td>  </tr>  <tr>	<td class="4cell"> </td>	<td class="5cell"> </td>	<td class="6cell"> </td>  </tr>  <tr>	<td class="7cell"> </td>	<td class="8cell"> </td>	<td class="9cell"> </td>  </tr></table>

    But it doesn't work at all now.Please can somebody help me?

  12. you can make 50 different classes if you want....make as many as you need to get it to look right
    Can you make me two classes of borders please, and then show me the HTML code, then I can just add all of the others myself.PLLLLLLEEEEEEEEAAAAAAAAAASSSSSSEEEEE!!! :)
  13. Aspnetguy.. Im jealous! I reallly want to use Ubuntu... meh, I dont have my own computer though!I still think IE is the worst browser.. it always will be to!
    Why does everyone dis IE? I havent found any poblems with it, go on anyone, name some problems please?
  14. .borders { height:100%; width:100%; border-top:3px; border-bottom:4px; border-left:1px; border-right:2px;}Do you reckon that I could make 9 different classes of different styles, so that I could make the sudoku above?

  15. No, sorry that wont work, because it will always make the left border 1, right 2 and so on, unlless, I used different classes in the style sheet?It should look like this.

    Sudoku.png

  16. What do you mean customize? You can change the borders around, add a background image that sticks to one side, what are you trying to do?
    Well a sudoku is a 9 x 9 grid, and within that grid there are 9 3 x 3 grids, and I am trying to create on on the PC in HTML.So I need to be able to have a thicker border on some edges.Can I use a code like this, or does this not exist?<table><tr><td left border="1" right border="2" top border="3" bottom border="4"Hi</td></tr></table>
×
×
  • Create New...