![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2006
Posts: 85
OS: xp
|
Column widths
I have a site at http://www.gresfordathletic.co.uk/
I cannot get the column widths correct, they look fine in dreamweaver but when upladed there are gaps that should not be there Thanks for your anticipated help |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
|
Re: Column widths
Is there any particular reason you feel the need to nest tables inside of table cells? You're very likely to run into issues that way, since browsers will insert spacing and screw lots of things up. Also, I'd recommend using CSS to organize your page, as you've got *way* too much hardcoded percentage/width/pixel stuff in there, changing your style is going to be utter hell if you have more than one page.
In general, your code just needs to be cleaned up; I see quite a few unclosed <tr> tags, and the general spacing and organization doesn't contribute to neatness. When I say CSS, this is what I mean. In your code, I see bajillions of lines like this: HTML Code:
<td bgcolor="#C6C6FF" style="border-left:1px solid #FF0000; border-right:1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium; " height="20">
HTML Code:
<td class="myclass1">
<TD class=smaller vAlign=top bgColor=#efecec>< table width="107%" height="162" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" id="AutoNumber23" style="border-collapse: collapse; border-top-width: 0"> Obviously, if you have a table nested inside a table, you don't want to set its width greater than 100% of its parent table - that will stretch the parent table to fit the child. If you generated your code with Dreamweaver, I'd advise going through, cleaning it up, implementing CSS, and making it your own. I'm surprised Dreamweaver would output code this sloppy. Anyway, if this is indeed generated code, I think it should serve as an example as to why WYSIWYG editors are so unreliable. They can display a perfectly fine site, and output a mess.
__________________
I'm ridin' dirty. Oh baby, I'm yellow and nerdy. Last edited by maretard; 04-05-2009 at 04:13 PM. |
|
|
|
![]() |
| Thread Tools | |
|
|