473,513 Members | 2,469 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 5305
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:absolute: 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
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.

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.


Thanks for the help! I got it looking much better now.
Oct 28 '05 #11
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.


When would you want to use absolute over floating?
Oct 28 '05 #12
TC wrote:

When would you want to use absolute over floating?


I'd be very cautious about using absolute positioning if you don't
really understand how it works, or the implications of using it.

There are already way too many sites out there that think absolute
positioning is a great way to make a pixel-perfect design. It isn't.

That's not to say floats don't have their own issues. They do.

A short list of some pros and cons can be found at
<URL:http://css-discuss.incutio.com/?page=AbsoluteOrFloatLayout>

You can't really make an informed decision until you understand how
these positioning models work. You could go read the specs, even though
they aren't all that easy to digest for a relative newbie.
<URL:http://www.w3.org/TR/CSS21/visuren.html>

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Oct 28 '05 #13

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

Similar topics

25
4253
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...
3
3051
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
2322
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...
11
1998
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 ......
16
3766
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...
28
3553
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...
5
1695
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...
26
2237
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...
3
2411
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...
0
7259
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
7158
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...
0
7380
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
7535
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...
1
7098
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...
0
5683
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,...
0
4745
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...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
455
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...

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.