473,387 Members | 1,501 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,387 software developers and data experts.

CSS/HTML Problems, I'm stumped!

Alright, I guess I'm stumped. I've been working on this for a while now and can't seem to figure it out. I'll post two screenshots to help explain the problem. The first image below is a webpage I'm developing as viewed in IE7, the second is the same one viewed in FF. The first problem is that in IE7 the background colors in the cells are showing up but for some reason the text under "Upcoming events" is behaving very strangely and not lining up as it should. In FF it's the exact opposite, none of the background colors are appearing but the text is doing what it should! What am I doing wrong?

First the images...
In IE7:



In FF:



and here is the HTML I've devised so far:
link

and the CSS:
css

Any help is greatly appreciated!
Mar 24 '08 #1
4 1281
drhowarddrfine
7,435 Expert 4TB
You are using an XHTML namespace for an HTML web page. Change the 2nd line with <html......... to just <html>. Then validate your html for that list of additional errors.
Mar 24 '08 #2
Yes, I caught that a minute ago, thank you. I just ran it through the validator and it tested valid.

Thanks!

Validation link
Mar 24 '08 #3
UPDATE:

Well, I figured out why the cell colors weren't showing up in Firefox. Of all the things, apparently Firefox doesn't recognize a color unless preceded by "#" while IE will recognize it just fine.

I still can't figure out the text alignment problem in IE yet though. It shows up fine in Firefox and in Opera for PC as well.

Any ideas?
Mar 24 '08 #4
drhowarddrfine
7,435 Expert 4TB
Most browsers won't recognize the missing #.
Mar 24 '08 #5

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

Similar topics

6
by: Ludwig77 | last post by:
When I was first taught html several years ago, I was taught that the following tags are standard for any html formatted message: <HTML> <HEAD> </HEAD> </BODY> </HTML> In fact, I was taught...
11
by: Dan Rubin | last post by:
HI everyone, lurking for a long time here, since I can usually solve my own problems, but here is one I'm stumped by. I've got a valid XHTML 1.0 Transitional layout, and all the CSS is valid as...
2
by: robert | last post by:
I've made a gallery site for an artist and it works well -- the gallery page has a central large image which is swapped when thumbnail images are clicked. I'm using Dreamweaver's "SwapImage"...
0
by: Bruno van Dooren | last post by:
Hi All, i have some (3) different weird pointer problems that have me stumped. i suspect that the compiler behavior is correct because gcc shows the same results. ...
1
by: Joanne | last post by:
I'm wondering if anyone has come across this problem before - it's got me stumped (but then again, I don't know a great deal about AD!!) In a specific set of circumstances, we get a really useful...
3
by: darrel | last post by:
We have a parent-child table set up to maintain content. When this table is updated, I do a recursive call through the data and spit out an XML file. Then, when we want to display this...
1
by: Ir0neagle | last post by:
I am generating upgrade/new install scripts for my project. I am able to do this in oracle and sql server but an running into problems in db2. What I am trying to do is to use some logic to only...
1
by: kevin.a.sweeney | last post by:
I would like to open an application from a hyperlink on a webpage. 1. the webpage is located on my local machine. 2. the application is located on my local machine. 3. the application will run...
0
by: DR | last post by:
for some reason webbrowser1.Navigate() works but causes thread to terminate, i want to do a GetElementyByID in the same thread that executes the navigate.. i am totaly stumped:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...

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.