M
Murray
Trevor:
Consider this page -
http://www.murraytestingsite.com/FPtrevor.html
Look at the CSS there....
Consider this page -
http://www.murraytestingsite.com/FPtrevor.html
Look at the CSS there....
CSS, and certainly doesn't need so many custom classes....
Trevor:
Just a comment - your CSS would be ever so much easier to understand
and troubleshoot if you eliminate all of the custom classes.
Move the specific styles to the said:I try not to use a single one on my pages (I often fail, but one or two is
not bad).
Learn how to use descendent selectors instead. That way
you can build your CSS as you build your page - top down. All the
rules that affect a given container and its contents are grouped
together and it becomes much easier to grasp....
was OK goes haywire. Maybe there is no solution and frames rule ;-)
If you really want I'll show you how to do a real minimum width....
But perhaps using "min-width" would fix it.
Maybe, but I found that I have to use % widths. Can I use min-width with a
% spec.
If so, what ?
I used 14% and 86% for my 2 <div>s. Should one set them to low values ?
Also, it wouldn't work in IE, I guess
IE does support percentage values for width and height, so I presume that
they support it for minwidth and minheight. The tool I mentioned should
help you ascertain this.
One thing to keep in mind id the difference between the way IE and Mozilla
handle margins and padding in Mozilla browsers, margins and padding add to
the total width/height calculations of elements, whereas in IE, they do
not.
4. I used *no* position spec, either absolute or relative in the CSS
BRAVO!
This would be great, but I have to careful, as I said above. A small
change can have drastic results.
Kevin said:Hi Trevor,
I just posted a link to a new Microsoft IE Add-on that works just
like the FireFox Web Developer tools. You should find it very helpful:
http://www.microsoft.com/downloads/...64-672d-4511-bb3e-2d5e1db91038&DisplayLang=en
One thing to keep in mind id the difference between the way IE and
Mozilla handle margins and padding in Mozilla browsers, margins and
padding add to the total width/height calculations of elements,
whereas in IE, they do not.
Also, did you note the links I posted yesterday?
When you're ready, post the link to your site again, and I'll take
another look!
{
position: absolute;
vertical-align: bottom;
2. How do I get the "right" <div> to scroll?
I added overflow:auto to the CSS but it doesn't seem to do anything.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.