Jump to content

What I just learned about tables

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

What I just learned about tables Rate Topic: -----

#1 User is offline   BigMike Sidelka 

  • W.R. Sergeant
  • Group: Members
  • Posts: 241
  • Joined: 31-July 06
  • Gender:Male
  • Location:C-Town, Ohio

Posted 06 February 2007 - 04:11 PM

Heres something i didnt know about tables, you all being experts probably have known this for awhile.
before I learned this I had my own syntax i used.

Table attributes on one line
<Tab>All content
<Tab>for all the content in table
Table end attrib's

and if I had a table within

Table Attibs
<tab>content
<tab>New Table
<tab><tab>New Table Content
<tab>end new table
end table

if you dont get it, heres and example

<table><td><tr>
	 dfsjkghkfdghkdf
</table></td></tr>

<table><tr><td>
	 kdfhjlkfgjfdkgjld
	 <table><td><tr>
		  fkjdfkljsdlk
	 </td><td>
		  kdfhgkfg
	 </td></tr>
</td></tr></table>



apparently this is why my sites looked bad in Internet explorer
IE and firefox at times requires this syntax

<table>
	 <tr>
		  <td>
			   content</td>
		  </td>
	 </tr>
</table>


to be honest i like my way better, its more organized.
0

#2 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 06 February 2007 - 04:17 PM

Ha, that is giggle-able.

If you're going to learn something new, though, learn to write tables like this:
<div id="hooray">
...content...
</div>
:P
0

#3 User is offline   BigMike Sidelka 

  • W.R. Sergeant
  • Group: Members
  • Posts: 241
  • Joined: 31-July 06
  • Gender:Male
  • Location:C-Town, Ohio

Posted 06 February 2007 - 04:22 PM

View Postherkalees, on Feb 6 2007, 04:17 PM, said:

Ha, that is giggle-able.

If you're going to learn something new, though, learn to write tables like this:
<div id="hooray">
...content...
</div>
:P

i do a mix. cuz floats can be dificult when it comes to 4 or more columns
0

#4 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 06 February 2007 - 05:08 PM

View PostNewAge.Mike, on Feb 6 2007, 04:22 PM, said:

i do a mix. cuz floats can be dificult when it comes to 4 or more columns

No doubt about that, but I'm sure I, or someone else here, could whip you up a quick four column layout without tables. I'd be happy to if given decent notice and a few days to find the time.
0

#5 User is offline   BigMike Sidelka 

  • W.R. Sergeant
  • Group: Members
  • Posts: 241
  • Joined: 31-July 06
  • Gender:Male
  • Location:C-Town, Ohio

Posted 06 February 2007 - 05:11 PM

View Postherkalees, on Feb 6 2007, 05:08 PM, said:

No doubt about that, but I'm sure I, or someone else here, could whip you up a quick four column layout without tables. I'd be happy to if given decent notice and a few days to find the time.

i have a file somewhere that i have A-F in floats and put the order so I know. cant remember if I still have it.
0

#6 User is offline   James Mitchell 

  • Legendary
  • Group: Administrators
  • Posts: 922
  • Joined: 26-July 06
  • Gender:Male
  • Location:Fort Wayne, IN

Posted 07 February 2007 - 09:58 AM

This will help check it out: http://www.openwebde.../2514/fluidity/
Posted Image
0

#7 User is offline   TJSingleton 

  • Allegedly Legendary
  • Group: Members
  • Posts: 517
  • Joined: 31-July 06
  • Location:Winder, GA

Posted 07 February 2007 - 09:44 PM

Forget floats and use positioning!
0

#8 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 07 February 2007 - 11:20 PM

View PostTJSingleton, on Feb 7 2007, 09:44 PM, said:

Forget floats and use positioning!

Slightly off topic here, but I've never fully understood why some developers choose positioning over floats. I can see why position is preferred when there is an elaborate set of boxes all over the place (for example, the Harry Connick Jr. site I developed), but in the case of multi-column layouts, I have much better results (more predicatable and enjoyable, I should say) with floats.

I love to learn, so please do tell why you prefer positioning over floats ^_^
0

#9 User is offline   TJSingleton 

  • Allegedly Legendary
  • Group: Members
  • Posts: 517
  • Joined: 31-July 06
  • Location:Winder, GA

Posted 07 February 2007 - 11:49 PM

Floats are too fragile. I've seen italics break some layouts. They were not ever really intended for "layout". Your document order is tied to presentation. etc. etc.
0

#10 User is offline   Ryan Fait 

  • W.R. Sergeant
  • Group: Members
  • Posts: 204
  • Joined: 07-January 07
  • Location:Las Vegas

Posted 09 February 2007 - 07:40 AM

While I hate to see the position attribute thrown around, I must agree that they are much less tempermental than floats for anything other than straight-forward layouts.
The commercial front for my freelance web design company.
0

#11 User is offline   TJSingleton 

  • Allegedly Legendary
  • Group: Members
  • Posts: 517
  • Joined: 31-July 06
  • Location:Winder, GA

Posted 09 February 2007 - 08:23 AM

Why don't you like positioning?
0

#12 User is offline   James Mitchell 

  • Legendary
  • Group: Administrators
  • Posts: 922
  • Joined: 26-July 06
  • Gender:Male
  • Location:Fort Wayne, IN

Posted 09 February 2007 - 08:50 AM

Regarding the floats and positioning discussion it would be best to carry it on in the CSS Positioning vs Floating thread. I created it with a recap of the discussion already.
Posted Image
0

#13 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 09 February 2007 - 11:58 AM

View PostJPMitchell, on Feb 9 2007, 08:50 AM, said:

Regarding the floats and positioning discussion it would be best to carry it on in the CSS Positioning vs Floating thread. I created it with a recap of the discussion already.

Thanks James! We can get this particular thread back on topic, if there is more to ask/discuss.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users