I have a site that I’m starting. Actually, I started it in v5 and am now doing it in 5.5. I have a few style sheets. One is for navigation and one is just using the body tag.
No matter what I do, the text I want the body tag to pick up is picking up the navigation style. Even when I click on No Style, it doesn’t make a difference.
I have made CSS menus and they work well but if I change color or make it bold style. nothing happens. Sometimes it changes and some don’t. and then some will not change color on hover. It is truly making me crazy… any help out there on this. I have made many of CSS Menus and this happens a LOT
Thx
C
Hi Dave! No longer do I use graphic boxes for text thanks to you
I change styles & colors thru the CSS menu links
oo so I see . I will change colors thru action and NOT the inspector and see what happens. ugh
BUT NOW I HAVE MADE A CHANGES IN Action and inspector and it is still not working properly, some things change and some do not… Does everything have to be the same. Inspretor & action?
I wil try my best to make sure all style boxes are the same but I must say, there is a glitch in this somewhere. I do not think it is user error. Maybe there is a certain order one must put a style, first action, then inspector and so on… I do not know but it is agonizing, when you change everything then refresh the page and the change does not take. then shut browser, and restart Freeway and still that does not work…
I will keep on trying
The text in the box winds up being the same as the navigation text although it has no style and should be what my body tag is which is Verdana 11px black.
The text style is being inherited by .navigation style (CSS styles
cascades down the page so unless you change/modify a style it will
remain the same ~ very useful yet sometimes annoying
Why not create a style called bodytext, style it and apply to that
bit of text.
David Owen :: Freeway Friendly Web Hosting and Domains :: http://
On 20 Nov 2010, at 4:39 am, Robert B wrote:
The text in the box winds up being the same as the navigation text
although it has no style and should be what my body tag is which is
Verdana 11px black.
I’ll have to do that, but I’ve never sen that happen before.
Why is it happening? Why is it inheriting it? Body is the the main “style”. Shouldn’t everything start with that? Why would a style I made up take precedence over body tag?
This is how CSS works. As part of the basics whatever style is at the
top of the document remains unless you modify it the styles. The
Cascade Style Sheet flows down the page.
For example the .footer style in your footer text if removed takes on
the same appearance as the white text above. But you have altered/
overridden the menu style with a .footer style.
Once you you have that “Ah ha” moment with CSS styles everything
start to make sense.
Use the Safari Developers Menu, or FireFox / Firebug to analyse parts
of web pages to help understand what is going on.
David Owen ::
Freeway Friendly Web Hosting and Domains
On 20 Nov 2010, at 1:11 pm, Robert B wrote:
I’ll have to do that, but I’ve never sen that happen before.
Why is it happening? Why is it inheriting it? Body is the the main
“style”. Shouldn’t everything start with that? Why would a style I
made up take precedence over body tag?
In this instance you could avoid this by creating a Tag style for your navigation.
If all your navigation stuff was in a Div named Navigation then in the New styles palette you would put #Navigation in the Tag box then tab over to the Name box and delete whatever FW has put in there for you. Add all your attributes below and check that FW hasn’t added a pesky Name back in there before you OK it.
You can also convert/edit your current .navigation style in the same way.
This would mean that the #Navigation style would ONLY target the Div called Navigation.
I have just found the culprit… … me…or page view on inspector.
After style is set in CSS action , then item with inspector THEN in page of inspector you must put the same styles in links on page, and then it works and will show in browse…
I have one thing to add about this… on my other pages I do not have the page in inspector to match styles and it works fine so it is a crap shoot… That is is what I have found.
Thx