Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-07-13, 05:16 AM   #1
Magix
They have the Internet on computers, now?
 
Magix's Avatar
 
Join Date: Jun 2006
Posts: 144
Send a message via ICQ to Magix
Greenguy doctype advise!

Hey, i had a free site which look good on IE and opera, but on firefox, it had problem, whole table went black instead of being yellow, i removed the doctype (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">) description, and checked it on opera, firefox, ie, and netscape. and it's working fine now.

So my question is! is everything alright with link lists, because i've had a problem here at Link-o-rama, where the freesite was without that doctype thing, my page was declined...

So, is it ok to remove the doctype description?
Magix is offline   Reply With Quote
Old 2006-07-13, 06:01 AM   #2
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
I use a shorter version of what you had.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
I have very few cross browser issues.
Toby is offline   Reply With Quote
Old 2006-07-13, 09:36 AM   #3
Magix
They have the Internet on computers, now?
 
Magix's Avatar
 
Join Date: Jun 2006
Posts: 144
Send a message via ICQ to Magix
Quote:
Originally Posted by Toby
I use a shorter version of what you had.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
I have very few cross browser issues.

Same with this "doctype" when i insert it, the table in firefox looks black ....
Magix is offline   Reply With Quote
Old 2006-07-13, 10:17 AM   #4
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
can you post a link to the page in question? I have a hunch you may be trying to use some non-compliant coding, and Firefox/Mozilla is far less forgiving about such things.
Toby is offline   Reply With Quote
Old 2006-07-13, 11:51 AM   #5
MrYum
Arghhhh...submit yer sites ya ruddy swabs!
 
MrYum's Avatar
 
Join Date: May 2004
Location: Sunny Florida!
Posts: 5,108
Send a message via ICQ to MrYum
Quote:
Originally Posted by Toby
can you post a link to the page in question? I have a hunch you may be trying to use some non-compliant coding, and Firefox/Mozilla is far less forgiving about such things.
Very true...FF is much less forgiving of bad code.

The good news is usually if it looks good in FF, it will look good in IE too. Not always, but usually that's the case. I tend to preview everything in both browsers before releasing it on the public
MrYum is offline   Reply With Quote
Old 2006-07-13, 12:33 PM   #6
Magix
They have the Internet on computers, now?
 
Magix's Avatar
 
Join Date: Jun 2006
Posts: 144
Send a message via ICQ to Magix
ok the link is:
http://www.pornomagix.com/freesites/...its/index.html

now it looks good in Firefox, but with the doctype it doesn't, whole table with enter becomes black...
Magix is offline   Reply With Quote
Old 2006-07-13, 12:52 PM   #7
Maj. Stress
Progress rarely comes in buckets, it normally comes in teaspoons
 
Maj. Stress's Avatar
 
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
try adding a # in front of the hex color codes
Maj. Stress is offline   Reply With Quote
Old 2006-07-13, 01:03 PM   #8
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by Maj. Stress
try adding a # in front of the hex color codes
Agreed. Also, I rechecked my standard DOCTYPE statement and it's not quite the same as the shortened version of what you were using.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
HTML 4.01 instead of XHTML 1.0

A good way to locate problems like this one is to run the page past a validator. Such as http://validator.w3.org/
Toby is offline   Reply With Quote
Old 2006-07-13, 01:14 PM   #9
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
I started adding doc type to my pages after I noticed my tables were having issues with some browsers.

Been using this and I think it is working correctly across browsers.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Like on this page of mine
http://kinky-cleo.com/porn/foxyangel...tgp/index.html
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2006-07-13, 01:45 PM   #10
MrYum
Arghhhh...submit yer sites ya ruddy swabs!
 
MrYum's Avatar
 
Join Date: May 2004
Location: Sunny Florida!
Posts: 5,108
Send a message via ICQ to MrYum
Quote:
Originally Posted by Toby
Agreed. Also, I rechecked my standard DOCTYPE statement and it's not quite the same as the shortened version of what you were using.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
HTML 4.01 instead of XHTML 1.0

A good way to locate problems like this one is to run the page past a validator. Such as http://validator.w3.org/
Just checked...that's the same doctype code I use

Also, great advice on running a validator...helps a ton to pick up errors that cause these kinds of problems. I'd bet the Major is right on the mark about the lack of a '#' in front of the hex color codes is causing your problem.

On a side note...curious, why do you end some of your html tags with a ' />'? Obviously, the '>' is necessary, but I'm seeing quite a few sites using the ' /'...which I don't believe is needed
MrYum is offline   Reply With Quote
Old 2006-07-13, 01:55 PM   #11
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
That is proper coding for xml
http://www.w3schools.com/xml/default.asp
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2006-07-13, 05:39 PM   #12
Magix
They have the Internet on computers, now?
 
Magix's Avatar
 
Join Date: Jun 2006
Posts: 144
Send a message via ICQ to Magix
thanks everyone
Magix is offline   Reply With Quote
Old 2006-07-13, 05:44 PM   #13
Magix
They have the Internet on computers, now?
 
Magix's Avatar
 
Join Date: Jun 2006
Posts: 144
Send a message via ICQ to Magix
YEY it's working thanks very much ) and # and doctype is working ))
Magix is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:23 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc