shaili_shah
Members-
Posts
111 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by shaili_shah
-
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.
-
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.
-
You can use the bootstrap classes for that. Refer this code : https://jsfiddle.net/x2hwjz36/ Hope it helps you.
-
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.
- 1 reply
-
- css
- css background change
-
(and 2 more)
Tagged with:
-
How to automatically resize the element width when screen sizes reduce
shaili_shah replied to newcoder1010's topic in CSS
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. -
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.
-
Use overflow-y : scroll property. May this could help you.
-
Language selection div in wrong place in smartphone viewing size
shaili_shah replied to hariskar's topic in CSS
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. -
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.
- 2 replies
-
- javascript
- html
-
(and 2 more)
Tagged with:
-
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.
-
How to calculate time difference between two time picker ?
shaili_shah replied to SearchingStar's topic in JavaScript
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. -
The top menu navigation bar is not working on the mobile version
shaili_shah replied to Rosemalta's topic in HTML/XHTML
Did you properly use the media query? Show your code so we will help you. -
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!
-
Filter List the data with Dictionary condition using linq
shaili_shah replied to Girish Dubey's topic in .NET
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! -
Creating highlights to image with clickable areas
shaili_shah replied to Rugula's topic in HTML/XHTML
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! -
How to change two different elements with a single :hover
shaili_shah replied to LightPawa's topic in CSS
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! -
Query -- how to find a specific row AFTER finding a range of rows
shaili_shah replied to sql333's topic in SQL
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. -
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!
-
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!
-
What do you mean ?
- 3 replies
-
- css
- unit relative
-
(and 1 more)
Tagged with:
-
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!