byronwells Posted January 7, 2010 Share Posted January 7, 2010 Alright Guys I am having major problems.. And I have stumped.. I have create this php page from stratch see here: http://www.supreme-host.com/web/categories.php I have now transfer it other to my php membership script http://digitalresellersvault.com/marketplace.php but I have just moved the php, stylesheet and images over to a template folder within the script. And told the script to read that file instead.. Which works fine... However for some reason when you add a header image in the admin area of the script to appear on all page, a white gaps appears between the navbar and header... How do I get rid of it? I have been told many things, and nothing seems to work... This is really annoying Quote Link to comment https://forums.phpfreaks.com/topic/187511-can-someone-help-me-please/ Share on other sites More sharing options...
haku Posted January 7, 2010 Share Posted January 7, 2010 I don't see the white gap you are speaking of. Quote Link to comment https://forums.phpfreaks.com/topic/187511-can-someone-help-me-please/#findComment-990063 Share on other sites More sharing options...
byronwells Posted January 7, 2010 Author Share Posted January 7, 2010 Use Internet Explorer please Quote Link to comment https://forums.phpfreaks.com/topic/187511-can-someone-help-me-please/#findComment-990073 Share on other sites More sharing options...
haku Posted January 7, 2010 Share Posted January 7, 2010 I'd rather not. But that at least pinpoints your problem. If you want to target IE specifically, you can use conditional comments (google it) to add code that will only affect IE. Either that, or you can try to adjust your code to work cross-browser. Where the problem often arises is that IE and all non IE browsers calculate the height and widths of elements differently. In IE, the width of an element is calculated by the elements width plus side paddings plus border. In all other browsers, the width is calculated by the elements width, and side paddings/borders are separate. Height works the same, just change side paddings for top/bottom paddings. The way to fix this is to never apply side-paddings or borders to an element with a defined width, and to never apply top/bottom paddings or borders to an element with a defined height. What you do instead is have a container element that has a defined height or width, then an inner element to which you set your paddings and borders. Quote Link to comment https://forums.phpfreaks.com/topic/187511-can-someone-help-me-please/#findComment-990099 Share on other sites More sharing options...
TheFilmGod Posted January 7, 2010 Share Posted January 7, 2010 Please check your website in Opera. I am using an older version, but your entire website is - how would I put this politely - messed up. Just trying to help. Quote Link to comment https://forums.phpfreaks.com/topic/187511-can-someone-help-me-please/#findComment-990126 Share on other sites More sharing options...
byronwells Posted January 7, 2010 Author Share Posted January 7, 2010 Can you tell me how it looks now please? Quote Link to comment https://forums.phpfreaks.com/topic/187511-can-someone-help-me-please/#findComment-990573 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.