SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Mar 2002
    Location
    Los Angeles
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    applying a border to images that appear only within <p> tags

    How can I apply a border to only the images that appear within <p> tags?

    I can redefine the image tag to give all images a border, but thats not what I want. I only want those images that appear within a <p> tag to have a border.

    Thanks,

    Rich
    From here on, it's instinctual...even straight roads meander.

  2. #2
    morphine for a wooden leg randem's Avatar
    Join Date
    Jun 2002
    Location
    .chicago.il.us
    Posts
    957
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    IMG { border: 0px; }
    P IMG { border: solid 1px black; }
    ----Adopt-a-Sig----
    Your message here!

  3. #3
    SitePoint Addict
    Join Date
    Mar 2002
    Location
    Los Angeles
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, that worked.
    From here on, it's instinctual...even straight roads meander.


Bookmarks

Posting Permissions

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