Table VS css
- Started
- Last post
- 67 Responses
- imakedesign0
jevad did you know you site breaks in IE and if you veiw it in a IE Tab in firefox it crashes the browser.
- ********0
sorry it bothers you.
i'm only in here helping someone with their question.
- ********0
how can you guys stand working this way?
- canuck_II0
Giant image maps. Only way to go.
- jevad0
jevad did you know you site breaks in IE and if you veiw it in a IE Tab in firefox it crashes the browser.
imakedesign
(Feb 6 06, 09:24)yep!
- imakedesign0
jevad did you know you site breaks in IE and if you veiw it in a IE Tab in firefox it crashes the browser.
imakedesign
(Feb 6 06, 09:24)yep!
jevad
(Feb 6 06, 09:32)just checking!
- jevad0
thanks
- kinetic0
css and divs are cool...i've been using them a lot more lately and its nice and clean.
the only thing i hate is that the div is 100% if the browser...so if you have content that stretches past the browser, divs that you have that are 100% will disappear when you scroll down (because the content goes past the browser, and the divs stretch to 100% which is 100% of the browser window)
haven't quite figured that one out yet
- wedgehead0
css helps clean up code so web crawlers can find what the are looking for much faster. less code = better search results
- shaft0
i'm only in here helping someone with their question.
determinedmoth
(Feb 6 06, 09:25)
----Could you help me with mine please?
Actually, it's our unfinished thread continued:
me:
http://komercja.com/nt/blah.html…
you:
http://www.mauva.co.uk/!test.htm…Yours is halfway done.
I'm dropping the 'variable amount of menu elements' requirement now and will settle for percentage widths. I'd just ask you to center menu text in each. Sometimes it's a line, sometimes two as you see.
I really hope this can be achieved in css, ideally with reasonable level of code complication, as it's the simplest thing with tables.
- ********0
Tomorrow ok shaft?
- jakeyj0
text-align: center;
- shaft0
determinedmoth:
Take your time, I'd realy be happy to learn the solution.jakeyj:
Vertically, please.
- jakeyj0
it would be much easier to just have your titles on one line
- monNom0
css has many advantages over tables
• Easier to mantain larger sites
• Easier to work on when you have a team of people working on a site
• saves bandwith because you're not sending spacer gifs and other images for layout purposes
• separates style from content
• makes it accessible for people with disabilities
• your site doesn't go to crap if someone resizes the textetc. etc. etc.
jakeyj
(Feb 6 06, 08:52)I really have to disagree.
large sites are generally maintained via a CMS and use templates to format the data... the template doesn't care if it's tables ot divs, or just has empty spaces to fill.
space gifs are usually 1x1 px gifs that are resized to suite... that's 1 byte downloaded once and used multiple times by your browser... not a big hit.
you can still use CSS to style your text... pretty much any css site still has purposless divs wrapping the content to format it.
screenreadewrs have been able to read through tables for years... you don't think the software companies would just wait for table-free sites would you?
and lastly, with any complex layout, you're more likely to have it messed up by resizing text in CSS than you are with tables... at least with tables you keep a bit of a grid... CSS will reflow content in bizarre ways.
the fact of the matter is, buiding a site in all CSS is a pretty cool feat, but it's not a requirement for validation or usablity.
I recently saw a design come in here where the designer had labourously recreated a tabular listing of data using nothing by spans... the code was rediculous.
- imakedesign0
^ good points
- blaw0
gets easier to build with each project you complete, too.
- shaft0
it would be much easier to just have your titles on one line
jakeyj
(Feb 6 06, 12:20)
--------
Of course it would. But no cheating allowed, it's an exercise coming from a real life situation. The designer designed one/two lines, also the site is maintained by a CMS, so in the client can give 1 or 2 lines if he wants to.Actually the client can add/remove headings too, but this would be too much of a strain on the css ;)
- blaw0
shaft:
make the navigation a list:
http://www.alistapart.com/storie…
- shaft0
Thing is, tables were so popular for a reason: they were great for the job. They provided solid and elastic grid, the base for most layouts.
I'm all for standards, but I'm also very disappointed that some basic positioning features we used to take for granted (like vert. align or equal height columns) were taken away.
There are more annoying features of css that no designer would invent, ie:
- cancelling top/bottom margins of block elements
- box model with padding
values adding to the element's dimmensions (microsoft's IE5.0 version was more logical, but politically wrong)and so on..