AJ Putnam wrote:
> So, I did what you indicated.  I went and removed all a:p from the 
> style sheet.  Really messed with my layout.  i added your short bit 
> of code to the top and it helped marginally.  so, i am still at a 
> loss.

Delete that "short bit of code" now, as it was only for demo/debugging
and serves no purpose anymore.

> what did I do wrong?

Nothing really - at least not yet, but you have to complete the job.

>> 2: use margins to push elements into place.

Which means you have to correct nearly all margins used in your
stylesheet - especially all those large 'margin-top'.

>> 3: don't restrict height on elements that are supposed to expand 
>> with content, and clear below floats.

Which for that particular page means deleting 'height : 720px;' on
#tourmiddle.

Have a look at a reasonably well-aligned example...

<http://www.gunlaug.no/tos/alien/ajp/test_08_0213-b.html>

...that will render the same across browser-land.

Take a close look at the stylesheet for that example - as seen through
the validator...

<http://jigsaw.w3.org/css-validator/validator?uri=http://www.gunlaug.no/tos/alien/ajp/test_08_0213-b.html&warning=1&profile=css21>

All those errors are made by me, as I've rendered almost all instances
of 'margin-top' useless in a way that the validator flags. This way I
won't have to write about every single one of them.
Now you correct those margins and give them values that suits your
layout now that all 'a:p' are gone, and all browsers will render your
layout properly.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to