Set Cell Height With CSS

Posted on 2007-10-01
Last Modified: 2008-07-05
I'm using MS Expressions Web.  I'm using layout tables and cells.  I'm trying to create a CSS style for a page title cell which will reside at the top of all of my pages.  Here's what I have so far:

.TitleCell {
      line-height: 15px;
      vertical-align: middle;
      text-align: center;
      border-top-style: solid;
      border-top-width: 1px;
      border-top-color: #000080;
      border-bottom-style: solid;
      border-bottom-width: 1px;
      border-bottom-color: #000080;
      font-family: Verdana;
      font-size: 10pt;
      font-weight: bold;
      color: #808080;
      font-style: italic;

I'd like to also set the cell height via this style.  Is this possible?  

(PS - I'm too pressed for time at this point to get into the whole CSS vs. Layout tables thing - I've seen it, it looks way cleaner than my stuff, and at some point I'm going to figure that junk out - just not right now xP ).

Question by:ttist25
    LVL 25

    Accepted Solution

    add in height:100px;

    make sure to change the number to suit your needs
    LVL 1

    Author Comment

    Thanks dude.
    LVL 25

    Expert Comment

    anytime.   thanks for the grade :)

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    A colleague recently asked me about how to give his client a small part of the web site that could be completely under the client's control.  Since I have done this sort of thing before to add emergency banners to a web site, I decided I would creat…
    As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
    In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now