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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 04-05-2009, 06:37 AM   #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
CAONE is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 04-05-2009, 04:11 PM   #2 (permalink)
Registered User
 
maretard's Avatar
 
Join Date: Dec 2007
Location: Georgia
Posts: 74
OS: Windows XP Home Edition, SP3

My System

Send a message via AIM to maretard Send a message via Skype™ to maretard
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">
Using CSS, you could simplify all that into:

HTML Code:
<td class="myclass1">
Here is an obvious problem I found:

<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.
maretard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 03:35 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85