Can you centre a Layer?

Discussion in 'Software' started by rik_na, Feb 26, 2008.

  1. rik_na

    rik_na Sergeant

    okay complete noob question, but I cant find the answer to this anywhere. I need an image to sit dead centre in any resolution of browser, lets say for example IE6 and IE7 800 and 1024. I need, as that screen size is changed, the image to be in the centre of whatever the screen resolution is changed to. If I use a table simple, I centre the table, place an image in it and presto. How do I get a layer to do likewise? How do I give it a location in the centre of a screen instead of having to specify a px or percentage distance from the left? Indeed, can I just attatch it to a table somehow?

    Should add I am using DW and I am already aware of this solution: http://www.webmasterworld.com/forum83/5532.htm
     
    Last edited: Feb 26, 2008

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds