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
Solved

Modal Height Too Short

Posted on 2014-03-03
5
336 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
  • 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

861 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