473,566 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS works in Firefox but not IE6

1 New Member
hello every one i have face some problem related to css.

my css file work good in firefox but not looking so good and work properly in internet explorer 6.0

plz help me and solve this problem.

html file is.
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SEO Indianapolis, Indianapolis Indiana search engine optimization</title>
<meta name="descripti on" content="SEO, Seo Indianapolis,">
<meta name="keywords" content="SEO, Seo Indianapolis,">
<meta name="robots" content="index, follow">
<meta name="verify-v1" content="FxIX8d bAI3OzrFXejMH03 okuqPwa5BuuoP7l 0+vEKuE=">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style2.cs s" rel="stylesheet " type="text/css">
<script type="text/javascript"></script>
<script language="JavaS cript" src="js/main-menu.js" type="text/javascript">
</script>
<style type="text/css"></style>
</head>
<body >

<div id ="dusk">
<div id="sidebar">
<div class="menu">
<ul>
<li>&nbsp;<a href="http://www.steerpointm arketing.com/SEO.php">SEO Indianapolis</a></li>
<li></li>
<li class="style5"> &nbsp;<a href="http://www.steerpointm arketing.com/ppc.php" class="style5"> PPC Marketing</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointm arketing.com/web_development .php">Web Development</a></li>
<li></li>
<li>&nbsp;Keywo rd Search </li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointm arketing.com/internet-strategy.php">I nternet Strategy</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointm arketing.com/blog">Steerpoin t Blog</a></li>
<li></li>
<li class="style5"> &nbsp;<a href="http://www.seo-news.com" target="_blank" class="style5"> SEO News</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointm arketing.com/contact.php">Co ntact Us</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointm arketing.com">H OME</a></li>
</ul>

<br>

<!-- AddThis Button BEGIN -->
<script type="text/javascript">add this_pub = 'steerpoint';</script>
<a href="http://www.addthis.com/bookmark.php" onMouseOver="re turn addthis_open(th is, '', '[url]', '[TITLE]')" onMouseOut="add this_close()" onClick="return addthis_sendto( )"><img src="http://s9.addthis.com/button1-share.gif" width="125" height="16" border="0" alt=""></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget. js"></script>
<!-- AddThis Button END -->


</div>
</div>

<div id="content">
<div id="sidebarrigh t"><a href="http://www.steerpointm arketing.com/contact.php"><i mg border="0" src="http://steerpointmarke ting.com/images/right4002.gif" width="125" height="400" alt="SEO Indianapolis"></a></div>
<div id="text">
<h1>Steerpoin t Marketing is a &quot;Full Service ­Result Driven&quot; Internet Marketing company</h1>
<p align="center"> By listening and understanding the goals of your company, i.e. marketing, sales and IT, we will determine the most effective keywords and keyword phrase queries to customize and tailor programs to meet the needs of your audience and your overall marketing goals of your company. Steerpoint Marketing uses sophisticated <strong>SEO</strong> techniques and provides you with monthly progress reports of all the work done on your web sites. </p>
<div align="center"> <img border="0" src="http://steerpointmarke ting.com/images/looking.jpg" width="395" height="200" alt="Looking to be Found">
</div>
</div>

</div>
<div class="bottomba r">
<div class="homebox2 ">
<div align="center" class="style2"> <strong>Testimo nials</strong></div>
<div align="center"> <br>
&quot;Becaus e of the direct effort of Chris and John we are showing up on page ONE of Google for all our Keywords. Being on page ONE not only gives us credibility to our clients but has increased our web traffic which is critical in our business.&quot; <a href="http://www.homechoice. com">HomeChoice .com</a>.<br>
</div>
</div>
<div class="homebox2 ">
<div align="center" class="style2"> <a href="http://www.steerpointm arketing.com/SEO.php">Search Engine Optimization</a></div>
<div align="center"> <br>
<a href="http://www.seobook.com/3501-0-1-25.html" target="_blank" ><img border="0" src="http://www.seobook.com/rf/banners/seobook234x60.g if" width="234" height="60" alt="SEO Book"></a><br><p>
<a href="http://validator.w3.or g/check?uri=refer er"><img
src="http://www.w3.org/Icons/valid-html401"
alt="Valid HTML 4.01 Transitional" width="88" height="31" border="0">&nbs p;</a><a href="http://jigsaw.w3.org/css-validator/">
<img style="border:0 ;width:88px;hei ght:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!">
</a>
</p>
</div>
</div>
<div class="homebox2 ">
<div align="center" class="style2"> <strong>Keywo rd Search: Talking to Your Target Audience</strong></div>
<br>
<a href="http://www.steerpointm arketing.com/keyword.php">Ke yword analysis</a> is the most fundamental step in an effective search engine optimization strategy. Proper keywords help connect potential prospects searching for your products or services to your web page.<br>
</div> </div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2573408-2";
urchinTracker() ;
</script>
</body>

