1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

This is probably a pretty basic thing....

Discussion in 'CSS' started by Kaediem, Oct 23, 2005.

  1. #1
    I'm trying to learn css but I'm having a real battle trying to get my text to stick with the background image when the window is resized - this is my code - can someone tell me what I'm doing wrong?

    .text {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: italic;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    color: #599191;
    text-decoration: none;
    text-align: left;
    border: thick ridge #AAAFAF;
    overflow: auto;
    position: absolute;
    z-index: 1;
    height: auto;
    width: auto;
    background-attachment: fixed;
    background-image: url(../design%20images/kaediem.png);
    background-repeat: no-repeat;
    background-position: center top;
    white-space: normal;
    float: left;
    margin-top: auto;
    margin-left: auto;
    clear: left;

    There's probably all kinds of stuff that doesn't need to be there but I just keep stabbing at stuff trying to get it to work.

    Thanks in advance

    Lisa
     
    Kaediem, Oct 23, 2005 IP
  2. Arnica

    Arnica Peon

    Messages:
    320
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is the page live somewhere we could look at?
     
    Arnica, Oct 23, 2005 IP
  3. Kaediem

    Kaediem Well-Known Member

    Messages:
    1,128
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    150
    #3
    thanks, no the page wasn't live anywhere but I think I finally figured that part out. If I run into another problem I'll put the page up live before I ask a question - that would have made sense.

    Thanks,

    Lisa
     
    Kaediem, Oct 24, 2005 IP
  4. balkanboy

    balkanboy Banned

    Messages:
    1,950
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just for your information you don't have to set every field to normal value. That's needed only if for example you define all p tags to be bold and after that you want some paragraph which has ID or class not to be bold. So don't do it if you don't need to.
     
    balkanboy, Oct 27, 2005 IP