473,587 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Internet Explorer not rendering CSS properly - fine in Firefox

TC
IE 6
Firefox looks just fine.
I have run my html and css through the W3C validator. The html is fine
and the css gets the following:

"Line : 3 (Level : 1) You have no color with your background-color :
body Line : 23 (Level : 1) You have no background-color with your color
: div#content h1 Line : 25 (Level : 1) Family names containing
whitespace should be quoted. If quoting is omitted, any whitespace
characters before and after the name are ignored and any sequence of
whitespace characters inside the name is converted to a single space. :
div#content h1 Line : 28 (Level : 1) Family names containing whitespace
should be quoted. If quoting is omitted, any whitespace characters
before and after the name are ignored and any sequence of whitespace
characters inside the name is converted to a single space. :
div#content h2 Line : 31 (Level : 1) Family names containing whitespace
should be quoted. If quoting is omitted, any whitespace characters
before and after the name are ignored and any sequence of whitespace
characters inside the name is converted to a single space. :
div#content h3 Line : 36 (Level : 1) You have no background-color with
your color : em.emRed "
These do not seem like they would cause my issue, which is, text over
text. The following works fine in Firefox but looks like this in IE6:
http://home.cfl.rr.com/jmartin104/uhf/
I'm new to CSS and learning. What is going on?
Oct 28 '05 #1
12 5313
TC wrote:

The following works fine in Firefox but looks like this in IE6:
http://home.cfl.rr.com/jmartin104/uhf/


If you're going to absolutely position something, you should set the
top, left, right and/or bottom properties as well. Suggest you start
with top:0 and left:0 then adjust to taste.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Oct 28 '05 #2
TC wrote:
IE 6
Firefox looks just fine.
I have run my html and css through the W3C validator. The html is fine
and the css gets the following: <snip errors>

Fix the errors, because browsers have the right to ignore bad CSS.
These do not seem like they would cause my issue, which is, text over
text. The following works fine in Firefox but looks like this in IE6:
http://home.cfl.rr.com/jmartin104/uhf/
404. It will help greatly if you give a URL to the page in question.
I'm new to CSS and learning. What is going on?


Can't tell until we can see the page.

--
-bts
-Warning: I brake for lawn deer
Oct 28 '05 #3
TC
kchayka wrote:
TC wrote:

The following works fine in Firefox but looks like this in IE6:
http://home.cfl.rr.com/jmartin104/uhf/


If you're going to absolutely position something, you should set the
top, left, right and/or bottom properties as well. Suggest you start
with top:0 and left:0 then adjust to taste.


That seems to fix that problem. Thanks!
Oct 28 '05 #4
TC
kchayka wrote:
TC wrote:

The following works fine in Firefox but looks like this in IE6:
http://home.cfl.rr.com/jmartin104/uhf/


If you're going to absolutely position something, you should set the
top, left, right and/or bottom properties as well. Suggest you start
with top:0 and left:0 then adjust to taste.


Now, my footer is floating up. How can I correct this? BTW, I'm reading
Stylin' with CSS so if it addresses that, then let me know.
Oct 28 '05 #5
TC wrote:
IE 6
Firefox looks just fine.
I have run my html and css through the W3C validator. The html is fine
and the css gets the following:

As kchayka mentioned, you must supply positioning information when
using position:absolu te: top, bottom, left, right. Otherwise you leave it
to the browser's imagination about where to put the block.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Oct 28 '05 #6
Beauregard T. Shagnasty wrote:
http://home.cfl.rr.com/jmartin104/uhf/


404. It will help greatly if you give a URL to the page in question.


Ah, now it's working...

I don't see any need for the absolute positioning at all. Float the nav
div left, and give a suitable left margin to the content div. Use em
instead of px, so when I increase the text, the divs expand with it.

font-family:times new roman, arial, sans-serif;
should be:
font-family: "Times New Roman", arial, sans-serif;
font names with spaces need quoted.

but why you want to mix serif and sans-serif fonts remains a mystery.

Consider also not using the color name in the selector.
em.emRed {color:red;}
Try em.emhot {color:red;}
because next week you may want to use .. green .. and it will look
strange to have a style called .emred that displays green.

Whenever you assign a color, or background color, you need to assign the
other as well.

185.72 KB (190181 bytes) for the background image is waaay to heavy. At
Width: 1199px, Height: 801px. The edge where it repeats isn't pretty
either. It needs more fading as I think it interferes with reading the
content.

Your logo is 44.42 KB (45485 bytes) and is resized in the HTML. Fix
that. Same for the photo of the boys: 182.36 KB (186741 bytes) and
resized from Physical Width: 592px, Physical Height: 400px

Otherwise, it's pretty good.

--
-bts
-Warning: I brake for lawn deer
Oct 28 '05 #7
TC
Beauregard T. Shagnasty wrote:
TC wrote:
IE 6
Firefox looks just fine.
I have run my html and css through the W3C validator. The html is
fine and the css gets the following:

<snip errors>

Fix the errors, because browsers have the right to ignore bad CSS.
These do not seem like they would cause my issue, which is, text
over text. The following works fine in Firefox but looks like this
in IE6: http://home.cfl.rr.com/jmartin104/uhf/


