Ok so, I've got everything how I want it and I set the table widths, but sometimes on the design view there not the value which I have selected and say for example I add text and the text goes on longer that the width (which it should), instead of dropping down a line so it stays in the area it makes the table longer, which i know isnt right. Basically, how do you lock cell widths (and hights, but that not a problem.) hope thats easy to understand and I look faward to the replies. - Andy
I did it in code 1st, I said it then messes up in the design view... as it does in preview, as it does live. thats not helpfull at all.
No, you didn't, you just said it didn't work in design view. No mention of you using the "code mode". If it is messing up live (in a web browser) than it's a problem with your markup. The only way you can be helped is to post it so someone can point out whats wrong.
Yes i did say it messed up in design view.. not i did it in there. i can see how you got your posts with your useless comments.
Hey man, I'm not the one who doesn't know what they are doing here If you has simply posted the code, I'd show you. You didn't, so go shove it
how do you lock cell widths? that is the only question. you dont need any code if you know the answer to that.. none at all. and why are you replieing here.. unless you want to help can you please not. thanks. and as for not knowing what im doing. thats the whole point of the thread. its what this forum is for i thought. helping people who dont know what they are doing. am i wrong??
It's not as simple as "how do you look cell widths"? Are you using HTML? XHTML? A Stylesheet? Strict or Transitional Doctype? These are all factors which influence the answer. So stop being a smart ass, and post your god damn code if you want help. That way someone doesn't have to write 50 answers for all the possible situations. <td width="20"> td {width:20px}
The title says HTML Tables mate. So I guess the answer is HTML. Anyway ill throw the code on, but i wasnt impressed with your answers thats why I was reluctant. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <table border="1" width="800" id="table1"> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </body> </html> That is the Code for a HTML table as stated in the title. You know I dont think it's possabe anyway i think you have to hit enter or split the cells. Please do correct me if im wrong.
There are different versions of HTML. When doing an email template, I use 3.2 Here is the code. CSS is the valid way in HTML 4 to set widths, though width still works: www.matthewrochow.com/tables/index.html
Look what happens when we are BOTH nice to each other. Cheers buddy. I havnt a clue in css and my site is built in it. if i want something changing i find the right part of the code and mess with the values. it seems to work! lol. thanks again.
That's why I wanted clarification, so I'm not rattling off all this css stuff if just width="200" will suffice. If people are using design mode, it's generally correct to assume they don't know much about html. Seriously though, you should learn how to do everything through the code, design mode in any of the WYSIWYG programs are shocking. Also, make sure you start the page with a valid doctype, and <html> (the first thing you have in the code you posted was <head>) because it throws browsers off if they are missing, and they don't display things properly.
Haha, that was just a random table i made to show you. but the guy i work with is learning code and css, Learning being the keyword