Jump to content

ridz16

Members
  • Posts

    5
  • Joined

  • Last visited

ridz16's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. HTML-Kit if you can't get Dreamweaver.
  2. ridz16

    Position Relative

    sh_01.gifsh_02.gifsh_03.gifsh_04.gifsh_bg.gif
  3. ridz16

    Position Relative

    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
×
×
  • Create New...