Solved

Modal Height Too Short

Posted on 2014-03-03
5
339 Views
Last Modified: 2014-03-03
I have a modal pop up but the container is too short.  How do I make it taller?

http://www.bricooper.net

Go to "Share" on the left.
contact.css
0
Comment
Question by:DS928
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39899945
I would say it's here you need to modify:
<a href="javascript:popWin('mail.php?do=tell',440,520)">Share</a>

where the 440 and 520 are the heigth and width of the popup to be displayed.
increase the 440 to 500 for example and check...
0
 

Author Comment

by:DS928
ID: 39900010
Thank you, but I am no longer using that link.  Go to http;//www.bricooper.net
Click on "Share"  I attached a CSS file. or would the height be in the Javascript?
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39900064
sorry, I have overlooked that.
well,
#contact-container
{font: 16px/22px 'Trebuchet MS', Verdana, Arial; text-align:left; width:450px;
}

is not specifying any heigth, so I would put the heigth in there?
but I do also see that the form is not increasing height when you resize the text area, I think the real issue should be adressed there ...
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39900127
On line 36 of the contact css, I would change the  padding for the top and bottom.

#contact-container form {
margin: 0;
/*padding: 0;*/
padding-top:30px;
padding-bottom:30px;
}

Open in new window


and on line 40 add some padding or margin to both the label and input
contact-container label {
clear: left;
display: block;
float: left;
font-weight: bold;
padding-right: 4px;
text-align: right;
width: 100px;
padding-top: 20px;
}

Open in new window

media="screen"
#contact-container .contact-input {
background: #eee;
border: 1px solid #fff;
font-family: 'Trebuchet MS', Verdana, Arial;
float: left;
padding: 2px;
margin: 2px;
width: 300px;
padding-top: 20px;
}

Open in new window

0
 

Author Comment

by:DS928
ID: 39901977
Ok that helped alot.  Still have a problem with the height, from the looks of things, it seems that the bottom is being cut off as the corners are not rounded.  Something, somewhere is restricting it.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question