473,513 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Won't position correctly in IE

16 New Member
Can someone take a look at his page and code in an IE browser. For some reason I cannot get the h1 text to position down from the box I have it set in. It looks fine in Firefox and Safari both on MAC and PC.

I set an IE browser hack but it's not working. Here is the url:

http://www.efotolab.com/home2.htm

Thanks
Mike
Aug 31 '08 #1
5 1130
eWish
971 Recognized Expert Contributor
It might have something to do with the HMTL and CSS errors. I would suggest that you validate both first.

--Kevin
Aug 31 '08 #2
David Laakso
397 Recognized Expert Contributor
Expand|Select|Wrap|Line Numbers
  1. h1 {
  2. margin: 20px 0 0 0;<--------------------------- :: add
  3. }
  4.  
When you say you got a problem in IE, please be specific -- state the OS and browser version (s) of IE in question -- some of us run more than one version of that browser on more than one OS, and they ain't all the same...

BTW, nothing wrong with setting pixel font-sizes. Too bad Redmond does not cooperate in scaling them unless font-sizes are ignored. And, fwiw, line height when set in pixels trips all versions of IE and Opera (vertical overlap with font-scaling scaling). Best off using a raw number for line-height....
Aug 31 '08 #3
miker1961
16 New Member
When you say raw number are you referring to ems and/or percentages? I tired ems for line spacing and still have the problem.

Thanks
Mike
Sep 1 '08 #4
drhowarddrfine
7,435 Recognized Expert Expert
Neither. If you use a "raw number", such as 'line-height:1;' then the value is used as a multiplier of the font-size.
Sep 1 '08 #5
David Laakso
397 Recognized Expert Contributor
By raw number for line-height I mean use no unit of measure.
Some examples:
Expand|Select|Wrap|Line Numbers
  1. line-height :  1;
  2. line-height :  1.1;
  3. line-height :  1.2;
  4. line-height :  1.3
  5. line-height :  1.4;
  6. line-height :  1.5;
  7. line-height :  1.6;
  8. line-height :  1.7;
  9. line-height :  1.8;
  10. line-height :  1.9
  11. line-height :  2.0;
  12. and so on...
  13.  
All versions of Opera and all versions of IE will be more cooperative when the fonts are scaled.

Right now you have the fonts frozen in all versions of IE as well. In order for children of all ages to read your mousetype some of those users will have to put their browser in "accessiblity" mode, check the "ignore font-sizes specified" box, and check font-size "largest" to scale pixel based fonts.

A more user friendly method, if you're up for it , is to set a base 100% on the body declaration and set a percent font-size (rather than pixel) for selectors thereafter throughout the style sheet.

Something like this::
Expand|Select|Wrap|Line Numbers
  1. body {font: 100%/1.4 helvetica, arial, sans-serif;}
  2.  
Sep 1 '08 #6

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

Similar topics

8
2989
by: Peter Abel | last post by:
Hi all, I'm working under W2k with Python 2.2.2 (#37, Oct 14 2002, 17:02:34) on win32 I have a file *test_data.txt* with the following content: 0123456789 0123456789 abcdefghi ABCDEFGHIJKLMNOPQ
1
12673
by: Falc2199 | last post by:
Hi all, I am using the "Poistion" attribute to correctly align a column of images that I have on a table. The code looks like so.... <TD valign="top" class="listinglight" align="left"> <A href="somewhere.html" style="position: absolute; left: 25px;"> <IMG src="CopyButton.gif" border="0" /></A> <A href="anywhere.html" style="position:...
4
5866
by: Peter Fjelsten | last post by:
Guys at comp.infosystems.www.authoring.stylesheets, I have designed a page in (x)HTML transitional that I am happy with in (close to) standard compliant browsers (i.e. Firebird/Opera), but IE is causing problems as can be expected since I have used position:fixed. I don't want to use too many hacks and I don't care that the page looks a...
1
2524
by: J. Potts | last post by:
Just out of curiosity, has anyone run into this problem? Someone where I work put a set of pages together with the following in the style sheet: BODY { position: absolute; margin-top: 0mm; margin-left: 0mm; margin-right: 0mm; border: 0mm; padding: 0mm; border-width: 0mm;
5
2667
by: CMAR | last post by:
I have been having a problem styling a page, which you can see live at my test site: Designer Page (http://home.ne.rr.com/thespar/) (Ignore the missing pictures, which have not been uploaded.) The page renders correctly in TopStyle and Dreamweaver 4, and also online in my test website, i.e., the 5 successive navigation divs are...
0
1653
by: Frnak McKenney | last post by:
I have a (small) multi-table database application which allows edits, print reports, and has two scrolling screen displays which show information merged from multiple tables. I'm having trouble with one of the scrolling displays which is implemented as a DataGrid with several custom DataGridColumnStyles. When the Form containing the...
5
2196
by: junky_fellow | last post by:
What is a position independent code ? What are the basic guidelines to keep in mind while writing a position independent code ? thanx for any help ....
1
1771
by: Rob R. Ainscough | last post by:
I'm at a new level of frustration just trying to get my controls to line up and stay in place. I'm using a MultiView containing 4 views - some views have Panels. I can't use absolution position on my controls because in MultiView that means when the views are switched (ActiveViewIndex) the controls in the new view are absolution position...
6
2863
by: ThunderMusic | last post by:
Hi, I think the subject says it all... thanks ThunderMusic
0
7270
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...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
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. ...
0
7565
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...
1
7128
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...
0
7543
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...
0
5704
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...
0
4759
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...
0
473
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...

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.