BENDIS! Tweets

Tweets are Loading...



Results 1 to 4 of 4

Thread: Web Design Question

  1. #1
    Made Evan Wiener's Avatar
    Join Date
    Mar 2005
    Location
    Bensalem - named after some dude named Ben
    Posts
    7,905

    Web Design Question

    I have a div box with a border with the height set to "auto." Inside the div is some text along with another smaller div box with an image inside.

    The outer box's height isn't increasing to fit around the height of the div inside. Also, IE is doing something very weird by adding some space before the quote mark. Firefox isn't doing that...

    I've attached a screenshot of the issue. Here's my code:
    HTML:
    Code:
    <div id="Case_Study_Container"> 
                <div id="Case_Study_Quote">
               <div id="client_name"> 
                <img src="images/cs_photo_grupo.jpg" width="88" height="118" border="0" alt="Photo" class="photo" />
                 <strong>Mr. Michel Montant</strong>
                  - Vice President of Operations for Grupo Posadas
                </div>
    &quot;Prometeo is at the core of our strategy to create a competitive advantage through service. This advantage will help us create loyal customers that will give us their business for the long term. Prometeo has helped us attain the consistency that is so difficult to achieve in a chain of our size.&quot;</div>            
              </div>
    CSS:

    Code:
    #Case_Study_Container {
        color: #000;
        margin: 10px 0px 10px 0px;
        padding: 10px 10px 10px 10px;
        border: 1px solid #333;
        width: auto;
        }
    
    #Case_Study_Quote {
        margin: 0px 0px 0px 0px;
        padding: 0px;
        background-color: #FFF;
        height: auto;
        }
        
        
    #client_name {
        width: 200px;
        height: 120px;
        margin: 0px 0px 5px 10px;
        padding: 5px 5px 5px 5px;
        float:right;
        background: #FDF8E3;
        border:#000000 solid 1px;
      }
      
    #client_name p {
        margin:0;
        } 
      
    img.photo {
    float: left;
    margin: 0px 10px 2.5px 0px;
    padding: 0px;
    border:none;
    }

  2. #2
    GODFATHER ClintP's Avatar
    Join Date
    Mar 2005
    Location
    Amarillo, Tx
    Posts
    33,628

    Re: Web Design Question

    Have you joined a message board on a web design site yet? When I look for answers online I go to them alot when google redirects me. You should join up with some of those for the amount of questions you have.

    I am not trying to be a dick in the least. and I submit to hating CSS and that it kicks my ass.

  3. #3
    Made Evan Wiener's Avatar
    Join Date
    Mar 2005
    Location
    Bensalem - named after some dude named Ben
    Posts
    7,905

    Re: Web Design Question

    Yeah, I have, but I find I often get faster responses here, surprisingly.

  4. #4
    GODFATHER ClintP's Avatar
    Join Date
    Mar 2005
    Location
    Amarillo, Tx
    Posts
    33,628

    Re: Web Design Question

    Quote Originally Posted by Evan Wiener View Post
    Yeah, I have, but I find I often get faster responses here, surprisingly.
    Ah. I guess I can see that. We are all avoiding work while those ppl are embracing it. Carry on!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •