Changeset 16302
- Timestamp:
- 2008-07-04T13:15:45+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/macros/nav_css.dm
r15984 r16302 53 53 ####################################################################### 54 54 55 # the spacer image - the width of this is calculated and set from server 56 _navbarspacer_ {<img src="_httpimg_/spacer.gif" width="_widthtspace_" />} 55 # the spacer image - the width of this is calculated and set from server. 56 # 57 # Its height is now explicity set to 1 to avoid width x height "scaling 58 # problem". Given that spacer.gif's natural dimensions are 40x4 pixels, 59 # left uncontrolled, when the image is stretched through _widthtspace_ to 60 # a width of say 400 (as happens when there are only two items in the 61 # navigation bar) then its height becomes 40 pixels, making the navbar 62 # twice as high as the text in it, and quite ugly looking 63 64 _navbarspacer_ {<img src="_httpimg_/spacer.gif" height="1" width="_widthtspace_" />} 57 65 58 66 _navbarspacer_[v=1] {<br>
Note:
See TracChangeset
for help on using the changeset viewer.