please help...wierd problem!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
sakaveli
Forum Commoner
Posts: 60
Joined: Tue Apr 06, 2004 9:42 am

please help...wierd problem!

Post by sakaveli »

hi guys, my webpage become unstable under lower screen resolutions, its hard to describe what happens exactly but the layout of the screen just falls apart and leaves my webapge looking like a joke! the page im refering to is in my signature but has ANYONE had this problem or does anyone know how to get over this??
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

it is usually because the code isn't "well" built.
Validate your code with programs like this one

you'll see you have some errors.
User avatar
sakaveli
Forum Commoner
Posts: 60
Joined: Tue Apr 06, 2004 9:42 am

Post by sakaveli »

darco thanks for that reply, the webpage is really useful im new to all this (not hard to tell)

i dont know what doctype my html is! and i seem to be getting 101 errors, but that cant be right coz my system works fine in igh resolution! is tere anyway of checking my doctype?
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post by andre_c »

the doctype is whatever doctype you chose. If you're not using frames (which you are not), it should be either strict or transitional. As you may have guessed, strict is more strict on the rules that apply to the html. Most of the time I chose Transitional. Good Luck.
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

here's a HTML doctype exemple (you can use)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
here's a XHTML doctype (you can use if you follow the xhtml syntax, meaning closing all tags even the <br>, wich becomes </br> and also using alt, and so on..)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
note, doc type is the first line you put in your document (well not alwyas, but in your case it is)
Post Reply