</html>
[/html]

and css file is
Expand|Select|Wrap|Line Numbers
  1. body {
  2. background-color:#666666;                                            
  3. font-family: "Arial", Arial, Helvetica, sans-serif;
  4. font-weight: normal;
  5. font-size:12px;
  6. }
  7.  
  8. .bottomspace {
  9. float:right;
  10. width:900px;
  11. height:30px;
  12. margin-left:30px;
  13. margin-right:30px;
  14. }
  15. .bottombar {
  16. width:920px;
  17. height:200px;
  18. margin-left:20px;
  19. margin-right:20px;
  20. }
  21. #content {
  22. float:right;
  23. width:730px;
  24. margin-right:16px;
  25. padding-top:145px;
  26. display:inline;
  27. }
  28.  
  29. #content h1 {
  30. text-align:center;
  31. font-size:22px;
  32. font-style:italic;
  33. margin:10px 0 0 0;
  34. }
  35. #dusk {
  36. width:960px;
  37. height:780px;
  38. margin:0 auto;
  39. background-image:url(images/background960new.jpg);
  40. }
  41.  
  42. .homebox2{
  43.     width:280px;
  44.     padding-right:10px;
  45.     padding:14px 13px 13px 13px;
  46.     background:url(/images/hbox2.jpg) top no-repeat;
  47.     float:right;
  48.     text-align:center;
  49.     line-height:normal;
  50.     font-size:12px
  51.  
  52. }
  53. .homebox3{
  54.     width:930px;
  55.     margin-left: 5px;
  56.     float:right;
  57.     text-align:left;
  58.     line-height:normal;
  59.     font-size:12px
  60.     }
  61. #sidebar {
  62. float:left;
  63. width:160px;
  64. margin-left: 40px;
  65. padding-top:151px;
  66. font-family: "Arial", Arial, Helvetica, sans-serif;
  67. font-weight: bold;
  68. font-size:14px;
  69. }
  70. #sidebarright {
  71. float:right;
  72. width:126px;
  73. margin-left: 5px;
  74. display:inline;
  75. }
  76. #sidebar h2{
  77. font-size:22px;
  78. font-size:22px;
  79. font-style:italic;
  80. color:#000000;
  81. font-weight:bolder;
  82. border-bottom: 1px #000000 solid;
  83. margin-top:35px;
  84. padding:0;
  85. }
  86. #sidebar ul{
  87. list-style-type:none;
  88. padding:0;
  89. margin:0;
  90. }
  91. #sidebar ul li{
  92. font-size:12px;
  93. font-weight:bolder;
  94. color:#001D66;
  95. }
  96. #sidebar ul li a {
  97. text-decoration:none;
  98. color:#001D66;
  99. }
  100. #sidebar ul li a:hover {
  101. text-decoration:underline;
  102. color:#FFAA00;
  103. }
  104. .style1 {
  105.     color: #0000CC;
  106.     font-weight: bold;
  107.     font-size: 18px;
  108.     font-family: "Arial", Arial, Helvetica, sans-serif;
  109. }
  110. .style2 {
  111.     color: #CC0000;
  112.     font-weight: bold;
  113.     font-size: 12px;
  114.     font-family: "Arial", Arial, Helvetica, sans-serif;
  115. }
  116. .style4 {font-size: 12px}
  117. .style6 {
  118.     color: #000066;
  119.     font-weight: bold;
  120.     font-size: 16px;
  121. }
  122. #text {
  123.     height:400px;
  124.     padding:14px 13px 13px 13px;
  125.     overflow:auto;
  126.     width: auto;
  127. }
  128. #text2 {
  129.     height:100px;
  130.     overflow:auto;
  131.     width: auto;
  132. }
  133. .tagline {
  134. font-size:10px;
  135. text-align:center;
  136. }
