Here's the html i want to understand
i want the first div class to let the program no im dealing with only hel(helium)
and then still in the hel(helium) section , is span class i want the production value
so basicly i want only one at a time not the entire production value of each section

<div class="fb-resource-item resource-item-hel"> 
    <div class="fb-resource-image"><img alt="Helium" src='/images/resources/helium_icon.gif' />&nbsp;<img alt="Helium" class="gauge" src='/images/resources/helium5_icon.gif' /></div>
    <div class="fb-resource-text">
        <span class="resource"><b><span class="count">15253624</span></b><br /> (<span class='production'>886039</span>/hr)</span>
    </div>
</div>
<div class="fb-resource-item resource-item-iro">
    <div class="fb-resource-image"><img alt="Iron" src='/images/resources/iron_icon.gif' />&nbsp;<img alt="Iron" class="gauge" src='/images/resources/iron4_icon.gif' /></div>
    <div class="fb-resource-text">
        <span class="resource"><b><span class="count">10502232</span></b><br /> (<span class='production'>539000</span>/hr)</span>
    </div>
</div>
 <div class="fb-resource-item resource-item-oxy">
    <div class="fb-resource-image"><img alt="Oxygen" src='/images/resources/oxygen_icon.gif' />&nbsp;<img alt="Oxygen" class="gauge" src='/images/resources/oxygen3_icon.gif' /></div>
    <div class="fb-resource-text">
        <span class="resource"><b><span class="count">9451417</span></b><br /> (<span class='production'>548000</span>/hr)</span>
    </div>
</div>
<div class="fb-resource-item resource-item-wat">
    <div class="fb-resource-image"><img alt="Water" src='/images/resources/water_icon.gif' />&nbsp;<img alt="Water" class="gauge" src='/images/resources/water3_icon.gif' /></div>
    <div class="fb-resource-text">
        <span class="resource"><b><span class="count">9328314</span></b><br /> (<span class='production'>539000</span>/hr)</span>
    </div>
</div>

Recommended Answers

All 4 Replies

Hiya, VB 2012
This post should be over in the "Web-Devlopment" section under html.

But before it gets moved by a moderator i might as well help answer you problem.

   <div class="fb-resource-item resource-item-hel">
<div class="fb-resource-image"><img alt="Helium" src='/images/resources/helium_icon.gif' />&nbsp;<img alt="Helium" class="gauge" src='/images/resources/helium5_icon.gif' /></div>
<div class="fb-resource-text">
<span class="resource"><b><span class="count">15253624</span></b><br /> (<span class='production'>886039</span>/hr)</span>
</div>
</div>

Should look something like

<div class="fb-resource-item resource-item-hel">
<div class="fb-resource-image">
<img alt="Helium" src="/images/resources/helium_icon.gif" />
&nbsp;
<img alt="Helium" class="gauge" src="/images/resources/helium5_icon.gif" /></div>
<div class="fb-resource-text">
<span class="resource">
<br />
<span class="count">15253624
</span>
<br /> 
(<span class='production'>886039</span>/hr)</span>
</div>
</div>

The mistake you simple made was HTML uses the speach makes " instread of a ' which is why the HTML didnt register the end of the statment before moving onto anew section

If you can spot the mistakes of the ' and change to " , this will fix the code.
Also it might be worth looking at where the <br /> line breaks are as some of yours are either <b> or just <br>

Hope this helps.
KingGold171

Dude whate hell why do you think i posted here
I want to get the tag through - webbrowser document vb programming(using webbrowser control)

commented: guy tried to help you -1

1st of all the guy tried to help you and you just gave him abuse.
2nd You NEVER mentioned the web browser control on your original post.
3rd Your issue is with poorly formatted HTML.

If this is your attitude to someone helping you, then good luck getting anyone else to answer anymore of YOUR problems.

1st of all the guy tried to help you and you just gave him abuse.
2nd You NEVER mentioned the web browser control on your original post.
3rd Your issue is with poorly formatted HTML.

If this is your attitude to someone helping you, then good luck getting anyone else to answer anymore of YOUR problems.

Thank you for that G Waddell,

As you can see VB 2012, the responce you got was based on what you was aking for and the code snippit you provided. Due to you asking for help in a VB.net section and only providing and talking about HTML, the responce was bassed on your code being corrected to HTML format of <br /> and " insteand of using ' as to why the HTML didnt work.

So rather than moaning about not getting the answer you want, work around the resonse or polity mention your intentions. then someone else who is willing tohelp can see other users answers and work around them if it's not what you looking for.

"What you ask for IS the answer you get."

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.