| Web Usability Discuss and review websites for better usability. |
06-27-2004, 03:04 PM
|
#1 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
Safari Browser and CSS
Does safari accept CSS? My cousin sent me a screenshot of my site, and all of the css was disregared.
|
|
|
06-27-2004, 03:15 PM
|
#2 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Your css is all screwed up.
For one, you can't put your link stuff inside of other brackets.
Brackets inside of brackets doesn't work in CSS.
CSS Validator: http://jigsaw.w3.org/css-validator/
|
|
|
06-27-2004, 03:27 PM
|
#3 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
But it won't fix the CSS? Do you mean I can't have somehting like this:
A:hover { text-decoration:underline; }
because its in
{
other text stuff
A:hover { text-decoration:underline; }
}
?
|
|
|
06-27-2004, 03:34 PM
|
#4 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
The link tags cannot be inside the other brackets.
But you can assign classes to your links like this:
[code:1:49f2776c06]
.something {stuff here: blah;}
a.something {color: blah;}
a:hover.something {text-decoration: underline;}
.somethingelse {stuff here: blah;}
a.something else {color: blah;}
a:hover.somethingelse {text-decoration: underline;}[/code:1:49f2776c06]
|
|
|
06-27-2004, 03:36 PM
|
#5 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
Ok, so now I have to re-make all of my CSS. I will finally learn I need to use a stylesheet. :bah:
|
|
|
06-27-2004, 03:48 PM
|
#6 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
So it would be this:
[code:1:e9f9922df6]
.tpnav {font-family: Tahoma; font-size: 11px; text-decoration: none; color: #A2A2A2;}
a.tpnav { text-decoration:none; }
a.hover.tpnav { text-decoration:underline; }[/code:1:e9f9922df6]
|
|
|
06-27-2004, 03:48 PM
|
#7 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
I would like to point out that you don't need to make link classes for every regular class you are using.
If you add your link styles one time in the stylesheet, they will be applied to all links.
Then if you have links that you want to do special stuff to, give those a class. But don't give all links a class.
Just put this once in your stylesheet:
[code:1:9a44e260ec]a {text-decoration: none; color: #color;}
a:hover {text-decoration: underline;} [/code:1:9a44e260ec]
|
|
|
06-27-2004, 03:49 PM
|
#8 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
Ok, thanks.
|
|
|
06-27-2004, 04:40 PM
|
#9 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Work, USA
Posts: 5,382
Latest Blog: None
|
Thanks soooo much Jazzee, it's now working in Safari. 
|
|
|
07-28-2004, 03:55 AM
|
#10 (permalink)
|
|
Inactive
Join Date: 03-08-04
Posts: 2,644
Latest Blog: None
|
lol
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 02:57 PM.
© Copyright 2008 V7 Inc
|