LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-06-2004, 08:27 PM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
Limited CSS support in firefox?


Code:
body { background-color: black }

table.first {
		border-style: solid;
		border-width: thin medium medium thin;
		border-color: #3b34c1
		}
		
p {
		color: white;
		font-size: 18pt
		}
		
a:link {color: #000000;
			text-decoration: none}    /* unvisited link */
a:visited {color: #000000;
			text-decoration: none} /* visited link */
a:hover {color: #FF00FF;
			text-decoration: none}   /* mouse over link */
a:active {color: #000000;
			text-decoration: none}   /* selected link */
This is part of a css file I wrote, and I can't find anything wrong in it, nor in the xhtml file it's supposed to control. Both are w3c validated even, with no errors. The problem is that firefox WON'T format the xhtml file according to this css, it just uses the default colors and and borders. Here's a small snap of the xhtml file:

Code:
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
		<link rel="stylesheet" href="style.css" type="text/css" title="style" />
		<title>The gentle lion...</title>
	</head>
		<body>

		<table>
			<tr>
				<td><p>Please make your selection below...</p></td>
			</tr>
			<tr>
				<td><a href="lionpoem.html">Once upon a time, there was ...</a></td>
			</tr>
		</table>
      </body>
</html>
Can any of you guys/girls see if there is something fucked up in the above code? I can't. If it's me making mistakes, then okay, but if not, I think it's pretty weak of Firefox not to support it.
 
Old 07-06-2004, 08:37 PM   #2
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
bump
 
Old 07-06-2004, 08:53 PM   #3
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
This is getting weirder and weirder. I just realized that firefox uses many css files to dictate the appearence of the browser itself... Why does it still refuse to format my html according to my css files? I must have fucked up dearly...
 
Old 07-06-2004, 08:56 PM   #4
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
DOH! Just located the problem ^_^ It was I that fucked up ^_^
 
Old 07-06-2004, 09:15 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by NonSumPisces
DOH! Just located the problem ^_^ It was I that f***** up ^_^
First of all, don't bump your own threads until after 24 hours has passed by like our rules state and you agreed to. Especially after just 10 mins, give members a chance please.

Secondly, watch your language please, this is a public forum.

Review our rules here: http://www.linuxquestions.org/rules.php

Regards.
 
Old 07-06-2004, 09:16 PM   #6
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
Sorry, I obviously didn't read through the rules carefully enough...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 07:52 AM
A little HTML/CSS help? jon_k General 9 07-17-2005 02:49 AM
Firefox language support - Mandarin mikeghet Linux - Software 7 04-26-2005 06:17 AM
Firefox, fonts and userChrome.css dwmorton Linux - Software 2 11-05-2004 08:02 PM
css question tekmorph Programming 10 09-04-2004 10:21 PM


All times are GMT -5. The time now is 04:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration