473,394 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Crossplatform HTML text display issue

chunk1978
224 100+
hi there...

i've been building an internet form recently, and i've realized there seems to be a slight difference between the way HTML text is processed between my Mac (Mac OS X v10.4.8) and my PC (Windows Vista)... it's not really a life or death situation, but i'd really like if it could look as good on PCs as it does on Macs... or to at least understand why the PC seems to not display text as smoothly as the Mac does.

the below image shows a sample of my internet form. the top section is a screenshot taken while using Safari 2.0 (Mac), and the below section is a screenshot taken while using Internet Explorer 7.0 (PC).



any ideas?
Feb 15 '07 #1
8 1937
AricC
1,892 Expert 1GB
The second looks like default IE behavior you can use some styles, but that is about all.
Feb 15 '07 #2
chunk1978
224 100+
The second looks like default IE behavior you can use some styles, but that is about all.
hi AricC... thanks for the reply... just so that i'm clear, eventhough i have styles written in my code:

Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2. <!--
  3. body,td,th {
  4.     font-family: Verdana, Arial, Helvetica, sans-serif;
  5.     font-size: 12px;
  6.     color: #999999;
  7. }
  8. .style6 {color: #990000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 23px; font-style: italic; }
  9. .style8 {color: #6D6FB3; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 23px; font-style: italic; }
  10. .style12 {color: #666666}
  11. .style13 {color: #999999}
  12. .style14 {font-size: 10px}
  13. .style18 {font-size: 14px}
  14. .style21 {font-size: 12px}
  15. .style24 {font-size: 12px; color: #6D6FB3; }
  16. .style26 {font-size: 12px; color: #6D6FB3; font-style: italic; }
  17. .style28 {font-size: 14px; color: #6D6FB3; font-style: italic; }
  18. .style29 {font-size: 10px; color: #6D6FB3; font-style: italic; }
  19. .style30 {color: #999999; font-size: 10px; }
  20. #Layer1 {
  21.     position:absolute;
  22.     width:516px;
  23.     height:115px;
  24.     z-index:1;
  25.     left: 327px;
  26.     top: 613px;
  27. }
  28. .style43 {color: #4B4B4B}
  29. .style45 {color: #333333}
  30.  
  31. -->
  32. </style>
  33.  
... IE7 will by default display the text a little different because that's just the way it displays the styles? so it's not possible to make it look like Safari 2.0?
Feb 15 '07 #3
AricC
1,892 Expert 1GB
Right the square box'ness is just how IE shows combo boxes. Aside from borders and other CSS properties you won't get it to look like Safari each browser renders them differently I believe.

Aric
Feb 15 '07 #4
chunk1978
224 100+
Right the square box'ness is just how IE shows combo boxes. Aside from borders and other CSS properties you won't get it to look like Safari each browser renders them differently I believe.

Aric
oh! hah... yes i knew this... but i was referring explicitly to the way the text looks :-)... i feel the IE7 text looks different than the Safari 2.0 text, eventhough they both use the same font codes and styles...

i totally understand why you may have missed my question, because the text difference is extremely subtle... but if you look closely, it's quite different too... and i'd just like to know why...
Feb 15 '07 #5
drhowarddrfine
7,435 Expert 4TB
Different platforms have different font styles and graphics. Here is a useful list to compare fonts.
Feb 15 '07 #6
chunk1978
224 100+
Different platforms have different font styles and graphics. Here is a useful list to compare fonts.
thanks for the info drhowarddrfine! i really appreciate it...
Feb 15 '07 #7
AricC
1,892 Expert 1GB
oh! hah... yes i knew this... but i was referring explicitly to the way the text looks :-)... i feel the IE7 text looks different than the Safari 2.0 text, eventhough they both use the same font codes and styles...

i totally understand why you may have missed my question, because the text difference is extremely subtle... but if you look closely, it's quite different too... and i'd just like to know why...
I was way off! I don't think MAC's have true type fonts not sure I don't have a MAC... yet.
Feb 15 '07 #8
chunk1978
224 100+
I was way off! I don't think MAC's have true type fonts not sure I don't have a MAC... yet.
mac's indeed have true type fonts :-)
Feb 16 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
18
by: Gr8DaddyG | last post by:
I am trying to paste the following code into the HTLM editor of my webpage: <script...
1
by: Alois Weber | last post by:
I'm not shure wether its the right place to ask here. But I don't know where to ask else. Does anybody know a free crossplatform library (for linux/windows perhaps Mac) which offers some classes...
4
by: MB | last post by:
Hello everyone! These lines were inspired by the "DIV without line breaks" posted by Johnny Two Dogs on June 22. I know it is an old issue, but I want to share a few remarks that could be of...
6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
0
by: punitshrivastava | last post by:
Hi to All, I am Punit Shrivastava.i created one html page for this i cde like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.