Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Positioning text without using padding

    I would like to center the text under image1 and have a blue border background around "Product Photos click to view" I cannot seem to get the positioning right without using right padding. If I use right padding then when I put the background color in it shows the padding also. Here is a link to my site http://www.precisemessenger.com/private/help4.html and here is an image of what I am looking to do http://www.precisemessenger.com/priv...samplesite.gif

    Thanks in advance,
    Kevin

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Then using margin instead since margin goes on the outside of the element not the inside.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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