Click to See Complete Forum and Search --> : looks different in ie and mozilla


keko2005
04-11-2005, 11:27 AM
hey guys, im just messing around with a website, trying to learn php and css a little better, but i noticed a problem that i cant seem to fix. in ie, it doesnt read my bold or the padding from my css source, but in mozilla it does. heres the link to my website(its just a test site), the css source i just wrote on the top of the page so u guys can view it if you want along with the html code, pay no mind to the spelling, it was done late at night.

thnks

http://www.ultratechs.net/protected.php

Jona
04-11-2005, 11:34 AM
Try...


* html td.utTEXT {
padding-bottom: 45px;
}

* html div.middle {
top: 71px;
}


On a side note, you really ought to use CSS exclusively for your layout, and drop the tables altogether. They take up lots of disk space and bandwidth when you compare them to CSS, and they're difficult to manage. Moreover, they're bad from an accessibility (for disabled people) standpoint.

keko2005
04-11-2005, 12:44 PM
so how should i set the styles of the tables without using css?
something liek this <td style="background-color:#000000"> like that?

Jona
04-11-2005, 12:46 PM
What? I think you misunderstood me. I wasn't suggesting you drop the CSS, rather I was referring to the tables. You shouldn't be using tables for your layout. You should be using CSS.

keko2005
04-11-2005, 01:32 PM
lol, im a noobie, so maybe you can elaberate on that or link me to a website
not quit sure what u mean

Jona
04-11-2005, 01:42 PM
What I mean is...

Tables for layout is stupid (http://www.hotdesign.com/seybold/) because we should use CSS (http://www.westciv.com/style_master/academy/css_tutorial/introduction/key_ideas.html) for our layouts (http://www.glish.com/css/). (Yes (http://webhost.bridgew.edu/etribou/layouts/), all (http://www.thenoodleincident.com/tutorials/box_lesson/boxes.html) of (http://www.maxdesign.com.au/presentation/page_layouts/index.cfm) them (http://bluerobot.com/).) By (http://www.w3.org/Style/CSS/) learning (http://www.w3schools.com/css/default.asp) CSS (http://www.htmldog.com/guides/cssbeginner/), you (http://www.w3csites.com/) can (http://www.unmatchedstyle.com/) make (http://www.csszengarden.com/) great (http://www.cssvault.com/) designs (http://www.cssbeauty.com/) and still be (http://www.w3.org/TR/WAI-WEBCONTENT/) accessible (http://www.section508.gov/) -- something you can't do with tables.

keko2005
04-11-2005, 01:56 PM
now we are on the same page. thanks a lot man

Jona
04-11-2005, 02:20 PM
Happy to help.