Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Web designers - css question.

  1. #1
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472

    Web designers - css question.

    So I spend most of last night getting my head around cascading style sheets. 'the way forward' people I respect tell me. Skinny code for nifty effects. The light side.

    OK - I'll get away from the surplus nested tags and messy litter that dreamweaver can create and use a mix of html styles and css and go back to manually coding a lot of www.kiwirider.co.nz

    All works fine except when i test it in netscape - no dice on the navigation effects.
    Any of you guys have experience with this - i see there are a few different protocols for calling up the .css. Any that work with netscape that you know of?

  2. #2
    Join Date
    8th August 2004 - 12:00
    Bike
    Arse Bandit
    Location
    AKL
    Posts
    1,437
    Off topic, but did you know that one of the directors/important people for Futurama is David X. Cohen? It's true. Watch an episode (7:00pm C4)
    Quote Originally Posted by skidMark View Post
    if you have a face afterwards well... that depends how you act...

  3. #3
    Join Date
    21st October 2002 - 11:00
    Bike
    CharlesidealOB
    Location
    Auckland
    Posts
    1,950
    Blog Entries
    10
    Writing CSS code that works in both IE and FF is a complete fucking pain. Found that out when do my personel page. Which is why I gave up on back when Netscape was still around. IE is much more forgiving.

    You gotta detect which browser people are using and execute different code for each. Plenty of examples in the KB CSS code. Just download it and have a look.

  4. #4
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by Spleen
    Off topic, but did you know that one of the directors/important people for Futurama is David X. Cohen? It's true. Watch an episode (7:00pm C4)
    Simpsons too - good old uncle X eh? It's one of the most common names there is. John Smith in Hebrew. (which I ain't)

  5. #5
    Join Date
    26th April 2005 - 19:38
    Bike
    L1 GSXR 1000
    Location
    Rotorua
    Posts
    3,161
    Off topic again... The site looks good Dave. Just one bit of constructive critisism (however ya spell it). Some of your jpegs are over compressed giving a blochy look. If your using Photoshop to compress them try saving for the web and preview window will come up. you can change the settings to best suit each image.

    apart from that looks clean and easy to use.

    Oh and , Netscape SUCKS!!!

  6. #6
    Join Date
    4th November 2003 - 00:41
    Bike
    Yamama R6 & Frankie the Bucket
    Location
    Wellington
    Posts
    1,955
    Does anyone actually use Netscape anymore? I'd say it'd be better to get it right for IE & Firefox.
    For Netscape users (and IE users) just provide a download link to Firefox, it's so much better IMHO.
    The Unknown Rider

  7. #7
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    I run an online rugby betting site (www.virtualrugby.net) which is reasonably heavy in CSS. I used FFox (Mac moslty and PC at work whoops) and found it far more forgiving than IE. Many a time windows/frames/tables/divs wouldnt size/align/colour/border properly in IE but would in FFox/Safari. Whenever any of my users complain I tell them its god punishing them for buying a faulty product (MS Windows 95 or greater).
    Theres plenty of sites on the net that tell you the 'bugs'/nuances of the different browsers. I recommend googling 'Advanced CSS'.

    Good luck.
    "If life gives you a shit sandwich..." someone please complete this expression

  8. #8
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by r4q2
    Off topic again... The site looks good Dave. Just one bit of constructive critisism (however ya spell it). Some of your jpegs are over compressed giving a blochy look. If your using Photoshop to compress them try saving for the web and preview window will come up. you can change the settings to best suit each image.

    apart from that looks clean and easy to use.

    Oh and , Netscape SUCKS!!!
    And control shift r lauches 'image ready'!
    Thanks for that - I just noted mottley pixels (band name?) are more prominent on LCD screens too.
    Have upped the ones on the top title frame to 9's.

  9. #9
    Join Date
    26th April 2005 - 19:38
    Bike
    L1 GSXR 1000
    Location
    Rotorua
    Posts
    3,161
    Quote Originally Posted by Big Dave
    And control shift r lauches 'image ready'!
    Thanks for that - I just noted mottley pixels (band name?) are more prominent on LCD screens too.
    Have upped the ones on the top title frame to 9's.

    All good... thanks for the new shortcut!!!

  10. #10
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by r4q2
    All good... thanks for the new shortcut!!!
    Doh! - that's command shift m - sorry.

  11. #11
    Join Date
    26th April 2005 - 19:38
    Bike
    L1 GSXR 1000
    Location
    Rotorua
    Posts
    3,161
    Quote Originally Posted by Big Dave
    Doh! - that's command shift m - sorry.
    No worries

  12. #12
    Join Date
    19th November 2004 - 13:44
    Bike
    Triumph Tiger 800 Road
    Location
    Pinehaven, Upper Hutt
    Posts
    437
    Quote Originally Posted by Big Dave
    So I spend most of last night getting my head around cascading style sheets. 'the way forward' people I respect tell me. Skinny code for nifty effects. The light side.

    OK - I'll get away from the surplus nested tags and messy litter that dreamweaver can create and use a mix of html styles and css and go back to manually coding a lot of www.kiwirider.co.nz

    All works fine except when i test it in netscape - no dice on the navigation effects.
    Any of you guys have experience with this - i see there are a few different protocols for calling up the .css. Any that work with netscape that you know of?
    Where do you start! I've done a few sights and designed them to work in both browsers but still, some things don't appear exactly the same - such as font sizes. Most differences between the two involved some kind of measurement value i.e. font size or table width/height. You can produce a satisfactory result in the end however - just takes a bit of time/experience and fiddling about.

    Another option, like SpankMe suggested is to first detect what browser the user has and then load the appropriate stylesheet. You can find browser detection scripts all over the Web which usually revolve around a 'If, Then, Else' construct.

    This example reference to an external stylesheet should work in any browser:
    HTML Code:
    <LINK REL="stylesheet" HREF="/stylesheets/style.css" TYPE="text/css">

  13. #13
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by SpankMe
    Writing CSS code that works in both IE and FF is a complete fucking pain. Found that out when do my personel page. Which is why I gave up on back when Netscape was still around. IE is much more forgiving.

    You gotta detect which browser people are using and execute different code for each. Plenty of examples in the KB CSS code. Just download it and have a look.
    thanks - what a pain. Looks like a few more hours. ( or Ostrich it)

  14. #14
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by Groins_NZ
    This example reference to an external stylesheet should work in any browser:
    HTML Code:
    <LINK REL="stylesheet" HREF="/stylesheets/style.css" TYPE="text/css">

    Ironically it doesn't work in mine. I'll copy the source and have a look.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	grab.jpg 
Views:	11 
Size:	100.5 KB 
ID:	14237  

  15. #15
    Join Date
    20th November 2002 - 11:00
    Bike
    SW-125R(F4-TF125), ZXRD400, RD250LC
    Location
    Wellington, New Zealand,
    Posts
    5,963
    Blog Entries
    36
    I always end up writing one stylesheet for the compliant browsers and another for IE and a third for Netscape - tho' these days I ignore Netscape...

    I use PHP to detect the browser just in case javascript is turned off - that way its server side controlled.

    And I've always used
    HTML Code:
    <LINK REL="stylesheet" HREF="/stylesheets/style.css" TYPE="text/css">
    to call the stylesheet (not as you have)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •