Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2009, 10:10 PM
navyfalcon's Avatar
Senior Member
 
Join Date: Sep 2008
Posts: 775
navyfalcon will become famous soon enough
Default CSS padding

Problem with CSS code
how do I put padding in the text area to keep the text away from the pictures?

<!--========== Banner ==========-->
<div id="header">
<img src="../Images/83calc.jpg" width="90" height="145" align="left" alt="calculator"><img src="../Images/TI-83a.JPG" width="85" height="145" align="left" alt="calculator"><img
src="../Images/ti_83.JPG" width="80" height="145" align="right" alt="calculator"><img
src="../Images/TI-83+.JPG" width="110" height="145" align="right" alt="calculator">
<h2>Algebra Tutorials</h2>
<p>scientific notation, exponents, graphing, polynomials, radicals, ratio &amp; proportion, factoring, linear equations, real numbers, squares, square roots, factoring, binomials, rational expressions, regressions</p><br>
<p><a id="homelink" href="../index.html">home</a>
<a href="Algebra%20Articles.html" id="articlelink">articles</a></p><br><br>
</div>
-
Problem displayed here:
http://freetutorials.name/Reference1...tutorials.html
-
Thank You
falcon
__________________
many free tutorials at
http://freetutorials.name
Reply With Quote
  #2 (permalink)  
Old 09-24-2009, 11:18 PM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

This is all I could find but you may not like the look.

Code:
<div id="header">
      <table border="1" cellpadding="5">
        <tr>
          <td>
            <img src="../Images/83calc.jpg" width="90" height="145" alt="calculator" /><img src="../Images/TI-83a.JPG" width="85" height="145" alt="calculator" />
          </td>
          <td>
            <h2>
              Algebra Tutorials
            </h2>
            <p>
              scientific notation, exponents, graphing, polynomials, radicals, ratio &amp; proportion, factoring, linear equations, real numbers, squares, square roots, factoring, binomials, rational
              expressions, regressions
            </p><br />
            <p>
              <a id="homelink" href="../index.html" name="homelink">home</a> <a href="Algebra%20Articles.html" id="articlelink" name="articlelink">articles</a>
            </p><br />
            <br />
          </td>
          <td>
            <img src="../Images/ti_83.JPG" width="80" height="145" alt="calculator" /><img src="../Images/TI-83+.JPG" width="110" height="145" alt="calculator" />
          </td>
        </tr>
      </table>
    </div>
Reply With Quote
  #3 (permalink)  
Old 09-25-2009, 11:40 AM
ishkey's Avatar
Mod - Designer
 
Join Date: Aug 2007
Location: ishkey.com
Posts: 3,502
ishkey will become famous soon enough
Default

Syntax: padding: <value>
Possible Values: [ <length> | <percentage> ]{1,4}
Initial Value: 0
Applies to: All elements
Inherited: No
The padding property is a shorthand for top, right, bottom, left

or in your html use without the quotes and spaces " & n b s p; "
is's a "no-break space no-matter which character set you use.
or use for charset UTF-8 which REQUIRES " & # 160; "
I didn't see any problem when I looked.
__________________

MySite

Last edited by ishkey; 09-26-2009 at 10:15 AM.
Reply With Quote
  #4 (permalink)  
Old 10-06-2009, 10:17 AM
Junior Member
 
Join Date: Oct 2009
Posts: 1
smismorid is on a distinguished road
Default

Quote:
Originally Posted by ishkey View Post
Syntax: padding: <value>
Possible Values: [ <length> | <percentage> ]{1,4}
Initial Value: 0
Applies to: All elements
Inherited: No
The padding property is a shorthand for top, right, bottom, left

or in your html use without the quotes and spaces " & n b s p; "
is's a "no-break space no-matter which character set you use.
or use for charset UTF-8 which REQUIRES " & # 160; "
I didn't see any problem when I looked.
Good post. I appreciate it
Many thanks to ur post. I love it.
That's pretty good.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:41 AM.