Category "html"

How to get JAWS to update its cache of aria-hidden values

I have a webapp where we dynamically toggle the aria-hidden attribute on certain elements in response to user input. This seems to work fine with VoiceOver but

Reduce Bootstrap list width

I am creating a list and styling it with Bootstrap. The HTML looks something like this: <div class="list-group"> <a href="/link" class="list-group

How to hide select options using css in IE?

I want to hide the options for a select tag and below is the code I have written. This works well with Chrome and Firefox but not with IE. <style>

can't change h1 font-size in print preview

I can't change h1 font-size in print preview. although every other property works, the font size doesn't work. body{ margin: 1%; padding:1%; backgrou

Only accept 2 digits integer array in django model form

How to make a form field that accept 2 digit numeric array in frontend. if someone enter more then 2 digit or string then The input value is automatically valid

css media query adding class to HTML

I have this HTML: <li><a href=""><i class="fa fa-iconname" style="vertical-align: middle;"></i>Link Name</a></li> I am th

How to remove default button border with CSS

I have a rounded button like this. .rock{ height:100px; width:100px; border-radius:100px; border-color:yellow; border-width:8px; } <button class="rock"

How to make columns equal height if siblings are hidden?

I am trying for equal height columns and implementing this on a Bootstrap carousel for a testimonials page. I want the height of all carousel items to be the sa

css media query adding class to HTML

I have this HTML: <li><a href=""><i class="fa fa-iconname" style="vertical-align: middle;"></i>Link Name</a></li> I am th

How to make scrollable pop up box?

https://codepen.io/anon/pen/dWaWor When I click on the button "Creation Process" I cannot scroll in the lightbox. The lightbox has a fixed position because wh

HTML set a blob (PDF) url in an iframe doesn't work on mobile

I use an API to get generated PDF or stored PDF on private directory (only accessible if the user is logged in). My endpoint send a http response with Content-T

Adding reCAPTCHA v2 into my PHP file

The PHP problem has been solved. Here are the HTML and PHP codes that I'm using: contact_form.html: <html> <head> <title>My Contact Form

Update database table through jsp to jsp

View.jsp this jsp to fetching the data from the database. <form method="post" action="updatedemo.jsp"> <table width="50%" border="1" align="center"

Find the currently focused span element inside an editable div [duplicate]

I have a sample at Finding currently focused span in an editable div. The editable div i.e. a div having the attribute contenteditable="true",

Remove border from object element in IE11

I can't remove inset borders from object elements in IE11. They don't appear in any other browser or version of IE as far as I can tell. See the attached screen

How to fill vertical space with flexbox?

If .right item stretch height to any size, how to make .item elements inside .left to fill vertical space equally? From: To: .container { display:

ngb Pagination [(page)] attribute in angular is not working

I am using ngb pagination in my angular project. I have a table that shows 5 records per page and in that table i have a column named view. After clicking on vi

Linking an external stylesheet to only specific HTML elements

Can I link an external stylesheet to only a specific element of an HTML file? I tried this: <div id="main"> <!-- I don't want to style .alert from th

ngb Pagination [(page)] attribute in angular is not working

I am using ngb pagination in my angular project. I have a table that shows 5 records per page and in that table i have a column named view. After clicking on vi

How can I retain the scroll position of a scrollable area when pressing back button?

I have a long list of links inside a big scrollable div. Each time when a user click on a link then click the back button, it starts at the very top of the div.