This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > July 2007 > Fixed! I think (was: This just torques me off





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Fixed! I think (was: This just torques me off
Wes Groleau

2007-07-09, 10:18 pm

John Hosking wrote:
[Lots of helpful stuff in several posts]

Got it working, sort of. I knew it wasn't the Javascript,
but I pulled that out anyway, and it was still screwed.

I didn't 100% understand your coaching on the swapping,
but I went all the way back to the ALA CSS and began
tweaking again.

Part of the problem is that the trick depends on the
box without the wide border sitting on top of the other
box's border. And for that to happen, the box with
the border must be first in the HTML.

http://UniGen.us/experiment/ONE

shows the tricking working, along with a comparison
with Pearce's (ALA) CSS and mine.

There will eventually be an acknowledgements page
somewhere on the site. May I thank you by name,
or would you prefer to remain anonymous?

--
Wes Groleau

The man who says, "I can do it!" may sometimes fail.
The man who says, "Impossible!" will never succeed.
John Hosking

2007-07-09, 10:18 pm

Wes Groleau wrote:
> John Hosking wrote:
> [Lots of helpful stuff in several posts]


<preens> :-)

>
> I didn't 100% understand your coaching on the swapping,
> but I went all the way back to the ALA CSS and began
> tweaking again.


Yeah, I wondered if I should post my code for you. It would have been
clearer.

>
> Part of the problem is that the trick depends on the
> box without the wide border sitting on top of the other
> box's border. And for that to happen, the box with
> the border must be first in the HTML.


Exactly.

>
> http://UniGen.us/experiment/ONE
>
> shows the tricking working, along with a comparison
> with Pearce's (ALA) CSS and mine.


Cool. But I notice a few things:
1) There are some stray bits of code-like detritus laying around in the
visible page. Or did you mean for them to be there?
2) The entire content of the page doesn't show up unless I dial the text
size down (FF).
3) In IE6, the sidebar content is down and to the right, after all the
other content (but before the footer). The sidebar's apparent background
(the soft blue area) is positioned as desired on the left, but the
content (also with a blue BG) is down below.

>
> There will eventually be an acknowledgements page
> somewhere on the site. May I thank you by name,
> or would you prefer to remain anonymous?


Well, let's get it right, first. ;-)
When we get that far, you may use my name if you want, but please don't
feel obliged to. I'd just as soon be helpful in the shadows.

Pursuant to that last, I'll have to take a further look at your code.
Don't know when I'll get back here with something; it's getting late here.

--
John
Wes Groleau

2007-07-09, 10:18 pm

But at least there's progress--if not on the web, at least in my brain.

John Hosking wrote:

> 1) There are some stray bits of code-like detritus laying around in the
> visible page. Or did you mean for them to be there?


Yes. I repeated the start and stop of each div to ensure
there wasn't a bogus extra tag and each "colored box" that
was what it was supposed to be.

> 2) The entire content of the page doesn't show up unless I dial the text
> size down (FF).
> 3) In IE6, the sidebar content is down and to the right, after all the
> other content (but before the footer). The sidebar's apparent background
> (the soft blue area) is positioned as desired on the left, but the
> content (also with a blue BG) is down below.


Sigh. Yep, I moved the "working" CSS back to the main page
and now that page is doing on Camino what you just described.
And on FireFox (Mac). The experiment/ONE page looks asexpected
on both of those pages.

> Pursuant to that last, I'll have to take a further look at your code.
> Don't know when I'll get back here with something; it's getting late

here.

The difference is probably some margin or padding or
something that's in the "main" file but not in the experiment.

I have to call it a night, too. Thanks again.

--
Wes Groleau

Even if you do learn to speak correct English,
whom are you going to speak it to?
-- Clarence Darrow
Beauregard T. Shagnasty

2007-07-09, 10:18 pm

John Hosking wrote:

> 1) There are some stray bits of code-like detritus laying around in
> the visible page. Or did you mean for them to be there?


Looks intentional to me. ;-)

<div id="sidebarcontainer">
<p>div id="sidebarcontainer"</p>

and

<p>/div> ! - - id="sidebarcontainer" - - </p>

--
-bts
-Motorcycles defy gravity; cars just suck
Wes Groleau

2007-07-10, 10:16 pm

Sigh. Tweaked a width spec somewhere and everything jumped into
the right place. Removed a few others I thought unnecessary
(stupidly forgetting to archive what was working reasonably well)
and everything went to pot.

Tried to put them back where they were, and now it's the
worst it's been yet.

Plus I forgot to change the 'transitional' to 'strict'


--
Wes Groleau

"But, Professor! I didn't plagiarize! I paid someone to
write the essay for me, and that person plagiarized!"
-- from http://rateyourstudents.blogspot.com
Wes Groleau

2007-07-10, 10:16 pm

Still needs a lot of work, but finally I can tolerate what
I see on Camino & FireFox Mac. IE 5.3 completely sucks, but
that might be because I again forgot to change the DTD to strict.

But THIS time I remembered to check in the CSS to RCS so I can
go back to it if need be. :-)

--
Wes Groleau

He that complies against his will is of the same opinion still.
-- Samuel Butler, 1612-1680
Beauregard T. Shagnasty

2007-07-11, 3:16 am

Wes Groleau wrote:

> ..because I again forgot to change the DTD to strict.


Should take about ten seconds to correct that. Paste in this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

...and don't forget to visit the validator.

--
-bts
-Motorcycles defy gravity; cars just suck
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews