Visual Studio Question...

R

Rob Meade

Hi all,

We use Visual Studio 2003 (Ent. Edit) here at work, most of which is
ASP.net, some Windows, I have become familiar with the odd quirk etc, the
one thing that currently drives me insane is that wrapping of text when you
go into HTML view of a page...

I know it's only a little thing, but is there anyway to turn this off? I've
been through the Tools and options for the Editor, I've looked at HTML and
indeed all of the others and Word Wrap is not turned on - however it will
still wrap lines around, in some cases I even get this:

<table cellspacing="0" cellpadding="0" border="0"
I can only assume there's a value somewhere for the max characters per line?
Surely other people that myself have run into this minor issue, has anyone
got a fix - I though Word Wrap would have been the obvious fix - but clearly
not!

Thanks in advance for any help..

Regards

Rob
 
R

Rob Meade

...
This is how HTML works, not VS.NET.

Hi Brock, thanks for the reply - I find it a tad cryptic though - could you
enlighten me with what you meant? Surely its not HTML that says "I'll chop
your code and put it on another line" - that's being controlled by VS
surely?

Any further info would be appreciated.

Regards

Rob
 
B

billmiami2

Rob,

I'm not sure that ASP.NET/VS.NET is putting hard breaks into your HTML.
I notice that when I look at the source for a page rendered in
Internet Explorer, I see the HTML view (source) of the page in Notepad
and I can see the phenomenon that you describe. However, when I view
the same page in Netscape and view source, Notepad is not used and
there is no such "chopping" of the HTML lines.

I can therefore only conclude that what we see in IE/Notepad occurs
because Notepad is placing limits on the horizontal width of the
text--not VS.NET or ASP.NET.

Bill E.
 
R

Rob Meade

I can therefore only conclude that what we see in IE/Notepad occurs
because Notepad is placing limits on the horizontal width of the
text--not VS.NET or ASP.NET.

Hi Bill,

Thank you for your reply.

I appreciate what you say, and agree with most of it - apart from the fact
that it does it also when I view the source in VS as well, sometimes it
seems as if its done it by as much as the dynamic context menu's that pop
out from the side of VS etc.

?

Regards

Rob
 

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

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top