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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Float Image over table border?

    Does anyone know how to float an image over a table border?


    Here is an example that I made in Paint quick as I don't know of any examples on the internet.
    http://userweb.suscom.net/~jt/help.gif
    Last edited by laborspy; 09-23-2006 at 02:40 AM.

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,277
    Thanks
    28
    Thanked 272 Times in 266 Posts
    Why do you want to float something over a table border? Just use absolute or relative positioning.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why ... just because. I have 15 images that are transparent, there is no need to remake them to have a border effect behind them when CSS will work just fine. Think outside of the box!

    After searching around lastnight I found that 2layers using relative positioning worked great. It allows the table to be placed anywhere on the page and not need to change any of the CSS values.

  • #4
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,277
    Thanks
    28
    Thanked 272 Times in 266 Posts
    Quote Originally Posted by laborspy View Post
    Why ... just because. I have 15 images that are transparent, there is no need to remake them to have a border effect behind them when CSS will work just fine. Think outside of the box!
    I wasn't taking issue that you wanted to overlap things, just that you wanted to do it using a float. CSS relative and absolute positioning are good for that; seems that's what you got to work for you anyway. Both of those are CSS properties though so “not need[ing] to change any of the CSS values” seems a bit cryptic.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

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