Zebra Posted August 10, 2008 Share Posted August 10, 2008 I'm working on: http://hvidberg.net/Martin/Zebra-Project/C-Denmark2.phpThe two images at the bottom get on top of each other - Why?The code is: <div id="footer"><p> <a href="http://validator.w3.org/check?uri=referer"> <img src="valid-xhtml10-bw.bmp" style="border:0;width:88px;height:31px" alt="Valid XHTML 1.0 Strict" /> </a> <a href="http://jigsaw.w3.org/css-validator/check?uri=referer"> <img src="vcss-bw.bmp" style="border:0;width:88px;height:31px" alt="Valid CSS!" /> </a></p> </div> The CSS for that part is: div#footer p{ background:white; color:black; text-align:center} Link to comment Share on other sites More sharing options...
Ingolme Posted August 10, 2008 Share Posted August 10, 2008 This is the problem:a{ display:block; color: red; padding:10px}To solve it, add this to your CSS:div#footer a {display: inline;} Link to comment Share on other sites More sharing options...
Zebra Posted August 10, 2008 Author Share Posted August 10, 2008 Bloddy great ... Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.