IDEA css
I just opened a html file to check on Iridas new html/css support.
-> IDEA marks the href red and says it cant resolve it.
What is wrong?
+ I never get any result when I try "Show applied styles for tag"
+
are marked as duplicate ids
+ idea tells me about missing attribute e.g. in img tag
->]]> should somehow show me what is the name of the missing attribute (maybe you plan alt-enter support?) ;)
Bye,
M.
Bye,
M.
Please sign in to leave a comment.
Hi,
Michael Damberger wrote:
Idea has not found that style file.
This will not find anything useful if css style files do not found.
As per HTML spec:
<!ENTITY % coreattrs
"id ID #IMPLIED -- document-wide unique id --
It will be.
>> I just opened a html file to check on Iridas new html/css support.
>>
>> >> >> -> IDEA marks the href red and says it cant resolve it. What is >> wrong? >>]]>
I had the same problem and had to fix the file type mapping for css files. If I remember correctly, that extension was mapped to 'Text files' and I moved it to 'Cascade style sheets', which was previously empty.
Hi,
Yes, this issue appears for all nonfresh IDEA install.
Tim Haley wrote:
>>Hi,
>>
>>Michael Damberger wrote:
>>
>>
>>>I just opened a html file to check on Iridas new html/css support.
>>>
>>> >>> >>>-> IDEA marks the href red and says it cant resolve it. What is >>>wrong? >>> >> >>Idea has not found that style file. >>]]>
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
thanks for the information.
I'm no html expert - now I know that one should keep div id's unique ;)
+ I'll test applying .css to its proper filetype and
take another look at Irida css.
Bye,
M.
Hi,
ID is unique across all html elements :)
Michael Damberger wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
oh ;)
Just found out that I should use instead of
Use IDs when there is only one occurence per page. Use classes when there are one or more occurences per page.
taken from http://www.tizag.com/cssT/cssid.php
The html / css features of Irida are very welcome !! :)
M.
CSS is the new big thing. Basically, (1) either XML or stripped from
formatting XHTML + XSLT + CSS, or (2) Flash.
For example
http://www.alistapart.com/
http://www.csszengarden.com/
http://www.digital-web.com/
"Michael Damberger" <michael.damberger@t-online.de> wrote in message
news:26457836.1102607906401.JavaMail.itn@is.intellij.net...
>
>
are one or more occurences per page.
>
>