[thelist] CSS / IE question
erniegerdie at fastmail.fm
erniegerdie at fastmail.fm
Tue Mar 23 13:54:15 CST 2004
As you didn't post what exactly was wrong or on which version of IE your
using, I'm not sure whats not rendering properly.
Anyhow for starters I would suggest stripping down your css, look at the
code below:
.tab1, .tab2, .content2, .content1 { background: #eee; border: 1px solid
#006; }
.tab1 { background: #ccc; font-weight: bold; }
.tab2 { font-weight: bold; }
.content1 { border-top-width: 0px; }
.content2 { background: #fff; border-style: dotted; border-top-width:
0px; }
Notice its possible to use shorthand to define you border. Same goes for
"padding" and "margin"
Mike.
On Tue, 23 Mar 2004 11:35:09 -0800, "David Siedband" <david at calteg.org>
said:
> I have some styles that seem to not render as intended on some versions
> of IE/win.
>
> Any ideas on what's happening here and what I might do to correct this?
>
> thx
> --
> David
>
>
>
> .tab1 {
> background: #ccc;
> border: #006;
> border-style: solid;
> border-top-width: 1px;
> border-right-width: 1px;
> border-bottom-width: 1px;
> border-left-width: 1px;
> font-weight: bold;
> }
>
> .content1 {
> background: #eee;
> border: #006;
> border-style: solid;
> border-top-width: 0;
> border-right-width: 1px;
> border-bottom-width: 1px;
> border-left-width: 1px;
> }
>
> .tab2 {
> background: #eee;
> border: #006;
> border-style: solid;
> border-top-width: 1px;
> border-right-width: 1px;
> border-bottom-width: 1px;
> border-left-width: 1px;
> font-weight: bold;
> }
>
> .content2 {
> background: #fff;
> border: #006;
> border-style: dotted;
> border-top-width: 0;
> border-right-width: 1px;
> border-bottom-width: 1px;
> border-left-width: 1px;
> }
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are
More information about the thelist
mailing list