Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    5
    Member #
    11803
    Hi,

    I sincerely appreciate any help anyone can give me....

    This is my first attempt at a page I've built using absolutely no tables. For the most part, it's happy. But I'm trying to get the css styles and divs to work out properly.

    Here is what I want the site to look like...
    http://www3.telus.net/public/tkapka/...s/ttmom-v1.jpg

    Here is how it looks now...
    http://www3.telus.net/public/tkapka/...dexfloat2.html

    Here's my style sheet...
    http://www3.telus.net/public/tkapka/...omomfloat2.css


    Here are my issues...

    1. As you can see, the top part of the page (the entire banner) is one <div>. It's divided into two <div>s (.mhleft & .mhright), side by side. But when I open it in IE, they are stacked one on top of the other!

    2. I would like my body text to be aligned to the center, starting from "Quote of the Week". This will have the style .bodytext applied to it, but I want to be able to center it as I'd like to just by using align="center", not a separate style sheet.

    Thanks for any help...
    Tanya

  2.  

  3. #2
    Senior Member Arkette's Avatar
    Join Date
    Jan 2006
    Location
    Europe
    Posts
    102
    Member #
    12297
    The first thing to say is that mixing inline style with external stylesheets, makes things very to difficult to follow. However, if you modify your stylesheet to :
    Code:
    .mhleft {
    text-align: left;
    width: 434px;
    background-image: url(images/ttmom_01.jpg);
    background-repeat: repeat;
    background-position: left top;
    float:left;
    }

    then this should solve your first problem.
    N.B. the combined width (includding borders and padding,) of the two divs must be less than or equal to the width of the enclosing div
    End of Line.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:48 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com