TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Aisha Srivastava
NA
230
28.5k
indent selected paragraph where cursor is present
Mar 12 2015 7:33 AM
hi,
I am using web browser control in winform to make htmleditor and want to indent paragraph where my cursor is and leaving other paragraph as same as it is , I am using htmldocument and want to do it like below as in code below but could not
style
it
margin-indent:50px.
Got stuck ....
HtmlDocument doc = webBrowser.Document;
HtmlElementCollection para= doc.GetElementsByTagName("p");
HtmlElement element in para
{
string cls = element.GetAttribute("<p class="current">");
cls.style=margin-indent:50px;
}
could not succeed please let me know if any change needed .....in above
Reply
Answers (
0
)
A call to SSPI failed, see inner exception.
hanging indent