| 
	
 | 
 Posted by kchayka on 07/02/50 11:46 
Michael Laplante wrote: 
> "kchayka" <usenet@c-net.us> wrote in message  
> news:4bks64F11c8lgU1@individual.net... 
>  
>> You've decided on the solution without properly identifying the 
>> problem 
>  
> I would think that I'm the best person to identify my problem, doncha think? 
 
No, I think you're trying to fix the wrong problem. You just don't 
realize it. 
 
> By presuming to identify my problem, you've made some incorrect assumptions 
 
No, I neither identified your problem, nor assumed anything. I merely 
made a suggestion based on a hypothetical situation, because I didn't 
know what your real problem was. 
 
> if you re-read my original post, you could help me with a SOLUTION  
> to the problem as I identified it. 
 
Sorry, but you didn't really identify the problem. You identified some 
symptoms, but the underlying problem was still a mystery. 
 
> FWIW, a sample page is here: 
> http://www.bcfirstaid.com/adult.htm 
 
Your sample page pretty much confirms my suspicion that you are 
hacking away at something without really understanding what you're 
doing. If you did, it is extremely unlikely the stylesheet would 
include things like height:9001px 
 
Stuff like that is a dead give-away that you don't understand it. 
 
> Halfway down you see a link to a print version. Right now I've used "brute  
> force" technique -- a single cell table of fixed width that produces the  
> same output in IE, FF and Netscape. Unsophisticated but entirely sufficient 
 
And should be entirely unnecessary. 
 
> Print stylesheets have some merit, but aren't without their own issues. 
 
There is no reason *not* to use a simple print stylesheet. They work 
remarkably well if you know how to use them properly. 
 
> Can you tell me why my original solution wouldn't work? 
 
Sorry, but your code is ugly and not worth fixing. Your HTML doesn't 
validate. You're mixing HTML style attributes with CSS, and mixing 
inline and external CSS. Consider yourself lucky that anything "works" 
at all. 
 
You should start over and do it right from the beginning, instead of 
more hacking away at this thing. Why don't you go get some ready-made 
CSS templates that are already well-tested out? You might learn from 
them. Here is a place to start: 
<URL:http://css-discuss.incutio.com/?page=CssLayouts> 
 
> I look forward to your reply. 
 
Maybe, but you probably don't like it now that you've heard it. ;) 
 
BTW, Mark gave you good advice about dropping all the positioning. 
Chances are you don't need any at all, but in the event you do, don't 
use it unless you first understand how it works and what the 
repercussions are. That goes for both absolute and relative 
positioning, as well as floats. 
 
CSS is not something that you can learn overnight. It takes time, 
patience and practice. Just don't be close-minded about it and things 
will get easier. 
 
--  
Reply email address is a bottomless spam bucket. 
Please reply to the group so everyone can share.
 
[Back to original message] 
 |