answersLogoWhite

0

I want to get the content of div with its class with VB.Net but i don't know how to do it. i show you a simple example to notice what my question is.

<div class="whatever">Text</div>

I opened a website and I found above code in its source code. and i want the content of this div code for my text box or label ...

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you float a div?

&lt;div style="float:left;"&gt;content&lt;/div&gt; OR &lt;div style="float:right;"&gt;content&lt;/div&gt; I've attached a link that explains how this works in more detail.


How can you use div under div?

It's not that hard. If this is what you mean: &lt;div&gt; &lt;div&gt; &lt;h1&gt;Some content&lt;/h1&gt; &lt;/div&gt; &lt;/div&gt;


How do you post in blogger using HTML?

&lt;div id="header"&gt; &lt;div id="footer"&gt; &lt;div id="content"&gt; &lt;div id="sidebar"&gt; &lt;div class="post"&gt;


What does the prefix div mean?

&lt;DIV&gt; is not a prefix, it is a tag. A DIV element is a container for other HTML elements and is used for positioning and structuring content in the document


What is a reliable character?

&lt;div class="robots-nocontent"&gt;excluded content&lt;/div&gt; &lt;span class="robots-nocontent"&gt;excluded content&lt;/span&gt; &lt;p class="robots-nocontent"&gt;excluded content&lt;/p&gt;


How do you get a scrool box on MySpace?

&lt;div style="overflow:auto; background-color:transparent; width:337px; height:240px; border:none;"&gt; content here &lt;/div&gt;


How do you generate xslt using vbnet?

The best approach is to put the fixed content in an XML file, and transform it using XSLT to generate the dynamic content.


What is selectors in jquery?

Selectors are how you 'select' an element, or group of elements, to perform an action on. For instance $('div').hide(); Would hide all the &lt;div&gt; elements on a page. The selector is 'div', inside the jQuery command. $('div:first').show(); would show the first &lt;div&gt; element on the page. $('div#content ul li').addClass('action'); would add a class of 'action' to all the unordered list items in the &lt;div&gt; with an id attribute of 'content' jQuery has a very powerful selection language, based on xpath - very similar to CSS (if you're familiar) - so for instance $('div#content ul li.action:first').removeClass('action'); would find the first unordered list item with a class of action inside a &lt;div&gt; with an id attribute of 'content'. If you already have a group of elements selected, jQuery can allow you to find elements within that group. e.g. var group = $('div:first'); // finds first &lt;div&gt; on the page. $(group).find('ul li').removeClass(); Removes all the classes from unordered list items in the first &lt;div&gt; on the page. For the full description of jQuery selectors, see this page http://api.jquery.com/category/selectors/


What is a div overlay?

from my limited knowledge a &lt;div&gt; is a tag used to make a "division" in the webpage (like tables but cleaner) the beauty of the &lt;div&gt; is that it doesn't have any visual effects as just &lt;div&gt; so it is perfect to use with css (&lt;div class="name"&gt;} the word "class" would be represented in css as . and name would show as .name meaning you can set the height, width, colour, style, font etc.. for content that appears inside that div.


How do you make your webpage content go to the center when you put the browser to fully expanded?

First, you need to contain all your content in a block level element. You might want to use DIV, or SECTION, or ARTICLE--the choice is yours. I'm going to use DIV because it's available in XHTML as well as HTML 5. &lt;div&gt; &lt;!-- Content you want centered goes here --&gt; &lt;/div&gt; Then, in the CSS, you need to set that element to a specific width (otherwise it will default to 100%, and you won't see any change.) Obviously, you might us a class or id on your div. div { width: 60%; } Next, add a left and right margin to that div, and set that margin to "auto." This is how we make block level elements align to the center. div { width: 60%; margin-left: auto; margin-right: auto;} You can also use the shorthand version of the margin property, setting both top and bottom, then left and right with a single declaration. div {width: 60%; margin: 15px auto; } Viola! The element will now automatically center when you maximize the browser window.


How can you see the php code that is executed in your browser?

May be this example will help. Please focus on where ob_implicit_flush(true) and ob_end_flush(); are placed in your code. Version 1:-------------------------------- &lt;?PHP ob_implicit_flush(true); ob_end_flush(); ?&gt; e &lt;div&gt;a&lt;div&gt;a&lt;/div&gt; &lt;?PHP sleep(1); ?&gt; &lt;div&gt;b&lt;/div&gt; &lt;?PHP sleep(1); ?&gt; c&lt;/div&gt; Version 2:------------------------------ &lt;?PHP ob_implicit_flush(true); ob_end_flush(); ?&gt; e&lt;div&gt;a&lt;div&gt;a&lt;/div&gt;&lt;/div&gt; &lt;?PHP sleep(1); ?&gt; &lt;div&gt;b&lt;/div&gt; &lt;?PHP sleep(1); ?&gt; c&lt;/div&gt; Version 3:------------------------------ &lt;?PHP ob_implicit_flush(true); ob_end_flush(); ?&gt; e&lt;div&gt;a&lt;div&gt;a&lt;/div&gt;&lt;!--&lt;/div&gt;--&gt; &lt;?PHP sleep(1); ?&gt; &lt;div&gt;b&lt;/div&gt; &lt;?PHP sleep(1); ?&gt; c&lt;/div&gt; ?&gt;


Is java better than vbnet?

Java is not better than VBNet, nor is VBNet better than Java. Eachone has its advantages and disadvantaged over the other one.