ridz16 Posted August 14, 2006 Share Posted August 14, 2006 To make it short, ill show a pictureoutcome in ie browseroutcome in ff browserI been trying to have no gap for ie by using position:absolute but when I did that the image is not centered but is floated on right on both ie and ff, I never even put float:right or right:0 but somehow when I use position:absolute it does. Dont know why. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>No Title</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css" rel="stylesheet">body{background-color:#ffffff; margin:0; font:10px Verdana, Tahoma, Sans-Serif;height:2px; color:#000000;}/* Anchor */a:link, a:visited{height:11px; color:#171718; text-decoration:underline;}a:active{color:#ffffff; height:11px; text-decoration:none;}a:hover{color:#ffffff; text-decoration:line-through; font-style:normal; height:2px;}/* Banner */#sh_01{background:url('../images/sh_01.gif'); width:191px; height:70px; float:left; position:relative; left:11px;}#sh_02{background:url('../images/sh_02.gif'); width:163px; height:70px; float:left; position:relative; left:1px;}#sh_03{background:url('../images/sh_03.gif'); width:412px; height:70px; float:right; position:relative; right:11px;}#sh_04{background:url('../images/sh_04.gif'); width:778px; height:55px; position:relative; top:70px;}/* Layout */#sh_bg{background:url('../images/sh_bg.gif'); width:778px; height:600px; display:table-row;}</style></head><body><div align="center"><div id="sh_bg"><div id="sh_01"></div><div id="sh_02"></div><div id="sh_03"></div><div id="sh_04"></div></div></div></body></html> what the images are..the sides is the sh_bg.gif Link to comment Share on other sites More sharing options...
Chandra.Vedantham@gmail.com Posted August 14, 2006 Share Posted August 14, 2006 Is it possible to attach all the image files to this post? Link to comment Share on other sites More sharing options...
ridz16 Posted August 14, 2006 Author Share Posted August 14, 2006 sh_01.gifsh_02.gifsh_03.gifsh_04.gifsh_bg.gif Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now