CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 28th, 2000, 11:33 AM
stubbed_toe stubbed_toe is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 1 stubbed_toe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I know lots of people have this problem: I've got a webpage put together which looks great with normal fonts, but gets all jumbled when viewed on a computer with large fonts.

I've read a lot of posts saying that you can overide the font setting with CSS and the important! tag, but i can't get this to work!

Is it possible to do this? if so, how?

any thoughts or insight would be greatly appriciated - i'm getting pretty frustrated...

thanks a lot!
alex

Reply With Quote
  #2  
Old July 1st, 2000, 11:30 PM
jcbell jcbell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 jcbell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If your web page is getting jumbled on another person's pc with large font settings, it might be a sign that your web page has too much stuff on it....i.e. you might be trying to cram too much on the page. Break up the page into one or more pages with a main page which the surfer uses to navigate to/from. Many terrific web sites have simple uncomplicated html. There should be nothing wrong with normal fonts.
You can't please everyone, no matter how hard you try.

Reply With Quote
  #3  
Old July 2nd, 2000, 05:55 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
as an example - before your <body> tag - in or out of the <head> put

<style>
A.link{ color : #ff0000 ;
font-family : Arial,Century Gothic ;
font-size : 10pt;
text-decoration:underline;
}
A.bluelink{ color : #ff0000 ;
font-family : Arial,Century Gothic ;
font-size : 10pt;
text-align : justify ;
}

.smallred{ color : red;
font-family : Arial,Century Gothic ;
font-size : 8pt;
text-decoration:none;
}
.bigred{ color : #red ;
font-family : Arial,Century Gothic ;
font-size : 18pt;
text-decoration:none;
}
redbold{ color : #ff0000 ;
font-family : Arial,Century Gothic ;
font-size : 10pt;
font-weight: 600;
}
</style>

now in your html you can do this:
<font class="bigred">this will be in big red text</font>

or in a table <td class="redbold">this cell will be in bold red text</td>

a normal link - <a href=" etc etc
a blue link - <a class="bluelink" href=" etc etc

Ideally your styles should be kept in a seperate file, but play around with this for a bit and see how you go.



------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
  #4  
Old July 8th, 2000, 06:42 PM
Pepe Pepe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 71 Pepe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
I have style properties in this CSS file:

A:link {
COLOR: #FFFFFF
}
A:visited {
COLOR: #FFFFFF
}
A:active {
COLOR: #00FFFF
}
A:hover {
COLOR: #00FFFF
}


I'm not using <font class...> anywhere in html, and it works.
How can I add style property for ordinary text ?


[This message has been edited by Pepe (edited July 08, 2000).]

Reply With Quote
  #5  
Old July 8th, 2000, 10:26 PM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
BODY {
font-family: Arial, Helvetica, sans-serif; color : #000000 ;
} etc etc

A.link/hover/etc are treated differently to your own classes ie .bigred where you need to assign the class.


------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS to overide large fonts!?!?!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway