Click to See Complete Forum and Search --> : tables to CSS


greenber
11-18-2004, 11:40 AM
I'm frustrated!

I need to convert a DreamWeaver Template, found at http://www.jewishtreasure.com/Templates/JT10.dwt, fulla tables, to CSS and I'm having no luck. Could somebody give me a hand?

Thanks!

Ross

DaveSW
11-18-2004, 01:37 PM
link doesn't work for me, even after I edited your comma to be outside the url tag.

greenber
11-18-2004, 02:32 PM
Argh! It's supposed to be measure twice, cut once! I posted without checking! Argh!

Here's the right URL, all checked to make sure it loads:
http://www.jewishtreasures.com/Templates/JT10.dwt

Ross

DaveSW
11-19-2004, 01:01 PM
looks like a fixed width center column.

so to get you started you need a single container div with all your content. Apply margin: 0 auto; to the div itself, and use text-align: center on the body element in order to get it to work in IE.

After that I can't see to easily what it's meant to look like, so maybe a screenshot?

greenber
11-19-2004, 04:45 PM
I'm brand new to CSS. The objective is to remove all tables, especially from the template. The web site I need to convert -- template crazy -- is http://www.jewishtreasures.com .

What is the CSS for creating a 2x2 "table" with the 1,1 cell empty but used as place holder; the 1,2 cell will be a header, the 2,1 is a navbar, and 2,2 is content.

Isn't there a tables-->CSS conversion utility for helping out yutzes lile me?

Ross

ray326
11-20-2004, 12:28 AM
Nope, there's no magic bullet.

Forget grid layout. You're describing three divs; heading, navigation and content. That's pretty trivial. Go to the Layout-o-matic (http://www.inknoise.com/experimental/layoutomatic.php), get some raw material to play with and start fiddling.

greenber
11-20-2004, 07:51 AM
Fiddling Away! Thanks!
Ross

ray326
11-20-2004, 02:39 PM
Another hint. Don't use IE as your primary preview. Use Firefox for development then tweak if necessary for IE.

greenber
11-20-2004, 03:51 PM
Why Firefox and no IE?

Exuro
11-20-2004, 05:32 PM
Originally posted by greenber
Why Firefox and no IE?
Internet Explorer doesn't correctly interperet CSS, so there are many things you can accidently do in IE that won't render correctly in CSS-privy browsers such as Mozilla and Opera. However, if you get the page it work correctly in Firefox more than likely it will look correct in IE as well, with maybe the need of a couple tweaks.