View previous topic :: View next topic |
Author |
Message |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Wed Aug 08, 2007 12:25 pm Post subject: Text Display |
|
|
My site is powered by Abyss and works very well. However, a problem has just been brought to my attention. If the surfer uses Firefox the site displays as intended, but if they use IE the text size is much smaller. Altering the text view size in IE one upwards then makes it too big. I have no idea where to look to solve this problem.
Ideas anyone? _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Aug 08, 2007 1:03 pm Post subject: |
|
|
Can you post the code you're using to size the text? It might help us determine the problem. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Wed Aug 08, 2007 2:00 pm Post subject: |
|
|
The unit hes using to size the text may be the problem. For example, if you use the CSS: font-size: 100%; it will appear differently in almost all browsers. It;s like setting it to the default. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Aug 08, 2007 2:02 pm Post subject: |
|
|
Tom Chapman wrote: | The unit hes using to size the text may be the problem. For example, if you use the CSS: font-size: 100%; it will appear differently in almost all browsers. It;s like setting it to the default. |
This is why I asked him to post the code he is using. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Wed Aug 08, 2007 2:37 pm Post subject: |
|
|
AbyssUnderground wrote: | Tom Chapman wrote: | The unit hes using to size the text may be the problem. For example, if you use the CSS: font-size: 100%; it will appear differently in almost all browsers. It;s like setting it to the default. |
This is why I asked him to post the code he is using. |
:) |
|
Back to top |
|
 |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Wed Aug 08, 2007 9:54 pm Post subject: |
|
|
The page coding in part is like this:
Code: | <p class="p1">Welcome
<?
if ($cookie) {
echo "back";
}
?>
to Kev's Place. This site is designed to help in the creation<br>and printing of CD/DVD labels and covers.</p>
<p class="p1">On my site you will find available for download the many templates I have<br>created to make it easier for you to create and print covers.</p>
<p class="p1">I have also included tutorials for Paint Shop Pro and MS Word for<br>your convenience.</p> |
and the relevent bit of the style sheet is:
Code: | input,textarea,select,option { background-color: #dedcdc; font: normal small "Arial"; font-family: "Arial"; }
|
This only a snippet but the same syntax has been used right through the page code. _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Wed Aug 08, 2007 10:04 pm Post subject: |
|
|
I would use a more specific font size, try defining it in points (pt). _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 09, 2007 12:39 am Post subject: |
|
|
kev1952,
The font size you've defined (small) is relative to the user's default font size. So it depends on their choices and the default font size they've configured their browser to see (this has nothing to do with the browser being IE or Firefox).
You can use an absolute size (12px) but that's not a good practice (people with bad eyes whose default font size is set to a huge value will not be able to read you site). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Thu Aug 09, 2007 2:15 am Post subject: |
|
|
Thanks, Aprelium, that makes sense. The obvious question now is how do I overcome this? I have experimented with specifying a pixel size but that wasn't terribly satisfactory. I'm thinking I may rework some of the style sheet and remove font sizes entirely. This *should* make it visible to all surfers using their own preferences.
Thanks to everyone who contributed to this discussion - you have all made valid points and it's now up to me to implement them. _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Thu Aug 09, 2007 2:18 am Post subject: |
|
|
You can always add a button that makes the font-size bigger (using JavaScript). If you need help with that, just ask. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
 |
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Thu Aug 09, 2007 4:38 am Post subject: |
|
|
A message |
|
Back to top |
 |
 |
|