Results 1 to 3 of 3

Thread: I think a problem with sytax

  1. #1

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    I think a problem with sytax

    I am trying to add some padding to the text and a margin to an image inside a division and it doesn't work
    The P tag also includes an id for a bookmark
    What is wrong with this ?

    <p style="text-align:left"; padding-left:10px; id="comp";>
    <img src="../images/comp.jpg" alt="Comp shingles" style="float: left; width: 112px; height: 69px; margin: 10px;">
    Last edited by isnoend07; Apr 9th, 2013 at 01:12 PM. Reason: typo
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  2. #2
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: I think a problem with sytax

    Run it through the W3C Markup Validation Service and all will be revealed!
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  3. #3

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: I think a problem with sytax

    thanks that worked
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width