![]() |
My site getting wider - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: My site getting wider (/showthread.php?tid=18865) |
My site getting wider - El Forum - 05-20-2009 [eluser]juan1904[/eluser] Hi, I'm recoding my page from standard PHP to objectoriented MVC PHP in CodeIgniter. But now recently I noticed that the version in CodeIgniter is a little bit wider so my pictures and stuff on the webpage is kind of ugly and blurish. Are there anyone else that have experienced this problem? I tried to copy the CSS-file from my old page to the new one but nothing changed. My site getting wider - El Forum - 05-20-2009 [eluser]Thorpe Obazee[/eluser] [quote author="juan1904" date="1242885515"]Hi, I'm recoding my page from standard PHP to objectoriented MVC PHP in CodeIgniter. But now recently I noticed that the version in CodeIgniter is a little bit wider so my pictures and stuff on the webpage is kind of ugly and blurish. Are there anyone else that have experienced this problem? I tried to copy the CSS-file from my old page to the new one but nothing changed.[/quote] I don't understand how it relates to CI. CI is still PHP. It doesn't affect the images or CSS. My site getting wider - El Forum - 05-20-2009 [eluser]Dam1an[/eluser] Try firebug with firefox to find the cause Alternatively, maybe a link to the live site? But as bargainph said, I can't see this being a CI issue :-S My site getting wider - El Forum - 05-21-2009 [eluser]juan1904[/eluser] Hehe sorry about this. I asked a friend and he said it was no difference between the two websites, and when I tried in Internet Explorer it wasn't any difference for me either. Something is bugged in my Firefox ![]() My site getting wider - El Forum - 05-21-2009 [eluser]Dam1an[/eluser] Are you using a CSS reset? I recommend the Myers reset I'm too lazy to attatch a file, so I'll just dump the code here Code: html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;} That will get rid of any potential browser conflicting defaults My site getting wider - El Forum - 05-21-2009 [eluser]juan1904[/eluser] That didn't work for me. There gotta be some HTML-issues then, even though I've read my code a million times by now. My site getting wider - El Forum - 05-21-2009 [eluser]Thorpe Obazee[/eluser] it's client side. it can't be a server-side problem. You'd probably have to check everything 2 million times next time ![]() My site getting wider - El Forum - 05-21-2009 [eluser]geocine[/eluser] try to clear your browser cache, maybe it works. My site getting wider - El Forum - 05-22-2009 [eluser]juan1904[/eluser] [quote author="geocine" date="1242986516"]try to clear your browser cache, maybe it works.[/quote] That didn't work either. Just as bargainph said, it gotta be a problem with my version of Firefox. It works perfectly fine in IE for me and it works in both IE and FF for my friend. Still it's bugging me ![]() |