Web Design Forum: Firefox And Ie6+ - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Firefox And Ie6+

#1 User is offline   ELITE 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 753
  • Joined: 30-March 08
  • Reputation: 0
  • Gender:Male
  • Location:stoke on trent
  • Experience:Intermediate
  • Area of Expertise:Coder

Posted 06 April 2008 - 11:30 PM

hi every one, i have made a few websites for my own pearsonal use and college work which was marhed in IE 6 and 7,i now want to get my website looking good in fire fox aswel i have started to build it in dreamweaver and its not put to a server yet as i only got the go ahead tonight and he hasent decided on a domain name.

the planning is to have a .swf banner followed by 11 simple box links this i have done with 3px pading top and bottom and 1 argin bottom it is as how i want it to work in IE but in firefox there is no margin,any ideas this is the imported .CSS thanks chris

px m@charset "utf-8";
body/* CSS Document */

{
background: #0000FF;
}
#container {
background: #66CC66;
height: 2000px;
width: 780px;
margin-left: 100px;
}
#nav ul {
margin: 0px;
padding: 0px;
list-style: none;
}
#nav li {
font: 86% Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
text-align: left;
list-style: none;
}
#nav a {
list-style: none;
background: #993333;
display: block;
padding-top: 3px;
width: 120px;
padding-left: 3px;
}
#nav a:link, #nav a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
text-decoration: none;
text-align: center;
padding-top: 3px;
padding-bottom: 3px;
}
#nav a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
background: #00FF00;
display: block;
}
#nav a:active {
color: #333333;
background: #0000FF;
}
#image {
width: 120px;
}
#sidebar {
text-align: center;
display: inline;
}
0

#2 User is offline   ELITE 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 753
  • Joined: 30-March 08
  • Reputation: 0
  • Gender:Male
  • Location:stoke on trent
  • Experience:Intermediate
  • Area of Expertise:Coder

Posted 07 April 2008 - 12:28 AM

i have haded a 1 px border with th same colour as the background this gives me the required effect in firefox now but its to much space between the buttons in IE any ideas thanks chris
0

#3 User is offline   bumfluff 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 923
  • Joined: 07-March 08
  • Reputation: 0
  • Gender:Male
  • Location:London
  • Experience:Intermediate
  • Area of Expertise:Designer

Posted 07 April 2008 - 12:47 AM

Hard to say without seeing the site or code, but try checking your margins/padding. They work differently in Firefox and IE and are one of the most common sources of problems when it comes to cross browser stuff. If it's the two browsers handling things differently, use a seperate stylesheet for IE.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users