Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > HTML / XHTML
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 10-27-2009, 12:59 PM
  #1
jm_eklund
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 10
iTrader: (0)
jm_eklund is an unknown quantity at this point
IE 7 to IE 8 compatibility issue

I am a novice web admin. I am having an issue with placing a sign up form on my web site. It look good in IE8 or FF, but anything older (IE7) it looks horrible. See Attachments. Here is the code that I have:

<ul class="site-nav2">
<p>&nbsp;</p>
<FORM "ACTION="https://app.expressemailmarketing.com/Survey.aspx?SFID=75036" METHOD="POST">
<div align="center"><span class="style6 style5"> <FONT FACE="arial, helvetica">Sign up for our Mailing List
</FONT></span>
</span><BR>
<input type="TEXT" name="email" />
<BR>
<INPUT TYPE="IMAGE" SRC="images/sign_up.gif" ALIGN="ABSMIDDLE" BORDER="0" />
<INPUT TYPE="HIDDEN" NAME="SkipSurvey" VALUE="FALSE" />
</div>
</FORM>

</ul>


Here is what I have for that site-nav2 CSS:

.site-nav2 {
position:absolute;
right:10px;
top:519px;
width:234px;
height: 111px;
visibility: visible;
overflow: visible;
border: 0;
border-width: 0;
background-image: url(images/signup.png);
}
.site-nav2 li {
font-family:"Arial Narrow", Arial, Helvetica, sans-serif;
font-weight:bold;
font-size:12pt;
line-height:normal;
text-transform:lowercase;
color: #000000;
}
.site-nav2 li a {
text-decoration:none;
color:#917E65;
padding-left:36px;
background-repeat: no-repeat;
background-position: left 7px;
}
.site-nav2 li a:hover, .site-nav2 li a.act {
color:#A43812;
background-repeat: no-repeat;
background-position: left 7px;
background-image:url(images/signup.jpg)
}
Attached Thumbnails
Click image for larger version

Name:	bad.PNG
Views:	7
Size:	8.3 KB
ID:	10386  Click image for larger version

Name:	good.PNG
Views:	7
Size:	14.1 KB
ID:	10387  
jm_eklund is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-27-2009, 02:05 PM
  #2
Pegasus
Extremely Flighty Admin
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 21,472
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
What are you using for a doctype?
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-27-2009, 02:43 PM
  #3
jm_eklund
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 10
iTrader: (0)
jm_eklund is an unknown quantity at this point
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
jm_eklund is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-28-2009, 02:28 AM
  #4
vishal3184
Aspirant (Level 2)
 
Join Date: Jul 2009
Posts: 19
iTrader: (0)
vishal3184 is an unknown quantity at this point
Hi jm_eklund,

Your code for site-nav2 is :

.site-nav2 {
position:absolute;
right:10px;
top:519px;
width:234px;
height: 111px;
visibility: visible;
overflow: visible;
border: 0;
border-width: 0;
background-image: url(images/signup.png);
}

make the following changes in above css as :

.site-nav2 {
float:left;
overflow:hidden;
display:inline;
position:absolute;
width:234px;
height: 111px;
border: 0;
border-width: 0;
background-image: url(images/signup.png);
}


Let me know is it work or not....
vishal3184 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-28-2009, 02:32 AM
  #5
Pegasus
Extremely Flighty Admin
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 21,472
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
You can't have a float and absolute positioning in the same class. It just won't work that way. Try removing the position: absolute; from the code.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-29-2009, 06:30 PM
  #6
jm_eklund
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 10
iTrader: (0)
jm_eklund is an unknown quantity at this point
it is getting better. This is what it looks like now. Ref. Bigdogcattle.com
jm_eklund is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-31-2009, 09:46 PM
  #7
jm_eklund
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 10
iTrader: (0)
jm_eklund is an unknown quantity at this point
Does anyone have any ideas as to how I should go about completely fixing this compatibility issue?
jm_eklund is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-02-2009, 06:27 AM
  #8
vishal3184
Aspirant (Level 2)
 
Join Date: Jul 2009
Posts: 19
iTrader: (0)
vishal3184 is an unknown quantity at this point
Hi Pegasus,

Thanks for letting me know that float and position does not work simultaneously.
vishal3184 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-02-2009, 06:49 AM
  #9
vishal3184
Aspirant (Level 2)
 
Join Date: Jul 2009
Posts: 19
iTrader: (0)
vishal3184 is an unknown quantity at this point
hi jm_eklund,

I think your page is proper on IE and Firefox.

Let us know in brief what is ur other browser requirements.

Thanks
vishal3184 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-02-2009, 11:24 AM
  #10
jm_eklund
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 10
iTrader: (0)
jm_eklund is an unknown quantity at this point
All,

Thanks for everyone's help with this issue. I finally have a resolution. See below.... It seems that IE7 was inheriting the CSS properties from .site-nav1, so I had to specify the text size to 14px.

.site-nav2 {
float:left;
display:inline;
position:absolute;
width:234px;
height: 297px;
border: 0;
border-width: 0;
background-image: url(images/signup.png);
left: 92px;
top: 531px;
background-repeat: no-repeat;
line-height: normal;
font-size: 14px;
jm_eklund is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:45 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.