View Full Version : Beginner's blues

03-30-2006, 02:06 PM
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>

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 :)

03-30-2006, 02:13 PM
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.

03-30-2006, 03:11 PM
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