XHTML and CSS trouble
- Started
- Last post
- 27 Responses
- upDog
Has XHTML made the table obsolete? I started on my portfolio site and decided to finally convert ot XHTML, but its been more difficult that I thought. Heres the extreme beginnings of my portfolio: http://24.118.198.211/portfolio/…
The images will probably take a long time to load, so just hit stop. Check my source code and give me an idea of how I can change it to get away from using tables. Thanks in advance.
- upDog0
and btw, Im not using those colors or that font or anything, Im just setting up the layout at this point, so don't knock the style. I also want to know why that div box that is set to scroll has a scroller on the bottom, even though it doesn't overflow horizontally at all. How do I fix that?
- atomica0
The idea behind using a table is for tabular data - that is of course if you're trying to be a standardizing purist. You're not using it in that manner though. It was never meant for layout and structuring, just information presentation thats media was a table-based chart. Code looks clean otherwise....
- jevad0
the whole point of using CSS and XHTML and designing to standards is to GET AWAY from table based layouts - you are defeating the purpose!
- upDog0
Jevad , thats exactly what Im talking about, xhtml making tables obsolete. Im having trouble understanding how to keep those element relationships without tables though. Should I just be nesting div tags?
- upDog0
hey, way to be dismissive jevad. I never thought of using google to answer questions. Only problem is, I kinda wanted to bring a discussion to newstoday. Thanks anyway though.
- xrusos0
those links on jevad's google post are ALL relavent. Check mezzoblue, and alistapart, and glish, and css zen garden.
- mrock0
just my .02 cents but it seems Xhtml and Css are starting to head that way. I 'm doing a site just using that I'll post it when it's up. I love it. No more table structure and thanks god Netscape 4+ is on it's way out...
- SF20
Can't really say much that hasn't been said... but yeah. Tables aren'y obselete, you just dont need them for layout when you have CSS and XHTML.
It's opens a whole new world of irritating browser rendering quirks though. Things are getting better though.
Read up and get into it though, its where its at.
- SF20
excuse the excessive use of 'though'... i gotta start reading over my stuff before i post it
- xrusos0
yeah, the last 3 or so sites i've done for our company have been "table-less" - with strong emphasis on css and standards. loving it.
my latest:
http://nebogroup.comit's standards compliant (with the exception of the flash component)
(and be sure to vote for it at http://may1reboot.com !)
- stewart0
and still css problems here http://nebogroup.com/
- SF20
That's some nice work xrusos, good to see you've got it standards compliant too.
I've got my biggest CSS/XHTML site i've done so far launching next thursday. I'm still finding bugs in certain browsers.
- stewart0
you have a beta online SF?
- SF20
its all behind the firewall at the moment. I'll probably chuck a link up here next week.
- xrusos0
thanks stewart. i haven't had time to figure out the mac ie issues. since it's such a small percentage of users, it is low priority right now. kind of like the netscape 4 users. ;)
- SF20
Mac IE gives me the most grief with CSS/XHTML.
You should check out the Safari problem you have though, it looks minor... probably take you a second to fix
- stewart0
let's all ignore mac IE users.
- mrock0
how do you make it standard compliant?
- gabriel_pc0
mrock, you follow the standards:
Redid my site a few months ago: