jegranet Posted March 16, 2012 Share Posted March 16, 2012 I am building a site with a table. In the top row I have a logo image and to the right of that I have put a box for google links. In all but IE the box is in the right place at the top of the row. In IE it is at the bottom and has put a space under the logo. my css is: #topbox768 {width: 770px;padding:0px;margin:0px;vertical-align:top;float:right;}Can anyone tell me why this works in all browsers except IE. Many thanks. Jeanstyle.css Link to comment Share on other sites More sharing options...
thescientist Posted March 16, 2012 Share Posted March 16, 2012 are you using tables to layout your site? you should be using CSS and semantic markup instead Link to comment Share on other sites More sharing options...
jegranet Posted March 16, 2012 Author Share Posted March 16, 2012 I know, I am trying pure css layouts, but have not mastered it yet. I use Dreamweaver and the site I have built with just css is working fine, but does not look right in Dreamweaver. I hasten to add that the Dreamweaver I am using is MX2004, which I will be replacing with CS5.5 in the next couple of months. In the meantime I still have this problem with IE.Thanks. Jean Link to comment Share on other sites More sharing options...
thescientist Posted March 16, 2012 Share Posted March 16, 2012 If you are previewing with Dreamweaver then that is your first mistake. Just go straight to the browser when trying to check your work. Make sure you are using a Strict Doctype, and that all your HTML is valid. IE9 should be just as standards compliant as any other browser out there. Also, it would be important to see your HTML too, not just the CSS by itself. If you have a link to the page, that would be the most idea. Link to comment Share on other sites More sharing options...
jegranet Posted March 17, 2012 Author Share Posted March 17, 2012 I spent hours trying to find out why it wouldn't work in IE and in the end I put a float left on the logo image and that sorted the problem. Thank you for your offer of help. Jean Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.