Hi,
I mean, when I am on a CSS file. I want to do something similar to when I am at Source Code panel. ok?
All the best!
Hi Murray,
I would like to do the inverse process. For example, I have a CSS rule in a external file with the selectors #main e #tagline. Then, I want to discover, with Dreamweaver, all the elements that receive that rule. But, when I click on the rule nothing is highlighted in the Design View and I did not find another way to show that.
Thank you in advance.
with the selectors #main e #tagline
Only two elements will receive those rules -
Do a find and replace to find the two elements on the page that have those ID values. The rule's styles will cascade into those two containers so all applicable inner descendent containers will also be affected.
As I said, find those two containers, and begin to select elements within them - look at the CSS panel to see when those selectors show up.
CS5 and CS5.5 have CSS Inspect.
http://help.adobe.com/en_US/dreamweaver/cs/using/WSbb8fae38174aec9d-49 0f8148126e2bcfbe5-8000.html
http://www.adobe.com/go/dwcs5inspect_en
http://layersmagazine.com/dreamweaver-cs5-css-inspect.html
Is that what you have in mind?
For example, I have a CSS rule in a external file with the selectors #main e #tagline.
One thing you have to understand is that anything with the pound sign [ # ] indicates that it is an ID. This being the case then I can bet on it that you are not likely to find more than one item using that css rule. IDs can be used only once on a pge.
You also say you have [ e ]. I don't know what this is unless it is a typo.
If you have a class rule (i.e. something like .myclass) then you can search for that name on the page to see where that rule affected.
This is the best I can suggest here for now.
hth
Murray *ACP* wrote:
Rules that apply to a an id-selector can cascade into descendent containers.
#foo { color:red; }
for example....
And the "e" is used as an "and" in that sentence. The speaker's native tongue does not appear to be English....
That is true but the chances of findling this is very high if the OP can search for the ID name and then click on that tag to highlight the entire block within that ID. DW has this facility and I can post a print-scrn of it if necessary.
One thing you have to understand is that anything with the pound sign [ # ] indicates that it is an ID. This being the case then I can bet on it that you are not likely to find more than one item using that css rule. IDs can be used only once on a pge.
Yes, I know that. It was only an example. It could be #main .tagline. Whatever!
You also say you have [ e ]. I don't know what this is unless it is a typo.
That is a typing mistake I committed. Sorry!
Thank you very much!
That is true but the chances of findling this is very high if the OP can search for the ID name and then click on that tag to highlight the entire block within that ID. DW has this facility and I can post a print-scrn of it if necessary.
I know that technique. Thank you for your interest in helping me.
I will try to do a "tutorial" video to show what I would exactly like to do on Dreamweaver.
I think we get it. No need to do the video.
it will be my suggestion for a new version. ok?
What would you like us to do with it? You are not talking to Adobe here - we are all just users. If you want to suggest a feature for future versions, please go here -
You are not talking to Adobe here - we are all just users. If you want to suggest a feature for future versions, please go here -
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Ah, ok! Thanks!
North America
Europe, Middle East and Africa
Asia Pacific