Click to See Complete Forum and Search --> : layer styles


Sul
02-13-2004, 04:53 PM
Hi

I have some content (text) in a layer which I would like some styles applied to from my custom made style-sheet. However, it seems that the style is not being applied - or at least the font face. The font face I'm using in Arial..it's a standard font so should work?

Sam
02-13-2004, 04:59 PM
it should, perhaps we could see your code to check for any errors. also, css uses "font-family" not "font-face" incase that's the error

Ben Rogers
02-13-2004, 09:02 PM
Sul, are you a newb to CSS? And that is what you mean by stylesheet, correct? Either way this thread should've gone in the CSS forum.

fredmv
02-13-2004, 09:29 PM
Originally posted by samij586
perhaps we could see your codeIndeed; otherwise, we can't really help much.

Ben Rogers
02-13-2004, 09:36 PM
Yeah we're gonna need a link or some code here.

Sul
02-14-2004, 10:28 AM
Woah...okay lol, sorry guys, I did realise I posted in the incorrect forum, I tried to delete the post and repost in css forum, but had no permissions. I apologise. :) No, not really a "newb" to css, but not really that experienced yet either.

Yes, I realise I should have posted the code. I have an external style sheet, and an embedded one (with the embedded one being higher priority ofcourse):



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Ximensions.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="ximensionstyle.css">

<style type="text/css">
#newsfdscrollcontainer
{
position:relative;
left:6px; top:2px; width:106px; height:130px; clip:rect(0px 106px 130px 0px);
overflow:hidden;
border-bottom-style:solid; border-bottom-color: #FFFFFF; border-bottom-width:1px;
border-top-style:solid; border-top-color: #FFFFFF; border-top-width:1px;
}
#newsfdscrollcontent {position:absolute; left:0px; top:0px; height:685px}
.style1 {color: #FFFFFF}
</style>
</head>
<body>
<div id="newsfdscrollcontainer" class="normal">
<div id="newsfdscrollcontent" class="normal">
<p>some test stuff</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>even</p>
<p>even</p>
<p>even</p>
<p>even</p>
<p>even</p>
<p>&nbsp; </p>
</div>
</div>

</body>
</html>


Edited:

- Thanks guys, I fixed it - the problem was that I didn't use the correct syntax, should have been using font-family, as you said before...silly mistake since I know this :). Thanks for your responses and help.

Sam
02-14-2004, 05:49 PM
um... you didn't post the part that we really need. we need your .normal style, since neither your #newsfdscrollcontainer or your #newsfdscrollcontent defines a font