Log in

View Full Version : Coding issue



BloomFreak
12-03-2008, 06:34 PM
Ok I dont exactly know what is happening here. I paste this code:


<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

At the top of my page and this is what happenes to it. Notice the white on the side over there. That isnt supposed to be there. Its supposed to be black.

Click for bigger view
http://i36.photobucket.com/albums/e35/LaraCroftBaby/th_layoutissue.jpg (http://i36.photobucket.com/albums/e35/LaraCroftBaby/layoutissue.jpg)

And it only seems to do it on this layout. But i like this layout and dont want to have to change it. What can i do? How do i fix this?

Snookerman
12-03-2008, 10:25 PM
Can you please post a link to the entire page or attach the whole code?

Twey
12-04-2008, 12:34 AM
It's a little more complex than that. Adding in a DOCTYPE will cause browsers to expect your page to be coded properly, and they won't try to correct your mistakes. That white space is what happens when your page is rendered correctly (according to HTML 4.01 Transitional).

BloomFreak
12-04-2008, 08:34 PM
It's a little more complex than that. Adding in a DOCTYPE will cause browsers to expect your page to be coded properly, and they won't try to correct your mistakes. That white space is what happens when your page is rendered correctly (according to HTML 4.01 Transitional).

So dose that mean i cant do any thing about it? Other then changing the layout?

Maybe some one can figure out how to fix the coding so it dont have the white part on it. If not thats ok. Ill either go with out the code at the top or use a different layout

http://britneyinthezone.webs.com/old%20layout/index.htm

Snookerman
12-04-2008, 08:51 PM
Does your page work in FF with the doctype, because without the doctype it doesn't really work in FF3. I suggest that you add a doctype, try to validate (http://validator.w3.org/) it and then check if you still have problems.