Results 1 to 2 of 2

Thread: Beginner's blues

  1. #1
    Join Date
    Oct 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Beginner's blues

    Hi everyone,

    I'm a real newbie to css, and i'm tryin to do two things. Firstly i'm trying to use a style sheet to display an image in a layer, but as the image is the same on each page, i don't want the image to reload or flash every time i click on a page.

    Secondly i'm tryin to have all my text the same size, so that if someone's browser was set to large fonts, the css code would force the text to keep its size. Here's the css:

    .textresize {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 19px;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    color: #ffffff;
    }


    And here's how it fits in

    <DIV id="text" style="position:absolute; left:-152px; top:56px; width:515px; height:155px; z-index:10">
    <DIV align="justify"><SPAN class="textresize"><FONT color="5C64A3" size="2" face="Geneva, Arial, Helvetica, sans-serif">We
    deliver fresh, innovative designs that are unique for every project - no matter
    how large or how small. </FONT> </SPAN>
    <P><SPAN class="textresize"><FONT color="5C64A3" size="2" face="Geneva, Arial, Helvetica, sans-serif">A
    creative “Blue Sky” approach is used on every project, Our unique
    blend of in-house skills and the close liaison between the various departments
    within the Five Lamps Group means that we can achieve both consistency of
    design and economies of scale when dealing with mixed-media projects.<BR>
    </FONT></SPAN> </P>
    </DIV>


    I'm not really sure whether i've put it in right, but its not causing any effect on the page yet. Anyway thanks very much in advance,

    Christine

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Please don't cross-post.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •