No CSS - Firefox/Netscape? (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


UCONN90 -> No CSS - Firefox/Netscape? (4/12/2005 9:07:52)

CSS newbie...did a one page prototype for a website which looks as I expect in IE. But in Firefox and Netscape my style.css file is being ignored.

What did I do wrong?

http://www.websbymegan.com/LoriGedon/

Thanks!
Megan






dpf -> RE: No CSS - Firefox/Netscape? (4/12/2005 9:29:26)

Megan: not sure what you are expecting that isnt there but you havea lot of font tags and in-line styles that would override the external style sheet. hope that helps. can you be more specific regarding what isnt showing as expected?




d a v e -> RE: No CSS - Firefox/Netscape? (4/12/2005 10:43:29)

strange- i got this error message
http://tinyurl.com/6p6yp




Donkey -> RE: No CSS - Firefox/Netscape? (4/12/2005 13:45:09)

I'm looking at it in FF and it looks OK to me. I can't find anything in your style sheet that's called for in the html and doesn't appear.

I think you are asking for trouble by mixing inline styles and depreciated html as well as the style sheet (which you are hardly using). I would suggest moving everything on to your style sheet and not using html for formatting. You can replace the inline styles used on your <td>'s by classes in your style sheet eg instead of
<TD style="border-bottom-style: solid; border-bottom-width: 1px; border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px" bordercolor="#EC6909" bordercolorlight="#EC6909" bordercolordark="#EC6909">


Put this in your css
.cell1{border: 1px solid #EC6909;}

And call the class in your table cells when required like this
<td class="cell1">Cell content here</td>






UCONN90 -> RE: No CSS - Firefox/Netscape? (4/12/2005 18:00:23)

Thank you all very much. Told you I was a newbie, and very dependent on formatting via FrontPage toolbars, etc.

This afternoon I had to override my CSS on my prototype so I could "fake it" to show my client just for now..I did this after you all looked at it.

I will take a look at all your suggestions and see if I can get better at CSS - obviously I have a lot to learn. I take it that you all don't use FP at all for formatting and are in the html code constantly? I'm such a WYSIWYG person that I'm resistent to that but will have to get used to it.

I might have questions later...thanks again for your time.

Megan




dpf -> RE: No CSS - Firefox/Netscape? (4/12/2005 18:16:05)

quote:

you all don't use FP at all for formatting and are in the html code constantly? I'm such a WYSIWYG person that I'm resistent to that but will have to get used to it.
while many of us have moved from FP to hand coding - many have not and there is no shame in using FP. there are plenty of FP bashers around but we wouldnt stay in this FP-based forum if we were amongst those. However, many people here dont use fp for their css. personally, i stopped at fp 2002 which didnt handle css well but fp 2004 (or whatever the latest is) may be better.




Avick -> RE: No CSS - Firefox/Netscape? (4/13/2005 6:03:59)

Once you start using HTML and CSS code you will never look back.
Sometimes you just can't get FP do to what you want so you twist its arm by changing the code. Its not long before it submits [;)]

If you are using FP2003 then you can view the code and the layout at the same time. great for jumping back and forward.




jaybee -> RE: No CSS - Firefox/Netscape? (4/13/2005 6:37:55)

quote:

so you twist its arm by changing the code. Its not long before it submits


Alan, what a brilliant way to put it. [:D]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375