PDA

View Full Version : Problem with css file updating ALL pages


Mad Mike
11-29-2010, 08:21 PM
I am using DWCS3....When I update my .css file to the server it does not update all the html pages. Its strange that some of the pages I created more recently update just fine, but the older pages wont update....any ideas?

DWcourse
11-29-2010, 08:37 PM
url please? And tell us which pages update and which don't.

Mad Mike
11-29-2010, 10:04 PM
The url is: http://www.educatorworksheets.com/. This page updates each time I change the .css file.

Some of problem pages include: http://www.educatorworksheets.com/Mathematics/mathematics.html
[/URL]
[URL]http://www.educatorworksheets.com/Social%20Studies/socialStudies.html (http://www.educatorworksheets.com/English%20Language%20Arts/languageArts.html)

You can see the the difference in the placement of the arrows and the line spacing of the links.

Thanks for the help!

DWcourse
11-29-2010, 10:28 PM
The only difference I see is the top-margin is not displaying above the ol on http://www.educatorworksheets.com/Mathematics/mathematics.html, which is probably a browser quirk. I'd explicitly set a margin for the ol tag and see if that make the pages display correctly.

And remember you may need to refresh your browser view to make sure you're seeing the current version of the page.

Mad Mike
11-30-2010, 03:49 AM
I downloaded Firefox and Chrome in addition to IE to see if my pages displayed differently from one browesr to another...IE is the only browser that displays my <ol> differently from page to page. Firefox and Chrome display my <ol> just fne but wont display my SPRY menus....any suggestions?

edbr
11-30-2010, 04:40 AM
its showing for me in FF

DWcourse
11-30-2010, 05:01 AM
In your horizontal menu, you applied position: fixed; to the ul.MenuBarHorizontal li rule. At the very least that needs to go. You shouldn't edit the position property in a Spry menubar.

DWcourse
11-30-2010, 05:02 AM
And, I hate to say this, but using tables for layout isn't a good idea anymore. (although I guess you didn't do it everywhere)

DWcourse
11-30-2010, 05:08 AM
On your vertical menubar you've added a paragraph after the final </li> closing tag but still before the closing </ul> tag. Move the paragraph after the unordered list and see if that helps.

Then read The Ten Commandments for Editing Dreamweaver’s Spry Menubars at http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php (some of the comments are helpful as well).

Mad Mike
11-30-2010, 03:07 PM
Are you saying that I should remove (delete) ALL positioning and display settings from my Horizontal and Veritcal styles including everything like ul.MenuBarVertical ul, ul.MenuBarVertical li, etc...?

It seems like that was the only way I could get the menus to look correct in IE.

DWcourse
11-30-2010, 03:21 PM
No, I'm saying that you should leave the default positioning from DW in place and not edit or add other positioning. As you've discovered, designing for IE alone will cause problems.

Mad Mike
11-30-2010, 03:51 PM
The problem is I do not remember what the default settings were. What would you do in this case? IE displays the menus properly, in FF the horizontal menu buttons just pile up on top of each other in the lower right hand corner of the screen. In chrome, the same thing happens to the horizontal menu and the vertical menu does not appear anywhere.

DWcourse
11-30-2010, 04:42 PM
Well there are two options:

1. Create a new menu in a separate site and use the CSS for that menu to determine the defaults.

2. Start the menus over from scratch.

While you probably won't like my suggestion, my experience is that #2 is probably the best solution. If you're not sure about what you're doing, edit styles one at a time and check the results in multiple browsers after each change.

Mad Mike
11-30-2010, 06:43 PM
OK - now that each browser displays my spry menu bars differently (IE is the only browser that displays them properly), I think I will delete them altogether and use a simpler graphic button or text link approach to the menu. Spry menus have wasted alot of my time!

Corrosive
11-30-2010, 07:00 PM
Spry menus have wasted alot of my time!

Spry sucks. I can think of a thousand reasons to use JQuery instead ;)

Mad Mike
11-30-2010, 07:43 PM
Just very frustrating. At one point I though the menu bar was not showing up at all (in safari and chrome) until I hovered over it - only to find out it was there but it was invisible!

DWcourse
11-30-2010, 11:38 PM
The point is that it wasn't doing that until you edited (incorrectly) the CSS.