Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1652 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

CSS color in FF/Safari

Thread title: CSS color in FF/Safari
Closed Thread    
    Thread tools Search this thread Display Modes  
07-28-2008, 04:21 PM
#1
Jeff is offline Jeff
Status: I'm new around here
Join date: Jul 2008
Location: Baltimore
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

Jeff is on a distinguished road

  Old  CSS color in FF/Safari

PLEASE DELETE THREAD.

--------------------------

Do Firefox accept color codes like "Orange" in CSS for borders or I do I have to put in the Hex# even though Safari recognizes it?

Just a glitch I noticed when I was working on a site. Thanks.

07-28-2008, 05:25 PM
#2
Caden is offline Caden
Status: Junior Member
Join date: Jul 2006
Location: Denver, Colorado
Expertise:
Software:
 
Posts: 66
iTrader: 0 / 0%
 

Caden is on a distinguished road

Send a message via AIM to Caden Send a message via MSN to Caden

  Old

If you mean like:

Code:
border: 1px solid orange;
Then yeah it works in Firefox.

07-28-2008, 05:55 PM
#3
Jeff is offline Jeff
Status: I'm new around here
Join date: Jul 2008
Location: Baltimore
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

Jeff is on a distinguished road

  Old

I'm sorry, I'm a little backwards towards today.

This is placed in a css file that each pages links to.
the code is:

#orangetrim
{
position:absolute;
top:49px;
left:49px;
width:802px;
height:502px;
background-color:#ff9933;
z-index:-1;
}

This works fine in safari but in firefox is doesn't show? any idea why?

07-28-2008, 06:06 PM
#4
Caden is offline Caden
Status: Junior Member
Join date: Jul 2006
Location: Denver, Colorado
Expertise:
Software:
 
Posts: 66
iTrader: 0 / 0%
 

Caden is on a distinguished road

Send a message via AIM to Caden Send a message via MSN to Caden

  Old

I don't know what the problem could be? I tried the code on my own Web site and it appeared just fine for me, and I am using Firefox 3. It was 802px x 502px with an orange background. Maybe you didn't call it right I guess you could say?
Code:
<div id="orangetrim">Content here</div>

07-28-2008, 08:08 PM
#5
Jeff is offline Jeff
Status: I'm new around here
Join date: Jul 2008
Location: Baltimore
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

Jeff is on a distinguished road

  Old

I just can't seem to understand why it would work in Safari and not Firefox and this is the only deliema.... If you think of anything else please let me know.

07-28-2008, 08:25 PM
#6
Caden is offline Caden
Status: Junior Member
Join date: Jul 2006
Location: Denver, Colorado
Expertise:
Software:
 
Posts: 66
iTrader: 0 / 0%
 

Caden is on a distinguished road

Send a message via AIM to Caden Send a message via MSN to Caden

  Old

Did you read what I said? It's working for me, and I only use Firefox.
If you don't mind, post your HTML code here and I will see if there's anything incorrect or try to see why it may not be working.

07-29-2008, 11:40 AM
#7
webunicorn is offline webunicorn
webunicorn's Avatar
Status: I'm new around here
Join date: Jul 2008
Location: Egypt
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

webunicorn is on a distinguished road

  Old

i think caden is right
the problem may be in calling the style in HTML

07-29-2008, 12:59 PM
#8
Jeff is offline Jeff
Status: I'm new around here
Join date: Jul 2008
Location: Baltimore
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

Jeff is on a distinguished road

  Old

Here is the code.see below. Thanks.

THE CSS CODE:

#orangetrim
{
position:absolute;
top:49px;
left:49px;
width:802px;
height:502px;
background-color:#ff9933;
z-index:-1;
}

THE HTML CODE:

<div id="orangetrim"></div>

07-29-2008, 03:21 PM
#9
Jeff is offline Jeff
Status: I'm new around here
Join date: Jul 2008
Location: Baltimore
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

Jeff is on a distinguished road

  Old  --please Delete This Thread--

I figured it out. It was because I was viewing on Firefox 2.0, it works on Firefox 3.0. Thanks for any input.

J

07-29-2008, 04:04 PM
#10
Liam is offline Liam
Liam's Avatar
Status: Member
Join date: Dec 2007
Location: Liverpool, UK
Expertise:
Software:
 
Posts: 287
iTrader: 0 / 0%
 

Liam is on a distinguished road

Send a message via MSN to Liam

  Old

it's the z-index. you have it -1.

Closed Thread    


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed