-
1. Re: Text placement
Nancy O. May 9, 2012 3:29 PM (in response to frogmike)Zero out margins and padding on the top element and the element below it. I'm using inline styles here for expediency. Normally you would add CSS to your style sheet and not your HTML code.
<h1 style="margin:0; padding:0">Heading 1</h1>
<p style="margin:0; padding:0">insert images here....</p>
Nancy O.
-
2. Re: Text placement
frogmike May 9, 2012 3:45 PM (in response to Nancy O.)Thanks, where do I put those exactly?
Here is my code:
</head>
<body onLoad="MM_preloadImages('../FOLDER/IMAGE.png')">
<p class="size24">TITLE</p>
<p><img src="../FOLDER/IMAGE.png" width="150" height="150" alt="cosplay">
-
3. Re: Text placement
Nancy O. May 9, 2012 3:55 PM (in response to frogmike)<body onLoad="MM_preloadImages('../FOLDER/IMAGE.png')">
<p class="size24">TITLE</p>
<p><img src="../FOLDER/IMAGE.png" width="150" height="150" alt="cosplay">
Always use headings <h1>, <h2>, <h3> for important text like titles. Search engines give headings greater importance than paragraphs.
<h1 class="size24" style="margin:0; padding:0">TITLE</h1>
<p style="margin:0; padding:0"><img src="../FOLDER/IMAGE.png" width="150" height="150" alt="cosplay">
</p>
How to Develop with CSS? (must read)
http://phrogz.net/css/HowToDevelopWithCSS.html
Reset CSS
http://meyerweb.com/eric/tools/css/reset/
Nancy O.
-


