I need to make a responsive web, so that the width of parent is dynamic. There are two flex items, one is long (dynamic) and another one is short (static). I hope the result can look like the second line, that the long text is broken (or hidden when
I am trying to get the page to focus on an empty element, if its within a collapsed div it will then open that element and focus on the required field which was empty. I am using bootstrap for the collapse functionality. At the moment if the form is
I have 2 table (To make make my header fixed I am using this approach). All table width is in percentage for responsive approach. Table 1: Only to show header(only one column). Table2: To show data.It's wrapped in div with style height:70px & overflo
I am going through this example to make my div consistent to the page / screen resolution. Even this looks very simple but I dont know why its not working with me. I did the same in my page but not working. It shows me div.container 1066.39 x 18 in p
I am using Wordpress to build a website. I have set images as slider with bootstrap. My css codes are: min-width: 100%; height: auto; object-fit: contain; overflow: hidden; But it stretches itself unexpectedly. It shows it's height much more bigger t
I have a textbox as follow. <div class="form-group"> <label for="passwordr">Repeat Password</label> <input type="password" class="form-control" required="" name="passwordr" v
I have the following HTML code: <button class='drpDwnRp'>Select...<span class='caret'></span></button> <ul class='dropdown-menu'> <li><a><i class='glyphicon glyphicon-ok'></i>SELECT All</a></l
PHP <div id="lightbox" class="row filteredVideoContent"> <?php foreach ( $aVideo as $oVideo ){?> <div class="col-sm-6 col-md-3 col-lg-3 photography app" id="load_data"> <div class="portfoli
I'am trying to center this: [![enter image description here][1]][1] Here is the HTML: <section class="page-section parallax directions" id="location" style="padding-top:10%"> <div class="container div-table"
I'm using Dreamweaver and I want to color the rows of a dynamic table alternately. I can't seem to find any answers that work for me or that I understand. Could you give a sample CSS on how to do it? Explanations would help because I'm not confident
On this site we have the main menu. 'On hover' the menu-items i want to change the 'Main-image' in the third column. The owner is using a plugin to built the menu. I am stuck to this structure. But i can give a CSS class name: links1, links2 etc (to
I have a list of three items like <ul id="tab_sel35116"> <li><a href="#description35116" class="job_content" data-id="35116">Description</a></li> <li><a href="#msg_body351
my layout broken when I implement bootstrap during the half way of my project, fixed that with some css modification, and I had commented out this /**, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: borde
I'm working on a site here: http://mccarronandco.com/newsite/modena.php They've now decided they want the pictures to fade in when you click a thumbnail rather than just have the image switch. The current code is: <div id="mainimage"> <
I have a HTML table and I want the last row excluding row with class .table-bottom, and remove its border-bottom: <table cellpadding="0" cellspacing="0" style="width:752px;" class="table"> <tr class="t
Sorry, proper newb here. I can't figure out how to display my title/logo and navigation on the same line in my css code. I want the title/logo to be on the left and the nav to be on the right. Please help me! A link to the work in progress http://sai
I am using a CDN css file which sets a "top" property for an item which was recently added as a new release. This 'top' property completely throws off the height of a list item in my code. I am certain this is the culprit by use of Firebug. Norm
I'm not understanding why I'm not able to highlight the current menu page on a navigation bar (except the fact I'm a total beginner :-) I'm using a JQuery function, one among many I've found on the net, none of them working. Function is: <script type
This has been driving me nuts! I can get one group of list item's to stack horizontally (by floating) inside of a un-ordered list by limiting the height of the un-ordered list. However, if I put a un-ordered list inside of one of the list items (that
I've seen a million blog posts about this subject but I cannot find a solution for my specific problem. My set up is the following: <div id="wrapper" style="position:absolute; max-width:500px; min-width:300px; width:100%"> </d
I would liek to use jquery to find every single instance of a strong tag within a p tag, and add a class to the p tag like so: <p><strong>Bold Text</strong></p> will become <p class="hasStrong"><strong>Bold Te
I want to determine if a block of text is cut-off/showing an ellipsis so that I can conditionally add a [more] link after it. Here's the CSS I'm using: .more-text-collapse { display:inline-block; max-width:400px; height:1.2em; overflow:hidden; text-o
I'm working on a site which has some big images etc to show. On my screen, at 1024 x 768 resolution, it fits the screen completely, going from left to right. However on my client's screen, who has a bigger resolution, he sees the right part of the sc
I am trying to make a small store map with a pointer on it showing the location in the store. I have created this using jQuery and it works perfect in Chrome. Yet, in Firefox and internet explorer, the pointer is positioned behind the map and it is i
I'm trying to create a sliding, resizable bar inside a container. For some reason, the resizable method is converting the div from Position:Relative to Position:Absolute. This is then visually moving the box, and ruining the scroll action of the cont
I am trying to split the content into 2 columns using the below CSS .container2 {width: 320px; height: 100px; display: block;} .image2 {border: 1px solid #F2F3F4; float: left; height: 50px; margin-right: 6px; padding: 1px; width: 50px;} .image2 img {
Why do I have gaps between my tabs? my css for each tab is: .tab1 { color: white; display: inline-block; height: 110px; width: 234px; background-image: url("../images/first-tab.png"); background-repeat:no-repeat; } .tab2 { color: white; display:
I have a containing div that is constrained in its height and width. It has 2 child elements. The first child can be of variable height (as the text within it can wrap, and this is desired behavior). The second child is a div wrapping a table. The di
I have 12 divs. I need to select the ones marked THIS. I was thinking some sort of nth child magic? Thanks! ie. <div class="feature"></div> <div class="feature"></div> -> THIS <div class="feature"
According to quirks mode, internet explorer 8 does support table options for display property, but in this example it exhibits very strange behaviour http://jsfiddle.net/e3cUn/3/ In a normal browser, inner image will be scaled to fit 150x150 box with