Skip to main content
gamedev.net
🔒 Locked

HTML window

Started by EvilCrap 3 replies 500+ views
Original Post
EvilCrap
EvilCrap
im displaying images in an html window, but it has a little white space border to the left and top. anyone know how to get rid of the border so that it is just the thin window border and caption?
ProPuke
ProPuke
<style type="text/css"><!--  body{    margin:0px;  }--></style>

throw that in ya header ;]
____ _ ___ ___ __ _`By offloading cognitive load to the computer, programmers are able to design more elegant systems' - Unununium OS regarding Python
nts
nts
<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>


or the CSS above, btw there is a web dev forum [smile]
Deranged
Deranged
Quote:
Original post by nts
<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>


or the CSS above, btw there is a web dev forum [smile]


Ahh non-standard(strict) all-caps tags.
EvilCrap
EvilCrap
thanks, this is what i wanted.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.