Changes between Version 4 and Version 5 of CssPrototyping


Ignore:
Timestamp:
2007-03-14T18:10:07Z (16 years ago)
Author:
William Henney
Comment:

typo cleanup

Legend:

Unmodified
Added
Removed
Modified
  • CssPrototyping

    v4 v5  
    3030[[Image(logo-small.png)]]
    3131
    32 Note that the actual code that would need to finally go into `trac.css` is only the one line following the `WJH` comment. Translated into English, it says: ''For any `<img>` tag that is inside an `<a>` tag with `id="logo"`, make the image width be 400 pixels, overriding all other declarations that may apply''. Also, note that the `!important` is not needed for the version on the website.
     32Note that the actual code that would need to finally go into `trac.css` is only the one line following the `WJH` comment. Translated into English, it says: ''For any `<img>` tag that is inside an `<a>` tag that has `id="logo"`, make the image width be 400 pixels, overriding all other declarations that may apply''. Also, note that the `!important` is not needed for the version on the website.
    3333
    3434=== Limitations of this approach ===
    3535
    36 Obviously, one wanted to modify the ''content'' of the image (e.g., the color) then this approach would not help. On the other hand, of the original examples given by Ryan:
     36Obviously, if one wanted to modify the ''content'' of the image (e.g., the color) then this approach would not help. On the other hand, for the original examples given by Ryan:
    3737
    3838> What if the next one is too small, or too wide, or too red.  Let's say
     
    4141> one for a discussion board.  And then another one for hotfixes.
    4242
    43 nearly all could be implemented using CSS I think.
     43then nearly all the tweaking could be implemented using CSS I think.
    4444