Page 1 of 3 123 LastLast
Results 1 to 15 of 40

Thread: Another css question

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

    Another css question

    When I check

    http://www.davidcohen.co.nz/bronz/index.html

    In firefox none of the css text works.

    It's all good in Safari and explorer - not netscape.

    yet

    http://www.motomail.co.nz/

    works fine.

    On the motomail site I have the css styles in the head of each page - on the BRONZ site I'm calling the text up from

    http://www.davidcohen.co.nz/bronz/bronz.css

    as a seperate file.

    Any tips? Is there a better command than:

    (tag here) STYLE type="text/css" media="all"> @import url(bronz.css ); /STYLE (end tag here - otherwise it won't display on KB)

    maybe?

    tia
    dc

  2. #2
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Could be the speech marks around the Arial, blah blah.
    "If life gives you a shit sandwich..." someone please complete this expression

  3. #3
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Whats the line: 'body ... text: 480 13px' supposed to be? the 'text' property doesnt look right, well i cant recall seeing it used anywhere anyway.
    "If life gives you a shit sandwich..." someone please complete this expression

  4. #4
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Looks like the 'text' property should be 'font'.
    "If life gives you a shit sandwich..." someone please complete this expression

  5. #5
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Sorry me again.

    I usually call the css file in the header. Look at the source code for www.virtualrugby.net. I would copy and paste the code, but this post would just delete html code anyway.
    "If life gives you a shit sandwich..." someone please complete this expression

  6. #6
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by skelstar
    Sorry me again.

    I usually call the css file in the header. Look at the source code for www.virtualrugby.net. I would copy and paste the code, but this post would just delete html code anyway.

    Hey thanks - I gave it a tidy up - but no joy - maybe I have to stick in the head of each page too.

    I'll find a different import command too.

  7. #7
    Join Date
    20th November 2002 - 11:00
    Bike
    SW-125R(F4-TF125), ZXRD400, RD250LC
    Location
    Wellington, New Zealand,
    Posts
    5,963
    Blog Entries
    36
    Quote Originally Posted by Big Dave
    Hey thanks - I gave it a tidy up - but no joy - maybe I have to stick in the head of each page too.

    I'll find a different import command too.
    I don't have much luck with the 'import' and just use link. Depends on the DOC TYPE declaration (which you don't seem to have but should) I think...
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <title>Blah</title>
    
    <link href="css/css06.css" rel="stylesheet" type="text/css" />
    Ignore the escape characters...

  8. #8
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    You def need to have it in the head of each page.

    I tend to set the font-size once, font color once, and font-family once. Do this in the body { }. Only declare variations in each tag where it varies as well. Doesnt make that much difference but it helps when youre looking for a problem like this one.
    "If life gives you a shit sandwich..." someone please complete this expression

  9. #9
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by Skunk
    I don't have much luck with the 'import' and just use link. Depends on the DOC TYPE declaration (which you don't seem to have but should) I think...
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <title>Blah</title>
    
    <link href="css/css06.css" rel="stylesheet" type="text/css" />
    Ignore the escape characters...

    Thanks - but still no dice - I changed the index page as suggested.
    Pooh sticks!

  10. #10
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    You could try putting the css/style code straight into some style tags (< s t y l e >< / s t y l e >) in the header ie dont link/import the css. Then you can test the css itself and decide wether its a css code problem, or an importing/linking problem. Like I have in my virtualrugby.net page.
    "If life gives you a shit sandwich..." someone please complete this expression

  11. #11
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by skelstar
    You could try putting the css/style code straight into some style tags (< s t y l e >< / s t y l e >) in the header ie dont link/import the css. Then you can test the css itself and decide wether its a css code problem, or an importing/linking problem. Like I have in my virtualrugby.net page.

    Compré. Give it a burl later.

    And just to further confuse matters

    www.radiusresidential.co.nz all works except for the mouseover effects - text is all as it should be.

  12. #12
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Might be the path to the css page thats confusing it. Try it with the css in the same directory. Just guessing now .

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

  13. #13
    Join Date
    20th June 2005 - 14:27
    Bike
    Fatbob
    Location
    the 'Tron
    Posts
    1,348
    its friday arvo .. and I looking down the neck of a beer so I won't be any help.

    But thought I would show off my talents :P

    http://www.loudas.com
    no frames .. no tables .. all css (some css3)
    and some fancy schmancy js for image links

  14. #14
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by TerminalAddict
    its friday arvo .. and I looking down the neck of a beer so I won't be any help.

    But thought I would show off my talents :P

    http://www.loudas.com
    no frames .. no tables .. all css (some css3)
    and some fancy schmancy js for image links
    looks great in firefox

    Just FYI - it crashed Safari. Apple have acknowledged that there is a flaw in the java in safari and have issued a patch that I installed a few days ago.
    Still crashed the browser on your page.

  15. #15
    Join Date
    8th August 2004 - 12:00
    Bike
    Arse Bandit
    Location
    AKL
    Posts
    1,437
    Quote Originally Posted by TerminalAddict
    its friday arvo .. and I looking down the neck of a beer so I won't be any help.

    But thought I would show off my talents :P

    http://www.loudas.com
    no frames .. no tables .. all css (some css3)
    and some fancy schmancy js for image links
    Did you get some motivation from www.CSSplay.co.uk?

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
  •