![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is the bit of HTML: div id="navbar" span class="orange"> Home</span |
|
font-size: 14px; |
#3
| |||
| |||
|
|
On Tue, Jul 15, Robert Lapes inscribed on the eternal scroll: This is the bit of HTML: div id="navbar" span class="orange"> Home</span The Unicode character 155 decimal is unused in HTML, as are all of the control characters from 127 to 159 inclusive. font-size: 14px; px font size units? - NOT in a WWW context, please! Thanks for the comments: |
#4
| |||||
| |||||
|
|
Did you have problems seeing the › character? |
|
I was lazy and just used my editor to insert the character. |
|
What about ⇒ or », is it safe to use these characters. |
|
I agree that using px as a font-size isn't desirable, however I wanted to predict the navbar height so I could position the menu correctly. |
|
in this instance changing from px to em or pt - does not fix the problem with the nav bar image in O6.05. But I do accept it is not an ideal solution |
#5
| ||||
| ||||
|
|
What about ⇒ or », is it safe to use these characters. What did HTML4 say in 1997? Surely we're most of the way there now... Which is it to be - a 1997 specification that's now mostly met by today's browsers, or an ad hoc "looks right to me" specification- violating notation from the Empire, that has been campaigned against for even longer than HTML4 existed - and is rightly rejected by XML-conforming software? I'm sorry Alan - I do not understand your comment. I looked on the |
|
My diagnosis, FWIW, is that this design already has way too over-complex CSS to be able to work successfully in more than a few specific browsers at a narrow range of sizes. My counsel, for what it's worth, is this. Simplify, make more flexible, use techniques which adapt _themselves_ to the browser situations that they will encounter, i.e will float the parts of the content into the right relation with each other, near enough; rather than struggling to compute everything by dead-reckoning and risking the whole rigid edifice shattering into bits in browsing situations that differ from your own. ("Been there, done that"...) I am learnly slowly which bits I can control and which bits I cannot. |
|
There's parts of your page that already react real well to changes in browsing situation. But as you've seen, there are still problem areas. |
|
good luck By the way, while one's still working on this kind of test page, I'd recommend to put some visible borders on. I always find it helps to understand what the browsers are doing: http://ppewww.ph.gla.ac.uk/~flavell/...yout-diag.html |
#6
| |||||
| |||||
|
|
Which is it to be - a 1997 specification that's now mostly met by today's browsers, or an ad hoc "looks right to me" specification- violating notation from the Empire, that has been campaigned against for even longer than HTML4 existed - and is rightly rejected by XML-conforming software? I'm sorry Alan - I do not understand your comment. |
|
I looked on the W3C web site and could see I shouldn't use › |
|
- though many US site still validate its use. |
|
The W3C documentation is a little impenetrable... so I could not decide if I should or should not use ⇒ or ». |
. In this|
My aim was to create a pleasing effect to emphasise the navigation bar text without resorting to using an image. |
![]() |
| Thread Tools | |
| Display Modes | |
| |