<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Hot Scripts Forums - CSS</title>
		<link>http://www.hotscripts.com/forums/</link>
		<description>.body { Discuss everything about Cascading Style Sheets in this forum }</description>
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 15:57:59 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://cdn.hotscripts.com/forums/hsforum/misc/rss.jpg</url>
			<title>Hot Scripts Forums - CSS</title>
			<link>http://www.hotscripts.com/forums/</link>
		</image>
		<item>
			<title>@font-face help (Trying to get a graceful degrade)</title>
			<link>http://www.hotscripts.com/forums/css/55944-font-face-help-trying-get-graceful-degrade.html</link>
			<pubDate>Sat, 21 Nov 2009 02:04:27 GMT</pubDate>
			<description><![CDATA[I'm using @font-face to embed a font, but the custom font has a different scale than the system fonts it degrades to.    For example:  
 
Custom font at 25 px is about the same "size" as 12 px Arial.   
 
The problem arises when an older browser doesn't support the custom font, it degrades to...]]></description>
			<content:encoded><![CDATA[<div>I'm using @font-face to embed a font, but the custom font has a different scale than the system fonts it degrades to.    For example: <br />
<br />
Custom font at 25 px is about the same &quot;size&quot; as 12 px Arial.  <br />
<br />
The problem arises when an older browser doesn't support the custom font, it degrades to Arial, but still keeps the 25pt making the text much larger.<br />
<br />
I'm wondering if there's a CSS trick for this, or if anyone can suggest a typography program that will allow me to change the aspect ratio / height size of a font file.<br />
<br />
Thanks!<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">@font-face {&nbsp; <br />
&nbsp; font-family: &quot;My Font&quot;;&nbsp; <br />
&nbsp; src: url(../font/myfont.eot); /* IE */&nbsp; <br />
&nbsp; src: local(&quot;My Font&quot;), url(../font/myfont.ttf) format(&quot;truetype&quot;); /* non-IE */&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
body {<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-family: &quot;My Font&quot;, Arial, sans-serif;<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-size: 25px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/css/">CSS</category>
			<dc:creator>therocket954</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/css/55944-font-face-help-trying-get-graceful-degrade.html</guid>
		</item>
		<item>
			<title>help with csshover3.htc please</title>
			<link>http://www.hotscripts.com/forums/css/55815-help-csshover3-htc-please.html</link>
			<pubDate>Tue, 10 Nov 2009 02:28:47 GMT</pubDate>
			<description><![CDATA[I am learning to create drop down menu using css. Everything works fine in chrome, FF. But IE 8, the submenus don't pop up. All the info I read by googling said  that using csshoverX.htc file from peter ned and conditional comment for IE in style sheet should make the submenu pop out, but it didn't...]]></description>
			<content:encoded><![CDATA[<div>I am learning to create drop down menu using css. Everything works fine in chrome, FF. But IE 8, the submenus don't pop up. All the info I read by googling said  that using csshoverX.htc file from peter ned and conditional comment for IE in style sheet should make the submenu pop out, but it didn't<br />
<br />
I have done an exhaustive googling but didn't find fix. Any help would be greatly appreciated. My very simple html, css, and csshover3.htc are attached with this post as txt files. All files are in the same folder/directory on my local machine, which is xp pro.<br />
<br />
Thanks</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://cdn.hotscripts.com/forums/hsforum/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.hotscripts.com/forums/attachments/css/1087d1257819950-help-csshover3-htc-please-csshover3.txt">csshover3.txt</a> (9.1 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://cdn.hotscripts.com/forums/hsforum/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.hotscripts.com/forums/attachments/css/1088d1257819960-help-csshover3-htc-please-index.txt">index.txt</a> (2.9 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://cdn.hotscripts.com/forums/hsforum/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.hotscripts.com/forums/attachments/css/1089d1257819970-help-csshover3-htc-please-style_nav.txt">style_nav.txt</a> (1.4 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/css/">CSS</category>
			<dc:creator>alexv55</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/css/55815-help-csshover3-htc-please.html</guid>
		</item>
		<item>
			<title>Internet Explorer, Why?</title>
			<link>http://www.hotscripts.com/forums/css/55802-internet-explorer-why.html</link>
			<pubDate>Sun, 08 Nov 2009 08:09:29 GMT</pubDate>
			<description>Hey Coders, 
 
I am currently working on a project located here: Team24CS (http://www.jxhnetwork.com/team24/). 
 
Right now, I checked the site with Opera, Fire Fox and Safari and everything appears as intended. Of course, when viewed with IE, there are issues. :uhh: I have never done any cross...</description>
			<content:encoded><![CDATA[<div>Hey Coders,<br />
<br />
I am currently working on a project located here: <a href="http://www.jxhnetwork.com/team24/" target="_blank">Team24CS</a>.<br />
<br />
Right now, I checked the site with Opera, Fire Fox and Safari and everything appears as intended. Of course, when viewed with IE, there are issues. :uhh: I have never done any cross browser style sheet fixes, so I was hoping to use this as an opportunity to learn this. I have seen other sites where in the head of the HTML code, they have scripts like &quot;if. {internet explorer}&quot; or what not. Anyone care to share some knowledge?<br />
<br />
I tried Googling for it, but it seems I failed at choosing the right terms ;)<br />
<br />
Any links or help is greatly appreciated!<br />
<br />
Warm Regards,<br />
Jason Xiao<br />
<br />
P.S. I know there are validation errors. I will fix those when done :p</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/css/">CSS</category>
			<dc:creator>DieuxSoldat_04</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/css/55802-internet-explorer-why.html</guid>
		</item>
		<item>
			<title>Problem Aligning Images in a Row at Bottom of a Div</title>
			<link>http://www.hotscripts.com/forums/css/55725-problem-aligning-images-row-bottom-div.html</link>
			<pubDate>Mon, 02 Nov 2009 03:22:22 GMT</pubDate>
			<description>Hello, 
 
I am trying to get a row of divs to align at the bottom of a container div. With the CSS I have applied, everything is aligning at the bottom but the divs (and the images and text within them) all seem to be stacking on one another. I need them to display in a row with a 25px margin-right...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I am trying to get a row of divs to align at the bottom of a container div. With the CSS I have applied, everything is aligning at the bottom but the divs (and the images and text within them) all seem to be stacking on one another. I need them to display in a row with a 25px margin-right to all of the divs inside of the container.<br />
<br />
The following is the css code for the divs:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#container {<br />
&nbsp; &nbsp; &nbsp; &nbsp; position: relative;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height:300px;<br />
}<br />
<br />
#subdiv {<br />
&nbsp; &nbsp; &nbsp; &nbsp; position: absolute; <br />
&nbsp; &nbsp; &nbsp; &nbsp; bottom: 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float:left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width:25%;<br />
}</code><hr />
</div>The HTML is as follows:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;container&quot;</span>&gt;</span><br />
&nbsp; &nbsp;  <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;subdiv&quot;</span>&gt;</span><br />
&nbsp; &nbsp;  Image and text inside.<br />
&nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp;  <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;subdiv&quot;</span>&gt;</span><br />
&nbsp; &nbsp;  Image and text inside.<br />
&nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp;  <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;subdiv&quot;</span>&gt;</span><br />
&nbsp; &nbsp;  Image and text inside.<br />
&nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp;  <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;subdiv&quot;</span>&gt;</span><br />
&nbsp; &nbsp;  Image and text inside.<br />
&nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;/div&gt;</span></code><hr />
</div>If anyone can offer any assistance on this problem, your help is greatly appreciated.</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/css/">CSS</category>
			<dc:creator>sccc2008</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/css/55725-problem-aligning-images-row-bottom-div.html</guid>
		</item>
		<item>
			<title>This is driving me nuts: div appearing outside other div</title>
			<link>http://www.hotscripts.com/forums/css/55654-driving-me-nuts-div-appearing-outside-other-div.html</link>
			<pubDate>Mon, 26 Oct 2009 22:59:42 GMT</pubDate>
			<description><![CDATA[If you look here (http://cgt.nbaumann.com/project2/template.php) you will see that the red boxes are appearing outside the white area and over the footer. I'm not able to get those in the white content area, it's become very annoying. 
 
Below is my code: 
 
 
HTML: 
--------- 
<!DOCTYPE html...]]></description>
			<content:encoded><![CDATA[<div>If you look <a href="http://cgt.nbaumann.com/project2/template.php" target="_blank">here</a> you will see that the red boxes are appearing outside the white area and over the footer. I'm not able to get those in the white content area, it's become very annoying.<br />
<br />
Below is my code:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#000080">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;</span><br />
<span style="color:#000080">&lt;html xmlns=<span style="color:#0000FF">&quot;http://www.w3.org/1999/xhtml&quot;</span> xml:lang=&quot;en&quot; lang=<span style="color:#0000FF">&quot;en&quot;</span>&gt;</span><br />
<span style="color:#000080">&lt;head&gt;</span><br />
<span style="color:#000080">&lt;meta http-equiv=&quot;Content-Type&quot; content=<span style="color:#0000FF">&quot;text/html; UTF-8&quot;</span> /&gt;</span><br />
<span style="color:#000080">&lt;title&gt;</span>Scenes | <span style="color:#000080">&lt;?php echo $title; ?&gt;</span><span style="color:#000080">&lt;/title&gt;</span><br />
<span style="color:#000080">&lt;link rel=<span style="color:#0000FF">&quot;stylesheet&quot;</span> href=<span style="color:#0000FF">&quot;template/style.css&quot;</span> type=<span style="color:#0000FF">&quot;text/css&quot;</span>/&gt;</span><br />
<span style="color:#000080">&lt;/head&gt;</span><br />
<span style="color:#000080">&lt;body&gt;</span><br />
<span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;mainContainer&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;mainHeader&quot;</span>&gt;</span>Header<span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;topNav&quot;</span>&gt;</span>top nav<span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;content&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;div id=catList&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;div class=<span style="color:#0000FF">&quot;catBox&quot;</span>&gt;</span>dfs<span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;div class=<span style="color:#0000FF">&quot;catBox&quot;</span>&gt;</span>dfs<span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;div class=<span style="color:#0000FF">&quot;catBox&quot;</span>&gt;</span>dfs<span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp;  <span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;footer&quot;</span>&gt;</span>footer<span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;/body&gt;</span><br />
<span style="color:#000080">&lt;/html&gt;</span></code><hr />
</div><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">body {<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-top: 0px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #B1946C;<br />
}<br />
<br />
#mainContainer {<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 750px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin: 0 auto;<br />
}<br />
<br />
#mainHeader {<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #FF0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; min-height: 91px;<br />
}<br />
<br />
#topNav {<br />
&nbsp; &nbsp; &nbsp; &nbsp; min-height: 30px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color: #ffffff;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #000;<br />
}<br />
<br />
#content {<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #FFF;<br />
}<br />
<br />
#catList {<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 710px;<br />
}<br />
<br />
#catList .catBox {<br />
&nbsp; &nbsp; &nbsp; &nbsp; float: left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 170px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #F00;<br />
&nbsp; &nbsp; &nbsp; &nbsp; min-height: 180px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-left: 10px;<br />
}<br />
<br />
#footer {<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; min-width: 750px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color:#0F6;<br />
}</code><hr />
</div><br />
What am I doing wrong? Help is much appreciated!<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/css/">CSS</category>
			<dc:creator>nbaumann00</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/css/55654-driving-me-nuts-div-appearing-outside-other-div.html</guid>
		</item>
	</channel>
</rss>
