The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> CSS Help
|
CSS is good in IE, but useless in NS6,Help.
Discuss CSS is good in IE, but useless in NS6,Help. in the CSS Help forum on Dev Shed. CSS is good in IE, but useless in NS6,Help. Cascading Style Sheets (CSS) forum discussing all levels of CSS, including CSS1, CSS2 and CSS Positioning. CSS provides a robust way of applying standardized design concepts to your web pages.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 16th, 2001, 07:03 PM
|
|
Junior Member
|
|
Join Date: Mar 2001
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Ive used a simple stylesheet on my website and while it works fine in Internet Explorer it refuses to work in Netscape 6.It is a very simple stylesheet to control the font layout and reads as follows:-
<style type="text/css">
<!---
p { color: silver; font-size: 14pt; margin-left: 50px; margin-right: 50px; text-align: left }
h4 { color: yellow; font-size: 14pt; margin-left: 50px; margin-right: 50px; text-align: center }
h5 { color: yellow; font-size: 20pt; margin-left: 50px; margin-right: 50px; text-align: center }
h6 { color: yellow; font-size: 18pt; margin-left: 50px; margin-right: 50px; text-align: left }
--->
</style>
Can anyone tell me why I should have this problem and how I can sort it out.
|

March 17th, 2001, 03:00 AM
|
|
|
|
Could you provide a URL so we can see it in context?
__________________
 Michael
|

March 20th, 2001, 12:43 PM
|
|
Member
|
|
Join Date: Feb 2001
Location: Salt Lake City, Utah
Posts: 48
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
|
test page looks fine...
i posted a simple test page using your style sheet at http://webdev.readytek.com/jason/test/asdf.html , and it works like a charm...it's probably the coding of your html, some little thing that you look over a hundred times and just don't see (god, i hate that!). if you post a test page, we could look over the code for you...sometimes fresh eyes can see things tired ones can't. also, i'd include the semicolon to close out the individual styles...
hth...
jason ;)
[Edited by id_machine on 03-20-2001 at 11:58 AM]
__________________
--there's a madness to my method.--
www.theartofsynapse.com
|

March 20th, 2001, 02:06 PM
|
|
|
|
Have you tried referencing it as an external stylesheet using <link>?
|

March 22nd, 2001, 02:43 PM
|
|
Junior Member
|
|
Join Date: Mar 2001
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
browser conflicts
I have now resolved the above issue, only to run into a new one.I have added BODY properties to the stylesheet as well as linking the stylesheet.Mostly it works well but I find that the background image will not show in Netscape 6.I'm sure the code is O.K.Can you tell me why?Thanks for the help with the previous problem.Its nice to have somewhere to turn.Kind Regards, Dave.
|

March 27th, 2001, 05:35 AM
|
|
Junior Member
|
|
Join Date: Mar 2001
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Can u pls elaborate on your problem?
Where are u using background images- in td or tr tags?
Pls send the details.
|

March 27th, 2001, 08:23 AM
|
|
|
|
Actually, it might be the code
If you could post a copy of the code, when you have a question, you'll save everyone a lot of time.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|