Jump to content

shaili_shah

Members
  • Posts

    111
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by shaili_shah

  1. Hello, You can use a striped table to style even and odd rows. After giving this property, you can hide the border of the table so that it won't look like a table, but like a regular element. Here is a reference link for further research. https://css-tricks.com/snippets/css/css3-zebra-striping-a-table/ I hope, this clarifies your doubts. Have a nice day.
  2. "Width" and "Height" are used for the width and height of the image. Whereas "alt" is used when there is no image displayed on the page. Means if there is a wrong source of image is given then text in the alt will display.
  3. It's working in notepad. <html> <head> </head> <body> <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"/> </body> </html> If there is still problem then use the latest version of notepad. Hope it helps.
  4. Hi. For that you have to take image and place this text on it. I have written the demo code you can check here : https://jsfiddle.net/0f5bqh8s/ Hope it will help you.
  5. You can use the bootstrap classes for that. Refer this code : https://jsfiddle.net/x2hwjz36/ Hope it helps you.
  6. Okay, so you wanna set the background image for footer. Am I right? And yeah, Do send screenshot that describes what you want and code also.
  7. css media query is best for this. I've written the code in fiddle you can check here : https://jsfiddle.net/rgdwsyan/2/ When you reduce the screen size to the 766px you can see the div size will be 90%. Hope this is your answer.
  8. Use any one below given codes: <p style="background-color:DarkBlue">I am a boy.</p> OR <p style="background-color:#00008B">I am a boy.</p> OR <p style="background-color:000139">I am a boy.</p> For more color code see this : http://www.htmlcodes.ws/color/html-color-code-generator.cfm?colorName=DarkBlue You can use rgb color tag also : https://www.w3schools.com/html/html_colors_rgb.asp Hope this helps you.
  9. Use overflow-y : scroll property. May this could help you.
  10. Hi. Didi you use the media query for that? If yes then use below code for less than 1000px browser width: .lang { float: right; margin: -79% 4px 55px 0; } Hope it helps.
  11. Hi. We can use the keycode for it. Ex:- $(document).keydown(function(e){ if(e.keyCode === 37){ plusSlides(-1) } //for left arrow if(e.keyCode === 39){ plusSlides(1) } //for right arrow }); Hope it helps.
  12. We can use media query for that. Ex:- @media only screen and (min-width: 768px) { //your code } See this: https://www.w3schools.com/css/css_rwd_mediaqueries.asp Hope it helps.
  13. Hi, Good Morning I have done the code in fiddle just check it out : https://jsfiddle.net/Lb0cy5ak/ In the Date() method we have assign the date and time from out input tag and it will display difference in time. Hope it helps.
  14. If you want output like below attached snap than just place your paragraph tag in above div tag. Hope it helps. If you want other solution rather than this then tell me.
  15. Instead of passing <a> tag in css you can give the class or ID to the specific link that will be style. And pass that selector in css. Ex:- Suppose you have a link like: <a href="#" class="abc">Hyperlink</a> <a href="#" class="abc">Anchor tag</a> <a href="#" >Navbar Link</a> CSS would be like: <style> .abc:link { color: #616161; } .abc:visited { color: #616161; } .abc:hover { color: #8BD448; } .abc:active { color: #2AA8F2; } </style> This will be styled the only link which has the class name "abc". Hope you get it. Thanks!
  16. Hi, Good Morning. You wanted the list that contains the Type = "Teacher" and Subject = "English". So you can do it with the help of join linq query. For ex:- As in your case var list = (from person in persons join condition in conditionDictionary on new{ person.subject, person.type } equals new{ condition.subject, condition.type} select person).ToList(); I hope this would be your answer. If any query regarding this then free to ask. Thanks!
  17. Hi, Rugula. Code doesn't open in my pc because it needs particular app to open. So i think you need a mouse over effect on square areas may be! For that you can use the :hover pseudo code in css. And onmouseover and onmouseout event in javascript. JS: <img onmouseover="fun()" onmouseout="fun1()"/> function fun(){ your code}; Same as onmouseout function. CSS: img : hover{ background-color: red; } I hope you get it. May this is your answer. Thanks!
  18. Suppose i have a <div> tag with the class and inside of <div> there is table tag. <div class="hover"> <table> <tr> <th colspan="4" class="heading"> ABCD </th> </tr> <tr> <th>1</th> <th>2</th> <th>3</th> <th>4</th> </tr> <tr class="article"> <td>abc</td> <td>abc</td> <td>abc</td> <td>abc</td> </tr> </table> </div> And css : .heading{ background-color:white; } .article{ background-color:lightblue; } .hover:hover .heading{ background-color:lightgrey; } .hover:hover .article{ background-color:lightgrey; } Refer the code : https://jsfiddle.net/f72zs8j5/ This will help you. Thanks!
  19. Hi, Good Morning. Use this : select * from ds-orders where ordernumber = 456 and Date between '2011/02/25' and '2011/02/27'; Hope it helps.
  20. Did you use just the "background" for color ? If not then share the code. I think you should add "background-color" for it. It works for me. If there any doubts, feel free to ask. Thanks!
  21. Hi, Good Morning. You should use the margin-bottom for it. For the project, you should not use the negative margin-padding because it's bad habit and it's difficult to understand for other. Hope you get it. Thanks!
  22. Hello, Good morning. Just write this in your existing code. /* Change Colour of Subscribe Button on Hover*/ #mc_embed_signup .subscribe-button:hover { background-color: #738DFF; color: #ffffff; display: inline-block; display: block; margin-right: auto; margin-left: auto; transform: scale(1.5); } And use "transition: transform .2s;" in your button class for better visualization. This will zoom slowly. Hope you understand it. Thanks!
×
×
  • Create New...