Thread: CSS question

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    141
    Rep Power
    12

    CSS question


    I'm have applied the following style to the <td> tag:
    .img1 {
    background-image: url(images/P1.gif);
    height: 75px;
    width: 200px;

    This style doesn't work in earlier versions of Netscape. NS4.7 doesn't
    apply the height and width attirbute. How can I correct this so that
    earlier versions of NS will render the style the same?

    Also, would a CSS sytle be the better way to set a table width, alignment
    and margins. For example, I want to insert and table with a pixel width of
    770px and center alignment and top border of 0. I'm still learning better
    design uses with CSS, as I normally would just insert the table with the
    width set to 770 pixel, center the table from the properties inspector and
    set the top border to 0 in the page properties. Is there a style to set the
    table with these attributes and would this be a better way to do it? Thanks
    in advance.
    -Dman100-
  2. #2
  3. Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Aug 2003
    Location
    Toronto
    Posts
    1,614
    Rep Power
    14
    Two cents .. your flogging a dead and buried horse with netscrap 4x... doing css in nn 4x is like trying to grow hair on a bottle.. not gonna happen in my lifetime or yours. Design for the majority and fu*k the idiots who insist on driving around town on 2 and a half wheels.
    would a CSS sytle be the better way to set a table width, alignment
    If your doing tables, use the table attributes..
    webM

    for $i(0..20){for($j=0;$j<=$i;$j+=2){print pack(qq{H2},
    substr(qq{5f5745424d415354415f},$j,2));}print qq{\n};};
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    5
    Rep Power
    0
    Okay dude, so what about all you Mac idiots: the mac internet explorer 5 AND safari etc wont support the CSS that i used in my website:

    a
    {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #000000;
    text-decoration: none
    }
    a.menu
    {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none
    }

    the a works, but the a.menu wont work.
    ps: i use mic. internet explorer for pc.
  6. #4
  7. Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Aug 2003
    Location
    Toronto
    Posts
    1,614
    Rep Power
    14
    I come from the old school and passed through all the browser wars,, sleepless nights and total torment to get simple things to work properly in nn4x...

    Now I just design for IE 5+ and NN7 which also uses the mozilla engine so mozilla is included... My sites work superb in those, I dont even take anythign on the mac into considration... worse yet the safari browser... still worse worse yet >> opera..

    My view is as long as the page shows up, I really dont care how it looks ..

    The first thing I find out from clients is.. what browsers are we supporting... if I hear things like opera and mac and nn4x .. my price bubbles exponentially.

    Theres too may others using DOM compatible browsers for me to break my head over the few stubborn ones... I just put at the bottom of the site that supported browsers are bla bla and we make no excuses for browsers which are still in development and may very well not perform as expected or mangle the site functionality.
    webM

    for $i(0..20){for($j=0;$j<=$i;$j+=2){print pack(qq{H2},
    substr(qq{5f5745424d415354415f},$j,2));}print qq{\n};};
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    5
    Rep Power
    0

    Thumbs up wrd


    well i kinda have to agree with you on that.
    but when i checked out my website at my new school (art school, where they only use MACS) i was shocked cuz it just DIDNT work there. anyway, i fixed the problem. it was REALLY simple, and it wasnt the CSS which didnt work LOL!

    it was the z-index of the layertype (dreamweaver)
    thanks man!

    www.hamidyouth.tk
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    2
    Rep Power
    0

    Do you really need to worry about N4 users?


    If your visitors don't use Netscape 4 or Mac you don't need to worry about it. For example, less than 2% of our web traffic uses N4. Only about a half percent are Mac users.


    My other arguments to my company for "neglecting" that sector is that our software isn't for the Mac and if our customers won't update a free browser are they going to update their software? That said we did run an article in our monthly newsletter about updating browsers to help close security holes.

IMN logo majestic logo threadwatch logo seochat tools logo