I have to divs side by side, I want to have the same height
Hello
I have divs side by side, I want to have the same height no matter if more content is in div 1 or div 2. I want it to be sensitive so when the window resizes or if the user is on mobile or tablet, it still works. I tried the columns wrong but with the shapes of background / I want that just, it will not work with this technique. I also tried to use the hack 1000px-1000px fill however this cut of the lower part of the div that is unacceptable because the divs have a RADIUS on the corners. He comes to the jquery that I tried and it runs in full screen mode, but when the content inside the div resizing is eliminated. Here is the jquery:
< script src = "jquery - 1.10.2.min.js" > < / script >
< script >
$(document) .ready (function () {}
{$(window) .resize (function ()}
resizeDivs();
});
var resizeDivs = function() {}
var highestCol = Math.max ($('.discription').height (), $('.targetinfo').height ());
$('.discription').height (highestCol);
$('.targetinfo').height (highestCol);
var highestCol = Math.max ($('.discription1').height (), $('.targetinfo1').height ());
$('.discription1').height (highestCol);
$('.targetinfo1').height (highestCol);
}
resizeDivs();
});
< /script >
Please let me know if you have a decent jquery or css solution. So far I have it works in a sensitive environment. Thank you
If you use fluid grid Layouts, none of these methods do not work. I think the best you can do is determine the min-height required for desktop computers & tablets. Mobile devices do not need min-height because these divisions will stack up.
To illustrate by an example.
http://ALT-Web.com/FluidGrid/Fluid2.html
The corresponding CSS code:
/ Special rules for tablets * /.
@media only screen and (min-width: 481px) {}
.gridContainer > div {min-height: 255px ;}}
}
/ * Special rules that apply to workstations * /.
@media only screen and (min-width: 1025px) {}
.gridContainer > div {min-height: 325px ;}}
}
Nancy O.
Tags: Dreamweaver
Similar Questions
-
How can I have two areas side-by-side the same height (likely using float)?
If you take a look at these two pages on my site, you should be able to see what I have to do.
On this page http://staging-area-2.com/CraigClark.html the left sidebar should expand to be at the same height as the right pane.
On this page http://staging-area-2.com/index.html the right pane should expand to be at the same height as the side bar on the left.
What should I do for that no matter what the size of the pane on the right, both the left sidebar and the right pane are the same height?
Same height CSS columns
http://ALT-Web.com/articles/equal-height-CSS-columns.shtml
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
-
I try to use a square twice side by side on my site, and they are sensitive, but as they have a different amount of content in them, they are different height. How do I make them the same height so they dimensionnera always evenly?
Here is an example of what I want to do.
Here is the css and html I use;
. Half-width {} content
Width: 50%;
Float: left;
Max-width: 675px;
Max-height: 338px;
}
. {Texthalf}
Width: 80%;
height: 80%;
margin: 10% 10%;
}
< div class = "Half-width-Content" style = "" background-color: # 2793 3; ">"
< div class = "Texthalf" >
< h1 > < font color = "White" > did you know? < / police > < / h1 >
< hr > < / h >
< h6 > < font color = "White" > Hacel has combined 100 years of experience in the lighting industry < / police > < / h6 >
< hr > < / h >
< / div >
< / div >
And this is what I get now;
Thank you
First - make sure you include a link to the jquery library in your page head tags:
And then paste the code I provided after him.
-
query to view separate lines that have the same values
Hello
I have the columns id, addr1, addr2, city and State of coding. I need to know all the coding IDS that have the same addresses and at the same time filter out the same side of the id of the request.
For example:
acctid addr1, addr2 City State
WEF 1 101 101 sd
1 101 wef sd
WEF 2 101 101 sd
WEF 3 101 101 sd
DC 4 102 102 homeless
From the above data, I want to get filter tier 4 and get lines 1, 2 and 3. How to achieve with a sql query
Thank you
Arch
This has nothing to do with hard... coding is how you test a query without creating the table, so you'd:
with match_finder AS (SELECT acctid, addr1, addr2, city, State, count (*) OVER (PARTITION BY addr1, addr2, city, province) AS identical_rows)
OF
) Select acctid, addr1, addr2, city, province
of match_finder
where identical_rows > 1
/
and the rest, I'm sure, you can find on your own...
HTH
-
How to get the text have the same effect as the video?
Hello
For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.
For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?
A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.
EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.
Thank you
One way is to create a clip made up based on the title and the original clip. Then apply the effect.
Another way is to use an adjustment layer.
Good luck.
Russ
-
I forgot my password for apple and have permission to stage the 2 and broken my old phone and do not have the same number of what I can do my account is already waiting to be reset, but it takes apple long to to deal with the what else is there to do?
You know the e-mail password what do you use? I lost over $ 30 on my old Apple ID because I couldn't get into the email and apple would not transfer my money to my new account.
-
Two iPhones, will have the same content
Two iPhones, it will have the same content, like NOTES, FB, WHATSAPP AND YAHOO MAIL?
I am worried because my friend is using my old iPhone and it can receive notifications the same as what I get.
If you distributed or sold your phone to your friend, you should follow the steps here before releasing the device. If you did, you have no worries.
What to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support
-
RE: "access denied" following the installation of Firefox question. I have the same problem. Details below: I tried opening in Mode safe that has not worked. I have administrative access. When I click on the general tab in properties, I get a message that there is no such thing as "firefox.exe". This file, or any other type 'install' file appears in the directory Mozilla Firefox with the exception of 'uninstall '. I downloaded and tried to install seven times from six different sources, including Mozilla, all with the same results. I also tried a number of solutions on the web for this error without great success. I tried, first of all, to make an upgrade, then remove the old version of Firefox and have been 'install' since then. Avast, Malwarebytes and Threatfire found no malware.
I've never had a similar problem with Firefox before and I used it for years. Anyone has any ideas that I have not already tried? I'm tired of using Internet Explorer! RE: Troubleshooting below - information Windown will not open the downloaded file.
arwade said
I downloaded Firefox on seven different sites
Please download the full installer ONLY of Mozilla.org.
Download Firefox full installation for all systems and languages {web link} -
My husband and I have the same phone. We see them entering and fact phone outgoing calls and missed calls (phone # is in red) from the other phone. Thank you for your help.
This happens when you both share the same Apple ID. It is recommended - for a number of reasons - that each have their own Apple ID and then uses the sharing of the family for things you want to share. http://www.Apple.com/icloud/family-sharing/
-
Why my iPhone has a capacity lower than my iPad when they have the same amount of storage?
Why my iPhone has less capacity (storage wise) than my iPad when they both have the same amount of storage? My pictures takes up to 7.2 GB on my iPhone with only 700 pictures & my iPad takes up to 4.0 GB with more than 1,000?
Check the settings of your devices to the settings > Photos & camera > iCloud photo library > do you both value library optimized? If NOT, this is your answer. If YES, then the size of the local library is adjusted based how much space you have, if you change or display more than full resolution images on a device, than another, on what device the photos were taken, etc.
-
I have the same problem enter password administrator or power on password. Disable the 68253840 code shows. I tried to participate get the battery cmos as suggested on other Web sites, but it's hard to disassemble. I used the enemy months laptop then use more than a week and now this message. .
Hello:
Please read the first post on the link below for what to do with the system off (halt) code given by the PC.
-
On March 28, my ipad 2 use osi 9.2.1 air would not allow internet browsing so I updated to 9.3... I always have the same question. Any advice?
Unfortunately, this is a common problem.
Try turning off JavaScript under settings - Safari - Advanced.
You can find more information at the link:
For those having issues with the iOS 9.3 update please read...
New construction of iOS with the latest bugfixes 9.3 is now available for download
-
I teach online and all my classes have the same user name and password. Now that I clicked "remember me next time", I can connect only in ONE class. How to unlock my login and my password, so that I can use it for all classes. Carol in English
"Remember Me" for the site connections automatically when you return to the Web site is done with a Cookie the site in Firefox.
Try to clear your Cookies for this Web site.
Tools > Options-> life privacy - Cookies = the button show Cookies.
You must use the custom settings for history at the top of this tab to see the View the Cookies button.Enter the domain name in the top search bar and all Cookies for this URL will be displayed. Unless you can figure out which is Cookie to "remember me", you will need to delete them all.
Hold the {Ctrl} key while you click each Cookie in the small window. When this list is all highlighted, click the Cookie delete button at the bottom left.
When you are finished click Close. -
How is the new warnings to date have the same version as the oldest?
I got an email about new updates to my PC. In any case I noticed that I think that all or certain updates have the same version as the previous drivers.
So why is it?
Hello
Is the update also the same thing? In any case, if your device works Scott it is not useless to put anything.
It will also be interesting to know what model of laptop you have and updates are available.
-
How can I know what power adapter is mine since we both have the same for macbook pro 2013?
I mixed my adapter upward with my friend and we both have the same adapter for macbook pro and mine is almost more recent than its adapter. I need to know how can I know who is mine?
I doubt that you can unless it adapt serial numbers or other identification on the cards.
Maybe you are looking for
-
iPhone 6 does not return to the top of automoatically. Software problem?
A friend with an iPhone 6 may not get the phone to save automatically. Mine done but she heard there was a software problem affecting random phones. Someone at - he heard of this?
-
How to exit the shuffle on iTouch?
Shuffle is all the time and there's no way to turn it off or do it change to repeat the same song over and over again. I could do in my old iPod, but the iTouch doesn't seem to have this menu.
-
How can I disable bitlock on windows xp
I activated bitlock on a disk with windows7 and I want to disable it in windows XP
-
Headset Bluetooth connected to the PC, but has stopped working.
I recently bought a Bluetooth hands-free headset, with the intention to use it for my PC and Playstation 3. It took me a while to find a way to connect it correctly, but I managed to put in place and both the speaker and the microphone worked perfect
-
Ok. So when I installed Ubuntu 11.04, I managed to completely erase Windows 7 of my Mini. I ordered the HP recovery USB. I was wondering if that will help me to recover Windows 7 or what should I do? Thanks for the help there ' alls on this.