CSS Editor in visual studio 2005

M

Maxwell2006

Hi,



I know that visual studio 2005 has built-in CSS editor. I have the following
code in my aspx file at the <head> section:



<style type="text/css" >

<!--

BODY { background: url(foo.gif) red; color: black }

.note { margin-left: 5em; margin-right: 5em }

-->

</style>



How can I edit the <style> area by using VS2005 CSS editor?



Thanks,

Max
 
C

Cowboy \(Gregory A. Beamer\)

I suggest putting your CSS in an external stylesheet. I know the CSS bits
work there.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
 
W

Walter Wang [MSFT]

Hi Max,

The Style Builder in Visual Studio 2005 can only be used to edit styles in
standalone stylesheet files or edit controls¡¯ in-line style. Regarding
your issue, you can either:

1. Create a temporary stylesheet file and use Style Builder to work on it.
Then copy the content into webform.
2. Create a standalone stylesheet file and create a link in webform:
<link rel="stylesheet" href="default.css" />

Regards,

Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top