2018-10-22         Pag

required selector for select2

i want set background color yellow for select2. If I set for input just like this it's working$('#dllSelect').select({ allowClear: true, placeholder: ""})input:required { background-color: yellow;}select:required { background-color: yellow;}<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><select type="text" name="dllSelect" id="dllSelect" class="form-control" required> <option value="">&nbsp;</option></select>Here's one approach to set background colors to only specific selects (to the requ...

 html                     2 answers                     33 view
 2018-10-22         Alexia

CSS Minimize Whitespace on Window Size Change Instead of Grid

I have a web page that is 65% css grid and 35% white space. When you minimize the page a little / make it smaller, it maintains those percentages. Rather than strictly adhering to those percentages, I want the page to only take away white space when possible. How do I do that?Here is the code that currently sets the width of the css grid:.wrapper { display: grid; grid-gap: 10px; padding-right: 1px; float: center; font-weight: 700; font-size: 14px; margin-bottom: 2px; width: 65%; } Please post some code to explain further what you are trying ...

 html                     1 answers                     60 view
 2018-10-22         Benjamin

Selected item in drop down menu changes depending on page

I am working on my html page with adds. In my code I have a drop down menu, in which you can select order of adds. I want to change the selected item in drop down menu depending on which order was selected by user (and was redirected to same site, only order is different). How can I do that? Whit JS code?Thanks for all the help. /*! Select2 4.0.5 | https://github.com/select2/select2/blob/master/LICENSE.md */ $(function () { //Initialize Select2 Elements $('.select2').select2() <select class="select2" > <option>1</option> <option>1</o...

 html                     1 answers                     31 view
 2018-10-22         Ivy

How to make select group available to choose after selecting specific value in HTML

Scenario :Assume that..a html web with 2 select group:select group 1 has ['value0'],['value1'],['value2'],['value3'];if select value0 , select group 2 appears with all greyed outvalues. if select value1 , select group 2 appears ['value1_1'],['value1_2'], other value greyed out if select value2, select group 2 appears ['value2_1'], ['value2_2'], other values greyed out.if select value3 , select group 2 appears ['value3_1'],['value3_2'], other value greyed out.I have searched many data but still not what I need...Could anyone help? If I understand your question correctly, ...

 html                     1 answers                     30 view
 2018-10-22         Barton

Convert offline copy of webpage in HTML to "Reader View"

I have a local copy of a webpage saved as HTML. I want to convert this HTML file into an output similar to the output of the "reader view" found in modern web browsers.Is there any tool I could use for this (UNIX-like or Windows)? Preferably I want to use is on a collection of local HTML files.Thanks in advance.jmt There is an option that more or less does that: disable CSS. You will then get only the markup, not the makeup. Next, copy and paste the article text. To disable CSS in Chrome, see https://www.techwalla.com/articles/how-to-disable-css-in-chrome. In Firefox, cl...

 html                     1 answers                     48 view
 2018-10-22         Bertha

CSS cursor customization

I'm trying to make a CSS code that changes the cursor to a picture file when the cursor is on a webpage. I've seen sites that give you a simple code to do it but they always have ads. Any codes you guys know that can do this? Yes, simply apply the following css code to your body tag (assuming you want effect for whole page):body { cursor: url('URL to image');}Further information:The image file must be 32x32 or smallerInternet explorer only supports .cur files [XXX]CSS:html{ cursor: url(URL of pictures)}Other Simples:http://www.html1.freeiz.com/Your_cursor.htmlhttp...

 html                     2 answers                     81 view
 2018-10-22         Jacqueline

Database Mail with HTML formating

I am working on sending information to our customers about the checks they may expect in mail soon. I wanna know how do I put check num information in the body of the email as right now I am just generating a table which gives them remittance information. Basically I want the body of the email to say " Check num : 1234567 has been issued to you.So far I have the following query declare @docnum nvarchar(50) declare @numatcard nvarchar(50) declare @checknum nvarchar(50) declare @checkAmt nvarchar(100)declare @EMaIL nvarchar(200)declare @Date nvarchar(200)declare @...

 html                     1 answers                     30 view
 2018-10-22         Myra

SVN Repository Questions, helping to edit a friends website

One of my friends has a website he wants me to assist him with, me being the good friend that I am means I was happy to oblige, however he wants me to use an SVN, I am currently using tortoiseSVN.The problem is when I make changes and commit it to the repository, it does not reflect on the website, I don't have access to the server side is there anything I can do from my side to apply changes I committed? some client side hook scripts or something? Committing to the svn alone does not update the files on the server. Your friend will need to run 'svn update' on the direct...

 html                     1 answers                     97 view
 2018-10-22         Eudora

Why do colors in CSS/HTML start with #

I wonder why the format #FFFFFF was chosen? Why # is important and what it means? I've searched some popular websites but they mostly deal with explaining how to parse a value to red, green and blue and none is explaining from where # came. it helps the HTML parser to identify that it is a hexadecimal value not an ordinary string [XXX]

 html                     1 answers                     70 view
 2018-10-22         Pete

Blank page when uploading website files to web hoster

So I downloaded my own portfolio after making it through a portfolio maker and decided to download it, modify the html files to my liking and then wanted to upload them to a web hoster where I would use my own domain for it, however when I tried uploading my files to the main folder on my website's directory and check the website out it simply shows me a blank page, even though it actually displays my logo on the tab on top. When I open the index.html with Chrome from my local files it displays my website perfectly however when I upload it to my website and try view it that...

 html                     1 answers                     69 view
 2018-10-22         Pearl

Refer to the current directory with <base> set

Setting <base href="/a/"> causes <a href="/b"> to resolve to /a/b. This is fine.However, if I have an HTML file /a/b/x.html and I want to refer to /a/b/y.html, it would seem the only way to do this is <a href="/b/y.html">. Normally (without setting <base>), I can refer to a file in the current directory with ./y.html or even just y.html. But with <base> set, the ./ does not resolve to the current directory, it resolves to the directory specified in <base>.A more complex example:a└─b └─c └─d |──x.html └──y.htmlIf I am in...

 html                     1 answers                     43 view
 2018-10-22         Wendy

Going up a path when webpage url is in localhost

I have an image whose url is ../path/to/image, but the ../ doesn't work. The url for my webpage is http://localhost:8080/account.html. I can't seem to find a solution online.I believe the directory is relative to the webpage url. I've tried starting from file:///C:/ and it works, but I don't want to use that because my other clients will use the domain name, which in this case is localhost.Is there a way to solve this without moving folders? Try this /path/to/image.jpgRemove the dots and just add this -> / at the start of the path , that means that the path is going to r...

 html                     1 answers                     42 view
 2018-10-22         Gwendolyn

Edit Joomla Module CSS

So, this entire area is JhotelResrvation Module. I figured out where the module files are but unfortunately I cannot edit the CSS to effect changes, doesn't seem to work on the custom CSS also. I would've initially written a code to set some padding to the dark-transparent box.div.mod_hotel_reservation.horizontal { padding-left: 55px;}This doesn't seem to effect any changes. Please view image below Experience Beautiful GhanaWebsite URL https://gta.stillwaters.io/ The code you posted doesn't work beacuse that div already has a padding:.mod_hotel_reservation.horizontal ...

 html                     1 answers                     70 view
 2018-10-22         Georgia

Decrease The Entire Header Section To 45px

enter image description hereLINK: https://gta.stillwaters.io/Can anyone help me make the entire header area height 45px? That's about 3 times the size of the font and also, decrease the logo height also. The logo and header area seems too long in height. If that entire could be reduced to 45px?header.hidden-phone {height: 45px;}Code above doesn't seem to work. You have a padding on your header, the rendering engine goes outwards. it first renders the inner box with the specified height then it renders a "frame" that contains that box with the width specified on each side...

 html                     2 answers                     70 view
 2018-10-22         Poppy

Link style matter : the link is getting a select box on opening the popup

I am faceing a strange matter, I am using toolbox pop up in a Joomla theme. if you click for Example in the link here: http://kfzgutachter-vaatz.de and then select for example "Verkehrsunfall – Was nun?"when the popup appears there are 2 links, the first link is being marked with abox like it is selected, how can I remove this one or where it is coming from? This is because your link has focus when you open the modal. In fact if you click somewhere inside the modal, the link is no more underlined because it loses focus.You can add a javascript code to set the focus on...

 html                     2 answers                     74 view
 2018-10-22         Hyman

What should I write in Angular index and app.component.html?

I am currently learning Angular and wondering what exactly should be coded in index.html and in app.component.html -instead of being coded in components-. My current Angular project is my personal website, which I would like to migrate to Angular in order to train. You can find it at http://www.chloe-seiler.com/-Nevermind the responsivity, am working on it.-Basically there are a header, a nav and a body. Body differs only when navigating, header and nav remain throughout the website. Should I code the header and new in index.html? Or in app.component.html? Or should I make ...

 html                     2 answers                     71 view

Page 2 of 1663  |  Show More Pages:  Top Prev Next Last