SunQuest
 
           Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old June 9th, 2006, 09:54 AM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
That huge space between form tags

OK, as the title suggests, there is an fixed space around <form tags and so if you have a whole list of them, there seems to be no way of squeezing them more together to reduce space, or is there? In Dreamweaver, you can see this as a feint red line. To overcome this, would you have to fit each one inside it's own <TD tag? or is there a neater way by using a style option along the form line?
thanks

Reply With Quote
  #2  
Old June 9th, 2006, 11:31 AM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 536 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 1 h 11 m
Reputation Power: 3
spacing

You shouldn't be using tables to structure layout. Doing so will introduce all kinds of cross-browser cross-version issues.
Anyway, you have 2 things adding space. Try using CSS. Either inline like style="margin: 0" for the form tags and style="padding: 0" for the td tags. Or in the CSS head section or better yet, externally referenced file
form { margin: 0; }
td { padding: 0; }

Reply With Quote
  #3  
Old June 9th, 2006, 12:31 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
Thanks Mittineague
The inline style="margin: 0" in the form tag did the trick for me, but will try the externally referenced ccs. This will solve many huge problems that exist on my site. However, I can't help be concerned about your words "You shouldn't be using tables to structure layout".
I used Dreamweaver to build the site and actively offers this way of structuring the pages. I have 50 -70 pages which use this kind of structure (I think). Is this all about using XHTML?

Reply With Quote
  #4  
Old June 15th, 2006, 12:49 PM
ladams02 ladams02 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 1 ladams02 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 8 sec
Reputation Power: 0
CSS is the standard for constructing layout. Tables were never meant to be used the way we've all been using them. There's nothing wrong with using them, other than the fact that it isn't the standard. It all comes down to user preference. I've just started designing layouts with CSS and I am starting to prefer this method over tables, in both usage and to conform with W3C standards.

Reply With Quote
  #5  
Old June 15th, 2006, 03:03 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
SnapCracker, XHTML's a start. As ladams02 has advised, tables are an older state of mind. Modern web designers have adapted to "tableless" designs, where the layout is based on CSS and semantic HTML.

There are a few really good books you could buy to read up on it, Dan Cederholm's first book is excellent and Andy Budd's recent book called CSS Mastery seems to hit the spot, in fact the sample chapter (found here) may answer some of your questions.
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #6  
Old June 15th, 2006, 03:50 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
I have started to read "A Brain-Friendy Guide to HTML & CSS" by Elisabeth Freeman & Eric Freeman (could be related!) just because I was buying books from Amazon anyway. I also bought Javascript for web developers Nicholas C.Zakas which I have not got into yet but looks brilliant.

Reply With Quote
  #8  
Old June 16th, 2006, 11:15 AM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 536 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 1 h 11 m
Reputation Power: 3
Dreamweaver

I don't use Dreamweaver (too much $ and I actually prefer writing in Notepad), but I have skimmed this article http://www.sitepoint.com/article/dreamweaver-8-standards and it seems you can use Dreamweaver and have clean mark-up. Also, I haven't read the book or the free sample chapters, but you could check out http://www.sitepoint.com/books/dreamweaver1/?nocache=1806037741 (at least the free chapters)

Last edited by Mittineague : June 16th, 2006 at 11:26 AM.

Reply With Quote
  #9  
Old June 16th, 2006, 09:55 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
yes, dreamweaver has advanced and made attempts to comply with the standards, I imagine it still requires a certain amount of "divine intervention", so keep any eye on the code while you're using any WYSIWYG editor. You'll never get as much full control as you would with a text editor.

Reply With Quote
  #10  
Old June 17th, 2006, 03:46 AM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
This talk about Dreamweaver has made me very suspicious of it's text editor regarding an earlier post relating to changing the .htaccess file on my hosting 1&1 apache server. If edited the file using DW and FTP'd the file, the new code would not work which made me work on the syntax of the code for ages, assuming that DW was doing nothing wrong. Eventually, 1&1 technical support ('technical' in the loosest terms!) changed the file for me using my code and it worked. Maybe I could try a text editor and a FTP client like Captain FTP for Mac (I had it free trial for ages as I only put my Mac on sleep!). BTW Mittineague, there are cheaper ways of getting DW, I bought a few of their products on eBay (I'm not taking about the $10 copies) and I have no doubt that they have genuine software keys. Thanks Kravvitz, I'll take a look those articles.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > That huge space between form tags


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway