houssam_ballout Posted March 10, 2010 Share Posted March 10, 2010 Hello , in the html page, I want to put the image at the very top of the page, I don't want that small space to be shown;Any help?Thanks in advance Link to comment Share on other sites More sharing options...
thescientist Posted March 11, 2010 Share Posted March 11, 2010 weird, i feel like removing white space from images has been the question of the week.....make it display: block and remove any margins and/or padding Link to comment Share on other sites More sharing options...
lmtwoody Posted March 11, 2010 Share Posted March 11, 2010 to remove the space at the top of a page, like you're asking, I'd use styles, and set the top margin of your container, (div or body) (left and right, also, if so desired) to 0.like this, margin-top : 0;enjoy. Link to comment Share on other sites More sharing options...
Synook Posted March 11, 2010 Share Posted March 11, 2010 The best thing to do is to use a CSS reset sheet on your page. That way you don't have to keep going round neutralising unwanted definitions when you encounter them.http://www.google.com.au/search?q=CSS+reset Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.