Welcome to Dream.In.Code
Become an Expert!

Join 149,534 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,523 people online right now. Registration is fast and FREE... Join Now!




CSS coding in Firefox troubles

 
Reply to this topicStart new topic

CSS coding in Firefox troubles

crashxdive
29 Jun, 2007 - 11:44 PM
Post #1

New D.I.C Head
*

Joined: 29 Jun, 2007
Posts: 1


My Contributions
^^ Hi, I don't mean to be a pest or anything, but most recently I've had mass amounts of problems with making the CSS I use compatible with both IE and Firefox. In IE it looks wonderful, the way its supposed to be, but in Firefox, it looks like...crap. It uses the Times fonts. Is there anyway I can fix it so that the CSS/coding is the same in both browsers? It's causing mass navigation issues, and I'd like the animefanlistings off my back.

CODE
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
background-repeat: repeat-x;
font-family: Arial;
font-size: 8pt;
line-height: 14px;
text-align: justify;
color: #FE1D01;
scrollbar-base-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FE1D01;
scrollbar-shadow-color:#FFFFFF;
scrollbar-arrow-color:#FF642A;
}

#table {
width: 100%;
height: 100%;
border: 0px;
}
A:link
{ color: #FE1D01;
text-decoration: none;
background-color: none;
text-transform: uppercase;
font-weight: none;
letter-spacing: 1px;
border-bottom: 1px dotted #FF9F5A;
}

A:active
{ color: #FF9F5A;
text-decoration: none;
background-color: none;
}

A:hover {
color: #FF9F5A;
background-color: none;
text-decoration: none;
font-family: none;
font-style: italic;
cursor: nw-resize;
border-bottom: 1px dotted #FF642A;}

A:visited
{ color: #FE1D01;
text-decoration: none;
background-color: none;
text-transform: uppercase;
font-weight: none;
font-style: oblique;
border-bottom: 1px solid #FF642A;
}

blockquote {
background-color: #FFEADE;
border-left: 6px double #F11402;
text-transform: none;
font-color: #FE1D01;
letter-spacing: 0px;
line-height: 13px;
}

.header { letter-spacing: 3px; word-spacing: 2px; font-family: Arial Narrow; color: #FF642A; font-size: 16pt; font-weight: none; text-align: right; font-style: none; border-bottom: 0px dotted #A6947C; border-left: 0px solid #A3DB5A; text-transform: uppercase; background-color: none; }

.header1 { letter-spacing: 3px; word-spacing: 0px; font-family: Franklin Gothic Medium; color: #D58955; font-size: 7pt; font-weight: none; text-align: right; font-style: none; border-bottom: 0px dashed #496287; border-left: 0px solid #A3DB5A;  text-transform: uppercase; background-color: #F7F9F5; }

.head  { letter-spacing: 3px; word-spacing: 2px; font-family: Arial Narrow; color: #FF642A; font-size: 16pt; font-weight: none; text-align: right; font-style: none; border-bottom: 0px dotted #A6947C; border-left: 0px solid #A3DB5A; text-transform: uppercase; background-color: none; }

b { color: #FF642A;
text-transform: uppercase;
letter-spacing: 1px;}

i { color: #83D7E7;}

u { color: #55D7EA;}

img { border: 0;}

input,option,select,textarea
    {
    background-color: #FFE7D9;
    border: 0px dashed #1E5151;
    font-family: Tahoma;
    font-size: 8pt;
    color: #FE1D01;}

.line {
border-bottom: 1px dotted #FF642A; }
-->
</style>


@.@ any help would be appreciated!
User is offlineProfile CardPM
+Quote Post

girasquid
RE: CSS Coding In Firefox Troubles
30 Jun, 2007 - 12:58 PM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,294



Thanked: 18 times
Dream Kudos: 725
My Contributions
Have you run the code through a validator like the W3's CSS validator? That will usually help you find some things you might have missed when you were writing your CSS.

I've also been told before that scrollbar-* settings will only affect IE, although I can't tell you that for sure.
User is offlineProfile CardPM
+Quote Post

tquizzle
RE: CSS Coding In Firefox Troubles
3 Jul, 2007 - 11:19 AM
Post #3

New D.I.C Head
*

Joined: 3 Jul, 2007
Posts: 2


My Contributions
QUOTE(girasquid @ 30 Jun, 2007 - 01:58 PM) *

Have you run the code through a validator like the W3's CSS validator? That will usually help you find some things you might have missed when you were writing your CSS.

I've also been told before that scrollbar-* settings will only affect IE, although I can't tell you that for sure.


girasquid is correct, scrollbars only affect IE.

You might also start by telling us what problem the code produces. Is it an alignment issue? Are things not showing up in one browser or another?

Either way, you've seen what web designers have been struggling with for a while. IE's box model problem. You can see some info regarding it at the Listamatic site as well as copious other places.
User is offlineProfile CardPM
+Quote Post

static-dragon
RE: CSS Coding In Firefox Troubles
12 Jul, 2007 - 08:52 AM
Post #4

New D.I.C Head
*

Joined: 10 Jul, 2007
Posts: 43


My Contributions
Yes scrollbar-* only works with IE, all I can suggest is run your code through a validation and then go to http://developer.mozilla.org/ and it will have advice on this issue with Firefox.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 09:03PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month