Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    67
    Member #
    13752
    hi. Im really confused about this.

    I have started building a site in dreamweaver using a table. I have centered the table.
    The problem starts when i try to using layers.

    I want to layer some text over an image. If i use absolute positioning the text will always remain at a fixed point when i resize the browser (which is pointless). When i use relative positioning layer will not lie on top of the image.

    This is very frustrating.

    can someone offer a sugguestion please?

    thanks.

  2.  

  3. #2
    Senior Member Eddy Bones's Avatar
    Join Date
    Jan 2004
    Location
    Washington, USA
    Posts
    1,054
    Member #
    4651
    Make the image a background image of the table, or dump the table and learn to use divs. Putting text on top of an image defined in HTML is never the way to do it.

  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Like Eddy said, the best way to put text over an image is you apply that image as a background.

    I strongly suggest you dump the table as well and go CSS all the way!

    Check the sticky in the HTML/CSS forum or in my sig for the WHY's and HOW's
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    Man, cyberspace claimed my post, but I said what karinne said, and even provided a link.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  6. #5
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    Yeah, dump the table. And don't use those dreamweaver "layers" before you get too used to them... they're really nothing more than absolutely positioned elements (DIVs I believe).

    Be careful about putting text on top of images (something pretty simple and straightforward to do with CSS) because it may be unreadable.
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com