Click to See Complete Forum and Search --> : how do i stick my page to the left?


tito_316
10-17-2005, 12:53 PM
here is the page
http://www.angelfire.com/pe/ace4u
i want to stick it to the left
and get rid of the space that is on the edge
but i forgot how to
please help

tegraphix
10-17-2005, 01:14 PM
add this to the HEAD section:

<style type="text/css">
<!--
body {padding: 0; margin: 0;}
//-->
</style>

Charles
10-17-2005, 02:12 PM
Except tito is using XHTML and you oughtn't comment out script and styles in XHTML.

Better yet, switch to HTML 4.01 Strict.

tegraphix
10-17-2005, 03:16 PM
I use XHTML and have never had a problem with commenting out scripts and styles.

Charles
10-17-2005, 03:21 PM
I expect that you are using an XHTML/HTML hybrid and telling browsers that it's just HTML. In XHTML browsers are permitted to ingonre anything inside those comments. That's why the XHTML 1.0 specification says to not use them with SCRIPTs and STYLEs.