Results 1 to 3 of 3

Thread: Beginner's blues

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

    Smile 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 new 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 x

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

    Default

    The first is impossible; the second is impractical. If someone has their browser set to use large fonts, it's probably because they need large fonts; making your page unreadable for aesthetic purposes is not a good idea.

    Also, 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!

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

    Default

    Great, thanks v. much!

    I've got the text sorted now, it was just so it could fit in side an area on an image, but i take your point.

    Sorry about the cross post, pressed the button by mistake!

    Have Fun

    Christine!

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
  •