473,387 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CSS works in Firefox but not IE6

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="description" content="SEO, Seo Indianapolis,">
<meta name="keywords" content="SEO, Seo Indianapolis,">
<meta name="robots" content="index,follow">
<meta name="verify-v1" content="FxIX8dbAI3OzrFXejMH03okuqPwa5BuuoP7l0+vEK uE=">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style2.css" rel="stylesheet" type="text/css">
<script type="text/javascript"></script>
<script language="JavaScript" 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.steerpointmarketing.com/SEO.php">SEO Indianapolis</a></li>
<li></li>
<li class="style5">&nbsp;<a href="http://www.steerpointmarketing.com/ppc.php" class="style5">PPC Marketing</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointmarketing.com/web_development.php">Web Development</a></li>
<li></li>
<li>&nbsp;Keyword Search </li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointmarketing.com/internet-strategy.php">Internet Strategy</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointmarketing.com/blog">Steerpoint 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.steerpointmarketing.com/contact.php">Contact Us</a></li>
<li></li>
<li>&nbsp;<a href="http://www.steerpointmarketing.com">HOME</a></li>
</ul>

<br>

<!-- AddThis Button BEGIN -->
<script type="text/javascript">addthis_pub = 'steerpoint';</script>
<a href="http://www.addthis.com/bookmark.php" onMouseOver="return addthis_open(this, '', '[url]', '[TITLE]')" onMouseOut="addthis_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="sidebarright"><a href="http://www.steerpointmarketing.com/contact.php"><img border="0" src="http://steerpointmarketing.com/images/right4002.gif" width="125" height="400" alt="SEO Indianapolis"></a></div>
<div id="text">
<h1>Steerpoint 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://steerpointmarketing.com/images/looking.jpg" width="395" height="200" alt="Looking to be Found">
</div>
</div>

</div>
<div class="bottombar">
<div class="homebox2">
<div align="center" class="style2"><strong>Testimonials</strong></div>
<div align="center"><br>
&quot;Because 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.steerpointmarketing.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.gif" width="234" height="60" alt="SEO Book"></a><br><p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-html401"
alt="Valid HTML 4.01 Transitional" width="88" height="31" border="0">&nbsp;</a><a href="http://jigsaw.w3.org/css-validator/">
<img style="border:0;width:88px;height: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>Keyword Search: Talking to Your Target Audience</strong></div>
<br>
<a href="http://www.steerpointmarketing.com/keyword.php">Keyword 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 1998
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
[html]<!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">
<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>Untitled Document</title>
</head>

<body>
<div align="center">

<div class="frame">

<div id="header">
[headerheaderheaderheaderheaderheaderheaderheaderhe aderheader.]
</div>
<div id="enclose">
<div id="columnMain">
content
</div>
<div id="columnLeft">
[...]
</div>
</div>
<div id="columnRight">
[...]
</div>
<div id="footer">
[.footerfooterfooterfooterfooterfooterfooterfooter]
</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
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...
5
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> .......
11
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...
14
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". ...
3
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...
4
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....
28
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 ...
3
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...
13
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.