This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150828

Summary: Bind CSS style
Product: web Reporter: Marek Fukala <mfukala>
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: blocker CC: pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Marek Fukala 2008-10-21 10:06:58 UTC
An html editor popup action allowing to bind an external stylesheet. Allows either to refer to it using

<link href="..." rel="stylesheet" type="text/css" /> tag

or importing it by

<style type="text/css">
@import url("../NetBeansProjects/WebApplication1/web/2.css");
</style>
Comment 1 Petr Jiricka 2009-07-28 13:55:54 UTC
Could the "Insert code" (Ctrl+I) action be used for this?
 
Comment 2 Marek Fukala 2009-07-30 11:13:29 UTC
sure, insert code is an option, though not sure if that would be straightforward enought. The insert link action seems
to be more similar to "import class" than to insert code.