![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
No wonder CSS doesn't get used as intended... it never does what it says on the tin. That's not the W3C's fault - just a reality that has persisted for as many years as I have been working in IT/Web. Prove me wrong? Can you make it work? |
#2
| |||
| |||
|
|
komone wrote: No wonder CSS doesn't get used as intended... it never does what it says on the tin. That's not the W3C's fault - just a reality that has persisted for as many years as I have been working in IT/Web. Prove me wrong? Can you make it work? People that understand CSS use it because it speeds up development time, makes a site smaller & faster, easier to maintain, easier to target cross-media, and so on. People don't usually use CSS to prove anything. If you don't want to use it, that's really your choice, and have fun using table-layout, <font>, and so on. For me just looking at a typical table-layout HTML source is enough to remind why I don't do that. |
#3
| |||
| |||
|
|
OK, ahem, Mr. P. I take it you understand CSS (as I apparently don't, LOL)? If so, show me how stupid I have been. The source is available in my original post. It ain't possible, y'know. |
#4
| |||
| |||
|
|
Steve Davis wrote: OK, ahem, Mr. P. I take it you understand CSS (as I apparently don't, LOL)? If so, show me how stupid I have been. The source is available in my original post. It ain't possible, y'know. Maybe. Not all things are possible in popular browsers using CSS2. So you need to use what works and stay away from what is know to break. This takes initial learning and the W3C specs you quoted won't be of any help in knowing what often breaks. If you show an image of what you want to do, or describe it, maybe someone can help. |
#5
| |||
| |||
|
|
"Philipp Lenssen" <info (AT) outer-court (DOT) com> wrote in message news:bor32u$1hh757$2 (AT) ID-203055 (DOT) news.uni-berlin.de... komone [a.k.a. Steve Davis] wrote: Prove me wrong? Can you make it work? People that understand CSS use it because it speeds up development time, makes a site smaller & faster, easier[...] For me just looking at a typical table-layout HTML source is enough to remind why I don't do that. OK, ahem, Mr. P. I take it you understand CSS (as I apparently don't, LOL)? If so, show me how stupid I have been. The source is available in my original post. It ain't possible, y'know. |
#6
| |||
| |||
|
|
How do you know? If *you* don't know how to do something, it doesn't make it impossible, does it? |
|
The example you provided (that doesn't validate, by the way) uses |
|
CSS2 features and behaves to the spec in Mozilla. The problems you've "noticed" are caused by two things: MSIE doesn't support CSS2 well enough so you have to emulate the same behaviour with CSS1 plus the parts of CSS2 that MSIE does support. That's the hard part. Another problem is that you've misunderstood CSS box model and expect it to behave like MSIE does. However, as I said, your example works to the spec in Mozilla and if you think otherwise, then I must conclude that you've misunderstood the spec. Perhaps.... what did I misunderstand there? I personally believe that the |
#7
| |||
| |||
|
|
OK. Layout target is: Top (banner): 100% width, 50px height. Sidebar (a navigator): On the left, 150px width, height variable Main (content): next to the sidebar, width rest of window, height variable Bottom (info): 20px height, drops down to cope with long sidebar or main, or sits at the bottom of the window if either are shorter then the window size. Hardly rocket science is it |
#8
| |||
| |||
|
|
Hmm. Did you also try to validate: http://www.w3.org/TR/REC-CSS2/visure...ed-positioning Interesting, no? |
#9
| |||
| |||
|
|
"Steve Davis" <s.davis1 (AT) chello (DOT) nl> wrote in message news:lF8sb.80832$di.21370831 (AT) amsnews02 (DOT) chello.com... snip |
#10
| |||
| |||
|
|
"Steve Davis" <s.davis1 (AT) chello (DOT) nl> wrote in message news:jc9sb.81034$di.21461266 (AT) amsnews02 (DOT) chello.com... Hmm. Did you also try to validate: http://www.w3.org/TR/REC-CSS2/visure...ed-positioning Interesting, no? Interesting? Not really... it validates as HTML 4.0 Transitional... were you suggesting that it doesn't validate? |
![]() |
| Thread Tools | |
| Display Modes | |
| |