www.webdeveloper.com
Results 1 to 7 of 7

Thread: pictures

  1. #1
    Join Date
    Jun 2009
    Posts
    15

    Question pictures

    I'm learning HTML and my pictures are to close to my text, is there anything that I can do to make it so that's not to close to the text?

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    CSSproperties, padding and margin.
    Great wit and madness are near allied, and fine a line their bounds divide.

  3. #3
    Join Date
    Jun 2009
    Location
    Rwp, Pakistan
    Posts
    16
    why dont u refer to some good learning site. like www.w3schools.com for html and several other helps.

  4. #4
    Join Date
    Aug 2007
    Posts
    3,767
    Quote Originally Posted by sayfrndship1234 View Post
    why dont u refer to some good learning site.
    Google is quite a resource these days. A search will show w3schools first, but one is not limited to that. Personal opinions obviously, others can help as they see fit.
    Great wit and madness are near allied, and fine a line their bounds divide.

  5. #5
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    To the contrary, there is far more bad advise than good on the web regarding HTML. The problem is that you'll end up with something that seems to work but that has unknown to you, nasty side effects. While W3Schools isn't perfect they're better than most. Stay clear and far from HTML Goodies and their ilk.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  6. #6
    Join Date
    Jul 2009
    Posts
    72
    You should try playing around with the CSS properies that Declan mentioned. For example

    <img src="myimage.jpg" style="margin:10px;" />

    This should space the image 10 pixels from surrounding text / elements

  7. #7
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Except that you example 1) is not HTML and 2) isn't valid.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles