Jump to content

sairfan1

Members
  • Content Count

    48
  • Joined

  • Last visited

Community Reputation

2 Neutral

About sairfan1

  • Rank
    Newbie
  • Birthday 02/17/1979

Contact Methods

  • Website URL
    http://www.irfulabs.com
  • ICQ
    0
  1. hi, please look at the code .A{ color: red;}.B:focus{ border: 1px; .A} <div class="A">A</div><div class="B">B</div> how can i call class A in B, thanks,
  2. great, it works perfect. thank you very much.
  3. i set the vertical-align property to input type image, but no results. jadsonlourenco i cant set it to background, and pedding-left, coz size of image amy change.
  4. hi, im working on asp.net i have a div and in that i have image input button my css looks like this #div{ padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border: none; border-left: 2px groove rgba(207,4,4,0.5); height: 34px; width: 40px; line-height: 34px; display: table-cell;/* display: inline-block; also tried */ vertical-align: middle; text-align: center; float: right;}#image{ padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border: none; }<div id="div"> <input type="image" id="image" /></div> in result, image is horizontally centred but not vertically, plz
  5. thanks, it helped, but it also adds a line below char,
  6. if u r new to html5 its useful http://joshduck.com/periodic-table.html
  7. no there is no element in div, its like this.a:before{ content: "L";}.b{ padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; font-family: Webdings; font-size: 12px; height: 15px; width: 13px; text-align: left; vertical-align: top;}<div class="a b"></div> looks like space is part of font??
  8. i have a div with text in it "K", there is space on top and bottom of it, i want to remove this space that text start touching its inner border. there is no, padding, border set. i changed the font size, but no result. plz help.
  9. Thanks dsonesuk now its work fine. can you please explain why div A positioned below div B, rather B is after A below is the correct code for others help <div id="A" style=" background-color: Yellow; position: fixed; width: 200px; margin-left:0px;top: 150px;"> DIV A: left panel: position fixed is required </div> <div id="B" style=" background-color: Lime; margin-left: 205px; margin-top:150px; "> DIV B: auto set width panel </div>
  10. yes, for now size of B is automatically adjusting, but u see, position of A is invalid, as its set to 150px from top, for example you try this code, top of both A,B should be like this one. but i lost width of B. <div id="A" style=" background-color: Yellow; position: fixed; float:left; width: 200px; margin-left:0px;margin-top: 150px;"> DIV A: left panel: position fixed is required </div> <div id="B" style=" background-color: Lime; float: left; margin-left: 205px; margin-top:150px;"> DIV B: auto set width panel </div> what i want, is j
  11. just copy and paste this code, and see what are the results, then you will understand how i want to position divs
  12. i have following A and B div elements on a page, where position of div A is required to be fixed, and i need width of B div to automatically adjust with size of window. its also important that on some pages div B may not present so div A must maintain its position without div B, plz help. <div id="A" style=" background-color: Yellow; position: fixed; width: 200px; margin-left:0px;margin-top: 150px;"> left panel: position fixed is required </div> <div id="B" style=" background-color: Lime; margin-left: 205px; margin-top:150px;"> auto set width
  13. Hi,Can any one recommend some free java editor which can give properties and methods of containing object, for example, cboSelect is a drop down, when we assigned its reference to x variable, in editor x. will bring up list of properties and methods of select box. var x = document.getElementById("cboSelect"); alert(x.options[1].text);
  14. Hello friends,im working with div, on overflow scroll bars are visible, what java code will help me to scroll down (may be in pixels) to scroll down.Thanks.
  15. Hi im working with html4, and xhtml, i want to add common header and footer of page, for example i want to create two html files for header and footer, and then i want to import/add it to all pages so that if i change header file, header of all pages will update. please note that my pages are static with .htm extension.thanksIrfan
×
×
  • Create New...