Nov 8, 2009

Table Issues - It Just Isn't Working

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Table Issues - It Just Isn't Working

Sten
hey everyone!

i know i would usually be able to fix this but... its stumped me.
My table just isnt working.

Could someone help me, make some changes?

CODE
<table width="489" border="1">
<tr width="498">
<td width="249">
test
</td>
<td width="249">
test
</td>
</tr>
<tr width="498">
<td width="498">
test
</td>
</tr>
<tr width="498">
<td width="249">
test
</td>
<td width="249">
test
</td>
</tr>
</table>


just copy it into an HTML document and have a look.

What I want is the middle TR to go all the way along, not just what it is doing. It only aligns with the other, but I dont want that.
I cant believe i cant fix this but... looks like i cant.

anyway, any help? just change it so it works properly!

 

 

 


Comment/Reply (w/o sign-up)

dserban
CODE
<table width="489" border="1">
<tr width="498">
<td width="249">test</td>
<td width="249">test</td>
</tr>
<tr width="498">
<td width="498" colspan="2">test</td>
</tr>
<tr width="498">
<td width="249">test</td>
<td width="249">test</td>
</tr>
</table>

Comment/Reply (w/o sign-up)

dserban
Be careful about extra line-feeds between your <td> and </td> tags. They produce unpredictable results. That's why I removed them from your example.

Comment/Reply (w/o sign-up)

FirefoxRocks
Also, you only need to specify the width of the first cell in each column. That will save a lot of typing, space and bandwidth. The table is already 489 pixels wide, so the browser assumes the rows are also, no need to specify that. By doing that, you can have unpredictable results (also, you made a typo). So therefore, you can try this:
HTML
<table width="489" border="1">
<tr>
<td width="249">test</td>
<td width="249">test</td>
</tr>
<tr>
<td colspan="2">test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
</tr>
</table>


Notice that even the middle cell didn't need the width specified because it spans across cells which already have the width specified, it uses those measurements. Adding extra lines breaks can confuse you, so avoid them if possible.

 

 

 


Comment/Reply (w/o sign-up)

Sten
Oh ok!

ill try that.

ok, everything is fine now!

thanks for your help!

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : table, issues, isnt, working

  1. Localserver Issues - Cant Chmod 777 On Some Folder
    i can't make some folders CHMOD 777 (2)
  2. Web Advertising: Pop-ups
    Is it *really* working? (12)
    I was just wondering how effective all those pop-ups really are . I know that I personally hate
    them with a passion, and I try not to even look at them because I don't want to encourage the
    pop-up makers. Also the place where I'm working has hinted that they'd like me to make
    pop-ups for their site, and I just don't think it can bring any good. I mean, it just
    doesn't reflect well on a business if they have pop-ups, that's my opinion. I know
    there're some really good ones out there, but they're still annoying. But maybe I'm
    totall....
  3. Compatibility Issues
    php, xhtml, css and the like... (3)
    I'm a big fan of being absolutely compatible, I still design my sites so you can view them at
    640x480 screen resolution (and get laughed at because of so), and since I've been on the board
    for some time I find that my coding ideals are somewhat outdated. I still have the impression not
    all browsers can read CSS, so I still design my pages with html tables and even though I have an
    external CSS stylesheet, I still use tags like , that basically repeat my CSS, but ensure that
    browsers without CSS can see my website. Problem is, am I doing something really stupid?....
  4. WORKING OUT PROBLEMS
    everybody should help..... (1)
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> hello... i
    got a problem... i used flash, dreamweaver, photoshop, fireworks and of course..html with php
    scripting....... the problem is that the .swf files don't load properly. i changed the paths and
    permissions and the website is still working umproperly... DOES ANYBODY KNOW HOW CAN I WORK IT OUT?
    my website.... still under construction... thanks greetings from MÉXICO........

    1. Looking for table, issues, isnt, working

See Also,

*SIMILAR VIDEOS*
Searching Video's for table, issues, isnt, working
advertisement



Table Issues - It Just Isn't Working

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com