Mar 19 '08 #1
2 2014
maggotjaxx
2 New Member
Hi!

Empty
Expand|Select|Wrap|Line Numbers
  1. <style type="text/css"></style>
is unnecessary (and empty script too), maybe this crash in IE, without that codes it works for me
Mar 20 '08 #2
manvel
2 New Member
[html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<style>

#frame {
margin-left: 20px;
width: 710px;
}

#columnMain {
float: right;
width: 395px;
background-color:#FFee00;

}
#columnLeft {
float: left;
width: 150px;
background-color:#CCCCCC;
}
#columnRight {
float: right;
width: 120px;
background-color:#CC0000;
}
#enclose {
float:left;
width:560px;
}
#footer {
clear: both;
padding-top: 1em;
text-align: center;
}
.frame {
width:960px;
height:780px;
}

</style>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitl ed Document</title>
</head>

<body>
<div align="center">

<div class="frame">

<div id="header">
[headerheaderhea derheaderheader headerheaderhea derheaderheader .]
</div>
<div id="enclose">
<div id="columnMain" >
content
</div>
<div id="columnLeft" >
[...]
</div>
</div>
<div id="columnRight ">
[...]
</div>
<div id="footer">
[.footerfooterfo oterfooterfoote rfooterfooterfo oter]
</div>
</div>

</div>

</body>
</html>[/html]
Mar 21 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

14
5437
by: tshad | last post by:
I posted this on the asp.net group, also. I wasn't sure whether this was an asp.net problem or a javascript problem. I have a page that was originally created from a program I found on the net that works well as an html page. It brings up a modal popup window that I have been trying to work out for days now and this was the closest I...
5
31210
by: Derek Erb | last post by:
I am banging my head against the wall with this one. The following code snippets work perfectly fine in MSIE6. But produce an error in Firefox and do not work at all. BROWSER.HTM <HTML> .... <div class="Abb"> <h2 id="ABTit">BROWSER</h2> </div>
11
2347
by: lkrubner | last post by:
We are working on a website that is here: http://www.lauradenyes.com/ The site was working till I put up an .htaccess file that was suppose to redirect all html files to the PHP parser. The site then stopped working, because I had the address of the PHP parser wrong. I then deleted the .htaccess file, and the site began to work again....
14
24205
by: David Blickstein | last post by:
I have some XML documents that I want to open in a web browser and be automatically translated to HTML via XSLT. I'm using an xml-stylesheet processing command in a file called "girml.xml". This all works in Internet Explorer, but doesn't work with Firefox. In both IE and Firefox this works: <?xml-stylesheet type="text/xsl"...
3
3379
by: KBuser | last post by:
I recently developed an internal website with various queries against our SQL server. I added buttons with Response.Redirect. These buttons do not work with Internet Explorer, however when using Firefox the page works flawless. Does anyone know why this is happening or how to fix it?
4
2295
by: puja | last post by:
hi all, I have an asp.net website where am including .css file dynamically on page load event. For diff users, there is diff CSS file. So after user logs in, I am setting CSS href on page load. My CSS file works fine in IE 6.0 when i specify the absolute path. eg- href ="D:\Mywebsite\css\mycssfile.css" but this full path does not work in...
28
13162
by: entfred | last post by:
I have the following line of html: &nbsp;&nbsp1234&nbsp;&nbsp;&nbsp;&nbsp;&nbspabc&nbsp;&nbsp;&nbspyow In Internet Explorer 6.0, the columns look ok using the above html: 1234 abcd yow But, in firefox, for same html, getting this:
3
1749
by: Arodicus | last post by:
I have a static class method, MyObject.MySub.MyMethod(), which points to a handler in a Flash SWF (but I think that's inconsequential). In reality, the path is a lot longer, so I'd like to make a simpler way for other programmers to access that method, such as this: var MyFunc = MyObject.MySub.MyMethod So they could just call MyFunc()...
13
3715
by: Stever1975 | last post by:
I'm working on something similiar to a shopping cart item page. There is a table of items. Each item has an image, a textbox for the qty and an image for the add button. When the add image is clicked it adds the item to the cart array and sums it if the item already exists in the cart. This code works perfectly fine in Internet explorer and...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.