The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Sizing text in Javascript, Javascript, CSS, HTML
Rating  4
Learningtheropes
post Feb 10 2009, 03:07 PM
Post #1





Group: Members
Posts: 4
Joined: 10-February 09
Member No.: 7,771



Hello! This is my first post here. I know the basics of HTML, although a lot of what I do is guess work, i.e. typing in a bit of code, crossing my fingers, then yelling, "AURGH!!" when it doesn't work.

I have a blog for brides on a budget with which I'm experiencing some trouble in Internet Explorer. The url is http://www.budgetbride.tumblr.com, and I would really appreciate it if someone using Internet Explorer could take a look at it and help me out.

The blog is a Tumblr blog, and therefore doesn't support comments. I had to add comments to my blog using Disqus. Everything seems to be working fine, except the text, "Trackback URL" looks huge in IE when you click into the "Comments" section of any post.

It used to be that all the text associated with Disqus was huge, but I was able to work with the HTML to shrink everything down. Everything but "Trackback URL." This looks to be linked to the Javascript and I'm not sure where to specifiy the font.

Can I add something to my CSS to get this font size down in IE?

Also, any tips on keeping fonts low in IE would be very helpful. I have been having a lot of trouble with this.

Here is the section of HTML and Javascript I brought in from Disqus:

<div style="font-size: 10px; text-align: left;"><a href="{Permalink}#disqus_thread"><font size="2"> Comments (View)</font></a></div>
{/block:Posts}

{block:Permalink}
<script type="text/javascript">var disqus_url = "{Permalink}"; var disqus_title ="{block:PostTitle}{PostTitle}{/block:PostTitle}";</script>
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/budgetbrideblog/embed.js"></script>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
{/block:Permalink}

<script type="text/javascript">
//<![CDATA[
(function() {

var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0)
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
document.write('<script type="text/javascript" src="http://disqus.com/forums/budgetbrideblog/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>

Thanks in advance!

Bethany

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 09:25 AM