HTML Help * News * Internet Style * Who is she? * Awards
Tip o' the Week: Indents
So, you want to give yourself (and your words or images) a little space on the left-hand side of the browser? What you need is to master the art of indentation! There are several options you can consider.
First off, there is the non-breaking space hack. . . the same trick I've used to get the indent at the start of this paragraph. (3 does the trick here). Just type in as many times as you want, and you'll get some space.
But that trick only works for one line so if you want a continual line of space (say, to clear a background with a border) there are two more possibilities.
The old trick is to use the <UL><UL>Your Pages Content here</UL></UL> -- this hack uses the natural indenting power of the Unordered List command to clear things from the left (Note: you may need to use THREE UL indents to get the clear space you need.
Lastly, you can always use the Transparent GIF Trick from my past tip list! (Though you'll need to probably try using it in a table to clear a repeated border image. More on tables in an upcoming tip.
Check out my Tip Archive for past handy hints.
Have a suggestion or comment about HTML or our Personal Home Pages program? Send me some feedback!
Created by Ancarett. Updated 28 June, 2001.