hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Noobie question about dreamweaver (tables)
Reply

Forum Jump

Noobie question about dreamweaver (tables)

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-01-2003, 03:07 PM
matrixrok9 matrixrok9 is offline
New Member
 
Join Date: Oct 2003
Posts: 1

Noobie question about dreamweaver (tables)


I'm trying to design a website using tables. The "height" on some of the tables won't change even though I typed in a number. Let's say the table is "10" and I change it to "5", it still stays on 10. I tried on clicking all of the cells on the same column and still no go (this worked for the width when I clicked on the whole row) Does anybody know the solution to this? Thank you.

Reply With Quote


Sponsored Links
  #2  
Old 10-01-2003, 04:46 PM
TheOtherOne TheOtherOne is offline
WHT Addict
 
Join Date: Nov 2002
Location: U.K.
Posts: 107
Is there anything in the table?
Have you tried changing the value in the HTML itself?

__________________
Web: www.explosivefx.com | Mail: me[at]nemelization.com | AIM: Nemeliza | MSN: me[at]nemelization.com

Reply With Quote
  #3  
Old 10-01-2003, 05:09 PM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
The height in <table> is not a valid HTML attribute therefore don't use it.

Use CSS instead.

Reply With Quote
Sponsored Links
  #4  
Old 10-01-2003, 10:02 PM
shredder shredder is offline
Disabled
 
Join Date: Oct 2003
Posts: 17
The table has no data to relate it's size to. Try adding something in with the table. That way the table size can be compared to something and change it's size. Good luck and don't use dreamweaver!! Use HTML.

Reply With Quote
  #5  
Old 10-01-2003, 10:20 PM
FleZ FleZ is offline
Junior Guru Wannabe
 
Join Date: May 2002
Location: Mtl, Quebec
Posts: 97
Dreamweaver is kinda stupid in that case, it always add some blank text:
Code:
&nbsp;
in each cell(that code is simply a space), so if you resize the height to a smaller height, it won't be able to since there's some "text" in it. Simply open the html editor of DW and remove these things.

Reply With Quote
  #6  
Old 10-02-2003, 05:07 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
height is NOT a valid attribute to <table> don't use it!

Reply With Quote
  #7  
Old 10-02-2003, 07:29 AM
rrdega rrdega is offline
Web Hosting Master
 
Join Date: May 2003
Location: Heartland, USA
Posts: 733
Quote:
Originally posted by Rich2k
height is NOT a valid attribute to <table> don't use it!
Hmmm... Deja Vu? Seems I saw that before...

Rich is right, HEIGHT is not a valid attribute of <table>... A table's height is the sum of the height of each of its rows. The height of each row is dictacted by the heighest cell within that respective row.

But if you're fighting with the use of tables, and getting the layout you desire, why not take up the battle with CSS instead, and break that learning curve, as its the direction of the future anyway, eh?

__________________
You've got to accentuate the positive; Eliminate the negative
Latch on to the affirmative; Don't mess with Mister In-Between

-Bob


Reply With Quote
  #8  
Old 10-02-2003, 09:51 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
I know I said it earlier, no one listened so I thought I'd say it again for good measure.

If you want to write standards compliant code that will work on all user-agents make sure you don't use non-existant attributes.

Note the height attribute of a <table> tag isn't even deprecated... it simply doesn't exist in the standard.

Reply With Quote
  #9  
Old 10-02-2003, 05:18 PM
FleZ FleZ is offline
Junior Guru Wannabe
 
Join Date: May 2002
Location: Mtl, Quebec
Posts: 97
Well, if you don't want to use the height tag or CSS, use a spacer image...

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Announcing the WHD.global VIP Pass Winner! Blog 2014-03-27 16:00:39
UK Tech Blog Challenges CloudFlare, Web Hosts on Free Speech Blog 2013-08-12 10:32:52
Jelastic Launches Version 1.9.1 of Java and PHP Hosting Platform Web Hosting News 2013-05-21 09:39:09
The Value of Your Intellectual Property Blog 2013-05-06 17:43:13
Joomla Hosting Study Shows Speed, Uptime Top Selling Points of a Web Host Web Hosting News 2012-11-07 15:06:36


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?