SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Thread: Opinions?

  1. #1
    SitePoint Member Delta_Boy's Avatar
    Join Date
    Oct 2003
    Location
    Vancouver
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Opinions?

    I am having some issues with .css in the site I am building. Please check out Delta Boy to see some issues I am having with it. Please feel free to critique anything else that you may see that could use improvement.

  2. #2
    Bimbo With A Brain! silver trophy Saz's Avatar
    Join Date
    Mar 2001
    Location
    Kent, United Kingdom
    Posts
    5,275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you please explain in detail the issues you have with CSS please. This is not a critique forum so you can't just ask members to look at your site and comment on it. Thank you.
    Saz: Naturally Blonde, Naturally Dizzy!
    No longer Editor of the Community Crier.

    Don't mind me, I'm having a BLONDE moment!

  3. #3
    SitePoint Member Delta_Boy's Avatar
    Join Date
    Oct 2003
    Location
    Vancouver
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had written an explanation of my issue on the webpage itself. A critique of the site was a secondary notion. Anyways, the problem is that the "test link" is not orange nor NOT underlined. It seems to be the IE default Purple with underline. Yet, the "hover" action does as it is suppose to. If you check the source code, you will see what it should be.

  4. #4
    SitePoint Wizard Keriam's Avatar
    Join Date
    Jun 2003
    Location
    Colorado, USA
    Posts
    1,178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I make no claims to being a CSS expert, but I believe it is because you have
    Code:
     A {	 
     color: orange;
     text-decoration: none;
    }
    where it should be
    Code:
    A:link {	 
     color: orange;
     text-decoration: none;
    }

  5. #5
    SitePoint Member Delta_Boy's Avatar
    Join Date
    Oct 2003
    Location
    Vancouver
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks but that didnt work.

  6. #6
    SitePoint Enthusiast siusai's Avatar
    Join Date
    Jan 2002
    Location
    Richmond, Canada
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You missed a closing } in the body,td style definition. Maybe that will fix it.

  7. #7
    SitePoint Wizard Keriam's Avatar
    Join Date
    Jun 2003
    Location
    Colorado, USA
    Posts
    1,178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by siusai
    You missed a closing } in the body,td style definition. Maybe that will fix it.
    Yep, that fixed it, at least when I tried it. Good catch and call!

  8. #8
    Super Ninja Monkey Travis's Avatar
    Join Date
    Dec 2001
    Location
    Sioux City, Iowa
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You text is horribly small. 7px is way to small to be readable.
    Travis Watkins - Hyperactive Coder
    My Blog: Realist Anew
    Projects: Alacarte - Gnome Menu Editor

  9. #9
    SitePoint Member Delta_Boy's Avatar
    Join Date
    Oct 2003
    Location
    Vancouver
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! It's usually something simple that just need a different set of eyes to look at it. The 7px on my IE 6.0 with 768x1024 resolution is readable to me, even with text sized to "smallest". Is there a standard size that is most viewable to everyone?

  10. #10
    SitePoint Addict KelliShaver's Avatar
    Join Date
    Mar 2003
    Location
    Morehead, KY
    Posts
    308
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's generally not a good idea to use pixels for font definitions anyway, because the text is rendered so much different at different screen resolutions. I usually use around 8-9pt, personally.

  11. #11
    Super Ninja Monkey Travis's Avatar
    Join Date
    Dec 2001
    Location
    Sioux City, Iowa
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, a px font size is the only one that will look the same on everything. But its still not a good idea to use it. Using pts is bad as well, because they come out so much different. You should probably use ems, %s, and the x-{size} sizes.
    Travis Watkins - Hyperactive Coder
    My Blog: Realist Anew
    Projects: Alacarte - Gnome Menu Editor

  12. #12
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Travis
    Actually, a px font size is the only one that will look the same on everything. But its still not a good idea to use it. Using pts is bad as well, because they come out so much different. You should probably use ems, %s, and the x-{size} sizes.
    Pixels are only bad because IE/Windows can't resize text set in pixel sizes. I recommend using percentages or ems, or even absolute keywords like xx-small, which would probably be what you're going for. But everyone else is right, anything under 10px can be assumed to be illegible. You can't make the assumption that everyone is running at 1024x768 (I'm running at 1280x960 so everything looks smaller on web pages), and you can't make the assumption that all people have 20/20 vision (mine is far worse, but I'm wearing contact lenses right now). Alternately, if you really want those pixel-sized fonts, allow a way for IE users to change it to a larger font by switching stylesheets. You can find a good way to do so here

  13. #13
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Color: orange isn't available as a keyword within CSS 2.0 (use RGB, % or hexadecimal) perhaps when CSS 2.1 hits the road it will be the case .

  14. #14
    SitePoint Wizard Keriam's Avatar
    Join Date
    Jun 2003
    Location
    Colorado, USA
    Posts
    1,178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by xhtmlcoder
    Color: orange isn't available as a keyword within CSS 2.0 (use RGB, % or hexadecimal) perhaps when CSS 2.1 hits the road it will be the case [img]images/smilies/wink.gif[/img].
    Erm, true. Color names are not supported by the W3C standards in any version of CSS at present, and I am not sure why that whould change with CSS 2.1. The color names are supported by most current browsers. I would think the best solution to insure that you get the color you want is to always use the hex designation for that color as W3C tells us that is the way to write correct CSS.

    Ref: http://www.w3schools.com/css/css_colornames.asp

  15. #15
    SitePoint Member Delta_Boy's Avatar
    Join Date
    Oct 2003
    Location
    Vancouver
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the link, Keriam. I presently just do whatever works on my screen. I will ensure of all the code is "valid" and correctly rendered by all browsers. That is a task that I find quite boring but it seems to be important regardless of the fact that the large majority of people use IE.


Bookmarks

Posting Permissions

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