473,804 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crossplatform HTML text display issue

chunk1978
224 New Member
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 1952
AricC
1,892 Recognized Expert Top Contributor
The second looks like default IE behavior you can use some styles, but that is about all.
Feb 15 '07 #2
chunk1978
224 New Member
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 Recognized Expert Top Contributor
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 New Member
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 Recognized Expert Expert
Different platforms have different font styles and graphics. Here is a useful list to compare fonts.
Feb 15 '07 #6
chunk1978
224 New Member
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 Recognized Expert Top Contributor
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 New Member
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
6514
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 a step beyond Notepad (not a WYSIWYG tool). Thanks.
18
2848
by: Gr8DaddyG | last post by:
I am trying to paste the following code into the HTLM editor of my webpage: <script src='http://voap.weather.com/weather/oap/USFM0004?template=EVNTV&par=1004845350&unit=0&key=470c828c1eed4306eeef1f0c11d4bf45'></script> But, it will not display correctly. Here's exactly what it displays: src='http://voap.weather.com/weather/oap/USFM0004?template=EVNTV&par=1004845350&unit=0&key=470c828c1eed4306eeef1f0c11d4bf45'></script> It's...
1
1525
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 like the ADODB.Recordset or DataSource from Delphi? I'm thinking of a rowset where you have a current selected record which is deletable and where you can add new records. It should also have some notification to bind it against
4
4121
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 interest for many members of this group. A brief summary is given below. However, you may want to take a look back at the original posting before continuing.
6
6162
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 my mappings between named colors, HEX values and the Long Integer values used in Access are not jibbing. Anyone have a nice list laying around? Danny J Lesandrini dlesandrini@hotmail.com
20
5666
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 client-side HTML, CSS, etc. What I want to do is somehow insert a *server control* into the , then set the server control's properties at runtime.
15
4784
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 button will verify the information that has been entered and updates the data base if the data is correct. Update will throw an exception if the data is not validate based on some given rules. I also have a custom error handling page to show the...
0
1351
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0014)about:internet --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>kj-issue-52-200602 copy.jpg</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css">
10
3488
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 ------------- I have perl script which simply runs a ps on a Solaris server and generates a static html page with all of the code perfectly and this html page works fine when viewing it statically or with a META REFRESH header tag. The idea is to give the user...
0
9711
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10595
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10088
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9169
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.