![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm having trouble with the padding and margin properties. IE tends to be happier with the padding and Netscape with the margin property. So I tried this: link href="netscape-styles.css" rel="stylesheet" type="text/css" style type="text/css" @import url(ie-styles.css); /style But it doesn't work. It actually makes both browsers display things the same but it's still wrong. Any thoughts? @import works in both browsers. Only NN4 (but that is an old one, won't |
#3
| |||
| |||
|
|
I'm having trouble with the padding and margin properties. IE tends to be happier with the padding and Netscape with the margin property. |
|
So I tried this: link href="netscape-styles.css" rel="stylesheet" type="text/css" style type="text/css" @import url(ie-styles.css); /style But it doesn't work. |
|
It actually makes both browsers display things the same but it's still wrong. Any thoughts? |
#4
| |||
| |||
|
|
You'd better post your page with the question concerning the padding/margin in case of using such a work around. |
#5
| |||
| |||
|
|
"Toronto Web Designer" <torontowebdesigner (AT) yahoo (DOT) ca.invalid> wrote: I'm having trouble with the padding and margin properties. IE tends to be happier with the padding and Netscape with the margin property. Which versions of IE and Netscape? What are your exact problems? |
#6
| |||
| |||
|
|
Alo, "Roderik" <mail (AT) roderik (DOT) net> wrote in message news:40f89713$0$62387$5fc3050 (AT) dreader2 (DOT) news.tiscali.nl... (snip) You'd better post your page with the question concerning the padding/margin in case of using such a work around. Sample 2 is the intended presentation format but doesn't look good in Netscape. http://www.geocities.com/torontowebdesigner/sample2.htm without @import This page is not as intended in both Netscape of IE http://www.geocities.com/torontowebdesigner/ with @import The main problem is indents: the ol element and the third end note is indented to the right. The CSS validates. The HTML doesn't. If it has to do with the HTML then I want to know about it but if it doesn't, I already know that the HTML isn't valid on these pages. Well, the geocities generated html is crap, but when I put it without |
#7
| |||
| |||
|
|
"Steve Pugh" <steve (AT) pugh (DOT) net> wrote: "Toronto Web Designer" <torontowebdesigner (AT) yahoo (DOT) ca.invalid> wrote: I'm having trouble with the padding and margin properties. IE tends to be happier with the padding and Netscape with the margin property. Which versions of IE and Netscape? What are your exact problems? IE 6 and Netscape 7. The URL and problems are listed under Roderik's query... within the thread. |
#8
| |||
| |||
|
|
"Steve Pugh" <steve (AT) pugh (DOT) net> wrote: "Toronto Web Designer" <torontowebdesigner (AT) yahoo (DOT) ca.invalid> wrote: I'm having trouble with the padding and margin properties. IE tends to be happier with the padding and Netscape with the margin property. Which versions of IE and Netscape? What are your exact problems? IE 6 and Netscape 7. The URL and problems are listed under Roderik's query... within the thread. |
#9
| |||
| |||
|
|
Toronto Web Designer wrote: padding/margin in case of using such a work around. Sample 2 is the intended presentation format but doesn't look good in Netscape. http://www.geocities.com/torontowebdesigner/sample2.htm without @import The CSS validates. The HTML doesn't. If it has to do with the HTML then I want to know about it There's no way to know if the HTML is causing the problem or not until you fix it. That is always the first step. CSS is optional. HTML is the core of your page. I already know that the HTML isn't valid on these pages. If you knew that, you should have fixed it before asking here. Validate, then come back if you're still having problems. I fixed the HTML for him. He can't do it himself at geocities because |
#10
| |||
| |||
|
|
There's no way to know if the HTML is causing the problem or not until you fix it. ... I fixed the HTML for him. He can't do it himself at geocities because geocities servers add invalid html to your pages when serving them. |
![]() |
| Thread Tools | |
| Display Modes | |
| |