Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

news feed font adjustment question 1

Status
Not open for further replies.

occas

Technical User
Jan 14, 2004
164
US
if (!early_exit)
{
var webfeed_heading = "";
var width = "400";
var numberofarticles = global_article.length;
var item_spacing = "5";
var cluster_bgcolor = "ffffff";
var cluster_border = "0";
var heading_display = "Yes";
var time_display = "Yes";
var cell_spacing = "0";
var cell_padding = "1";
var heading_bgcolor = "ffffff";
var heading_font = "Verdana, Arial,Helvetica, sans-serif";
var heading_font_size = "-1pt";
var heading_fgcolor = "0000ff";
var headline_bgcolor = "ffffff";
var headline_font = "Verdana, Arial,Helvetica, sans-serif";
var headline_font_size = "-1pt";
var headline_fgcolor = "0000ff";
var source_font = "Verdana, Arial,Helvetica, sans-serif";
var source_font_size = "-1pt";
var source_fgcolor = "ff0000";
var access_font = "Verdana, Arial,Helvetica, sans-serif";
var access_font_size = "-1pt";
var access_fgcolor = "ff0000";
var time_font = "Verdana, Arial,Helvetica, sans-serif";
var time_font_size = "-1pt";
var time_fgcolor = "ff0000";
var time = new Array(global_article.length);

the above code is from a news feed at a site i am working on. if i set the font size to 7pt, for example, they are HUGE. 1pt is still to big, but regardless of what i try, 1pt is as small as i can get. any help ty.
 
7pt too big???

for me (and the rest of the world i suspect) 7pt is pretty small, and 1pt nearly invisible

=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
If I am seeing correctly, you are applying font size of -1pt in your script. Since font cannot have a negative points size, the program probably understands it as inherent font-sizes. You can always try defining the sizes in pixels (font_size = "8px") but I am pretty sure if you remove the negative sign in front of 1pt, you won't be able to see the font anymore. If you will, try it on another system/browser. Maybe your browser is set to display fonts extra large.
 
ty. when i view it with mozilla 1.6, it is fine. ie6 has the fonts large.
 
in IE, check your font settings under

View > Text Size (mine is set to "Medium")


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
thanks. that made a difference because it was set to larger. but i am confused about something. even with set to larger, all the other fonts on my pages behave as you would expect. it's just that news feed that wants to look big.
once again, thanks jeff.
 
are the other fonts on your page set with "pt" or "px"? i believe "px" will override the user's size setting.


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top