404. It will help greatly if you give a URL to the page in question.
I'm new to CSS and learning. What is going on?


Can't tell until we can see the page.


Try again. The upload failed the first time. The validator actually
called them Warnings. Not sure if that makes a difference to IE.
Oct 28 '05 #8
TC
Beauregard T. Shagnasty wrote:
Beauregard T. Shagnasty wrote:
http://home.cfl.rr.com/jmartin104/uhf/
404. It will help greatly if you give a URL to the page in question.


Ah, now it's working...

I don't see any need for the absolute positioning at all. Float the
nav div left, and give a suitable left margin to the content div. Use
em instead of px, so when I increase the text, the divs expand with
it.


I'll remove this. It came from my book but I think it had to do with
some example.

font-family:times new roman, arial, sans-serif;
should be:
font-family: "Times New Roman", arial, sans-serif;
font names with spaces need quoted.
That's what the CSS validator was complaining about.

but why you want to mix serif and sans-serif fonts remains a mystery.
Even to me. It was another example. I have a book on fonts but can't
seem to find it.

Consider also not using the color name in the selector.
em.emRed {color:red;}
Try em.emhot {color:red;}
because next week you may want to use .. green .. and it will look
strange to have a style called .emred that displays green.

Agreed.
Whenever you assign a color, or background color, you need to assign
the other as well.
How do you make the background color clear? I mean, if the text is
going over an image, you don't really want to SEE a background color.
Transparent? Is that a color?

185.72 KB (190181 bytes) for the background image is waaay to heavy.
At Width: 1199px, Height: 801px. The edge where it repeats isn't
pretty either. It needs more fading as I think it interferes with
reading the content.

Oh yeah, I have to go back over the images for sure. Right now, they
are being used as ideas for design.
Your logo is 44.42 KB (45485 bytes) and is resized in the HTML. Fix
that. Same for the photo of the boys: 182.36 KB (186741 bytes) and
resized from Physical Width: 592px, Physical Height: 400px

Otherwise, it's pretty good.


Thanks! I need to read up some more. My book is not real clear on the
use of em.
Oct 28 '05 #9
TC wrote:
How do you make the background color clear? I mean, if the text is
going over an image, you don't really want to SEE a background color.
Transparent? Is that a color?
background-color: transparent; is legal. The reason is your visitor may
have a default black background, and your black text would be invisible
on it.
Thanks! I need to read up some more. My book is not real clear on the
use of em.


For most things, you can use some value of em instead of px, except
maybe for borders. Play with it, maybe starting with your nav div at
somewhere around 13em wide, and the content with a left margin of 14em.

--
-bts
-Warning: I brake for lawn deer
Oct 28 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
4281
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low cost way to do sophisticated debugging in IE6 other than to use the debugger described below, which is horribly documented otherwise. I feel...
3
3059
by: ckirchho | last post by:
Halo, I am trying to realize a two column layout basically like this: <html> <head> <style> leftCol { float: left; width: 15em; }
3
2338
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review interpretation): "Half stolen from Firefox, half is buggy - including the stolen part". Download:...
11
2011
by: GHUM | last post by:
Hello, I created some rather complex Intranet Application, using lots of JavaScript, DOM-Maninpulation and XMLHTTPRequest communication. I developed on FireFox, with the excellent firebug ... every misstake was given back with a fine, fine traceback; exactly pointing to the code at error. My code runs fine on FireFox and Opera.
16
3783
by: danep | last post by:
Hi all, On my site I have a section of code that resembles the following: <p id="gear" style="display: none;"> <p>test</p> </p> This renders fine in Firefox (that is, nothing is displayed). However, in Internet Explorer, "test" is still printed. It appears
28
3574
by: Neo Geshel | last post by:
NOTE: PAST EXPERIENCE HAS SHOWN ME THAT MANY ON USENET FAIL TO READ ARTICLES PROPERLY PRIOR TO ANSWERING. I AM LOOKING FOR VERY SPECIFIC INFORMATION, THEREFORE PLEASE READ AND UNDERSTAND THOROUGHLY BEFORE RESPONDING; OR ASK QUESTIONS TO CLARIFY. I *WILL* APPRECIATE ANY CONSTRUCTIVE REPLY. Greetings! I am in the process of creating a...
5
1706
by: gray_slp | last post by:
I am designing a web survey using surveymonkey.com and discovered I could use javascript to modify their standard question formats much the same as can be done in myspace. I used this feature to insert a weight converter into my survey. Unfortunately this script works fine in firefox v.2 but does not cooperate with the surveymonkey software...
26
2253
by: Prisoner at War | last post by:
Hi, All: I have a JavaScript search engine that always causes MSIE 7 to do a top-of-page security "warning" (that top-of-page-bar, and not an "alert" )...but other websites' JavaScripts do not trigger that...what's going on? When I visit other JavaScript sites there's no warning and the scripts work fine, but mine (it's still under...
3
2418
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a couple of the Firefox is munging up. So, on my information page there is a gridview in the content section of the page. The masterpage contains...
0
7923
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
7852
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
6629
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
5395
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
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
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
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1192
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.