CodeIgniter Forums
Don't know where that space is comin' from!! - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Don't know where that space is comin' from!! (/showthread.php?tid=20930)



Don't know where that space is comin' from!! - El Forum - 07-26-2009

[eluser]Mohsen32[/eluser]
I am confused at this, some of the pages have that space on very top and some of them haven't.
for example this page has that outrageous space:
http://www.mihantabligh.com/ads/cat/1.html

and this doesn't:
http://www.mihantabligh.com/ads/view/1.html


Don't know where that space is comin' from!! - El Forum - 07-26-2009

[eluser]richthegeek[/eluser]
looking at your structure using the Firebug HTML tab shows the stylesheet tag is coming inside the body on the page with spacing, but its in the right place in the actual source, so there is some problem with your code.

Try using the W3C HTML validator!


Don't know where that space is comin' from!! - El Forum - 07-26-2009

[eluser]umefarooq[/eluser]
yaa check in your first url following is coming in side body tag try to put in header and try.

<link href="http://www.mihantabligh.com/static/style.css" type="text/css" rel="stylesheet"/>


Don't know where that space is comin' from!! - El Forum - 07-26-2009

[eluser]Mohsen32[/eluser]
[quote author="umefarooq" date="1248612856"]yaa check in your first url following is coming in side body tag try to put in header and try.

<link href="http://www.mihantabligh.com/static/style.css" type="text/css" rel="stylesheet"/>[/quote]

I did what you said but still face the problem.


Don't know where that space is comin' from!! - El Forum - 07-26-2009

[eluser]John_Betong[/eluser]
[quote author="Mohsen32" date="1248629123"][quote author="umefarooq" date="1248612856"]yaa check in your first url following is coming in side body tag try to put in header and try.

<link href="http://www.mihantabligh.com/static/style.css" type="text/css" rel="stylesheet"/>[/quote]

I did what you said but still face the problem.[/quote]
 
Here try this: http://johns-jokes.com/downloads/codeigniter/mohsen32/
 
What has this got to do with CodeIgniter? It is a basic HTML table layout with a bit of CSS thrown in. Not even any PHP? There was a load of validation errors and warnings which accounts for your the spacing. The code has been validated and it now has a Tidy Validator link complete with icon.
 
 
So there's my good deed for the day and hopefully a good start to the week Smile
 
 
 


Don't know where that space is comin' from!! - El Forum - 07-26-2009

[eluser]Mohsen32[/eluser]
Thank you man, You just done it right. Damn right man. Big thanks & sorry for irrelevant question.


Don't know where that space is comin' from!! - El Forum - 07-27-2009

[eluser]John_Betong[/eluser]
[quote author="Mohsen32" date="1248689952"]Thank you man, You just done it right. Damn right man. Big thanks & sorry for irrelevant question.[/quote]
 
I am pleased to be of help...
 
...but you owe me a Chelo Kebab with the lovely rice with melted butter. Also a hot Bar Baree bread, straight from the oven the next time I am in Tehran Smile
 
 
 


Don't know where that space is comin' from!! - El Forum - 07-27-2009

[eluser]Mohsen32[/eluser]
Ok I'll do that for sure. Smile