Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 454 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Tables work just fine too

Thread title: Tables work just fine too
Closed Thread  
Page 4 of 4 < 1 2 3 4
    Thread tools Search this thread Display Modes  
01-22-2007, 02:10 AM
#31
Jeff Andersen is offline Jeff Andersen
Status: Superstar
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 4,449
iTrader: 10 / 100%
 

Jeff Andersen is on a distinguished road

  Old

Yes I know Julian, just wanted to get everyone else's views on it.

While the subject of hacks has come up, What do you all think of the usage of hacks to make things work correctly?

Personally I think that if you need a hack to complete a coding job then there must have been something done wrong that shouldn't be there in the first place. Anyone in the same boat?

01-22-2007, 08:00 AM
#32
Xi0s is offline Xi0s
Status: Sin Binner
Join date: Dec 2006
Location: Huddersfield, UK
Expertise:
Software:
 
Posts: 384
iTrader: 3 / 83%
 

Xi0s is on a distinguished road

Send a message via MSN to Xi0s

  Old

well no, .png hacks are simply to counter IE's dismal attempt at creating a browser .

01-22-2007, 01:32 PM
#33
jjmac is offline jjmac
jjmac's Avatar
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 197
iTrader: 0 / 0%
 

jjmac is on a distinguished road

  Old

Originally Posted by Julian
But we can even create tableless data tables now, so why code tables at all?
Because proper coding is about semantics, not a tableless "status".

A paragraph should have a p tag, an address should have the address tag, a list should use the list tag and tabular data should use a table.

Using div's to render tabular data is semantically as bad as laying out an entire page using a table.

01-22-2007, 03:41 PM
#34
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

About hacks, I've never EVER used one in my own coding (to my knowledge) and never had a problem with cross-browser capabilities. It's not hard to do.

01-22-2007, 04:20 PM
#35
jjmac is offline jjmac
jjmac's Avatar
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 197
iTrader: 0 / 0%
 

jjmac is on a distinguished road

  Old

I would have to see a definition of "hack". The term is used so broadly it practically has no meaning.

Some people consider a hack to be anything that is not semantically correct. In which case almost everyone hacks because 100% semantic pages are very rare (I don't even code them that way myself all the time, unfortunately).

Other people only consider it a hack if you can't write one style that works in all browsers. Unfortunately again, it's almost impossible to code this way without violating the semantic hack definition due to the fact IE does not support all w3c standards.

The bottom line is, if your page works in IE then chances are you've hacked by some definition or another.

01-22-2007, 04:25 PM
#36
Sulcalibur is offline Sulcalibur
Sulcalibur's Avatar
Status: I love this place
Join date: Jan 2005
Location: London
Expertise:
Software:
 
Posts: 608
iTrader: 4 / 100%
 

Sulcalibur is on a distinguished road

Send a message via MSN to Sulcalibur

  Old

I personally thinkthat the future is xHTML and CSS in a tableless code. I also think that people need to take into consideration different browsers, especially mobile ones which are becoming moreand more popular.

On the subject of "Div-Soup" I understand how people get into that area when starting out, and I think that it's acceptable in the beginner stages. But as a professional coder that is charging a high rate, they should really know what they are doing.

01-22-2007, 04:27 PM
#37
Sulcalibur is offline Sulcalibur
Sulcalibur's Avatar
Status: I love this place
Join date: Jan 2005
Location: London
Expertise:
Software:
 
Posts: 608
iTrader: 4 / 100%
 

Sulcalibur is on a distinguished road

Send a message via MSN to Sulcalibur

  Old

Originally Posted by jjmac
The bottom line is, if your page works in IE then chances are you've hacked by some definition or another.
Agreed. To get most designs working in all main browsers, 'hacks' are essential. I don't like the term hack anyway, it sounds dirty when if the pges are working fine and they validate I see it as a God send as the browsers are so conflicting it's unreal.

At least we have past the days of "IE users click here" "Netscpe users click here" "best view in 800x600 WOW! display" and all that crap.

01-22-2007, 04:34 PM
#38
jabberwocky is offline jabberwocky
jabberwocky's Avatar
Status: Member
Join date: Oct 2005
Location: Calgary, Alberta, Canada
Expertise:
Software:
 
Posts: 278
iTrader: 0 / 0%
 

jabberwocky is on a distinguished road

  Old

are hacks essential now? with conditional statments I thought you could work around that. I have used plenty of hacks before to force IE 5, 5.5, 6, etc to work but I have moved over to conditional statments now. Which creates an interesting problem, having 5 style sheets for 4 versions of IE and 1 for FF. Then I have a mobile and print style sheet...maybe I should make a Opera one as well...Damn, I think im getting out of control.

01-23-2007, 02:52 AM
#39
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

Originally Posted by jjmac
Because proper coding is about semantics, not a tableless "status".

A paragraph should have a p tag, an address should have the address tag, a list should use the list tag and tabular data should use a table.

Using div's to render tabular data is semantically as bad as laying out an entire page using a table.
I know Josh, I use tables for tabular data myself, I was just provoking some discussion on the matter

As for the use of hacks, if they have to be changed in the future, for sites to work in newer browsers, then don't use them. I use very minimal hacks, and only for older versions of IE (5.5, 5.01 etc). I do this by using alternative styesheets that are only called up by IE. I don't put them in with my other generic stylesheets. It might only be for little things like padding, fixing the box model in areas etc. One of the best ways to avoid the need for hacks is to use minimal images and be slightly relaxed in requiring pixel perfect layouts.

Closed Thread  
Page 4 of 4 < 1 2 3 4


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed