[UPHPU] CSS and IE

Brandon Stout hplsbyufan at imapmail.org
Mon Jun 5 15:49:31 MDT 2006



Jonathan Duncan wrote:

> First off, why are you doing this:
>
> <ul style="margin-bottom : 500px;">

It was for the bgimage position, so it wouldn't position lower than the
browser will scroll down to.

>
>
> Second, try putting the house image in a DIV below the list in the
> HTML since that is what you want anyway.  You can still put the image
> in the div background.

Good point.  I've changed the JavaScript to make this method work, and
put it in the <div> foreground.

> If you are wanting the features list to be aligned in the center of
> the page you can put the list in a div and try a style of "text-align:
> center;"  Or you could put the list in a div and set the margins on
> that div to auto and give the div a specific width.

I've played with some of these ideas, and none of them seems to work the
way I want.  I'm thinking I'll just left-align the whole thing.  At
least then everything lines up in all browsers.

One thing that does work:  Wrapping it all into a table.  However, I
wanted to use a table-less CSS design method this time, following some
discussion from the last UPHPU meeting.

> One other thing, since most of your intended audience probably will
> not care if your pages validate, you might want to consider put the
> validation buttons on the bottom or not using them at all.
>
> Regards,
> Jonathan

True.  I'm going to keep them at least for now, because it makes for
easy validation.  Sometimes the online validator finds things my local
Tidy tools miss.  I may still keep them afterword because if I use this
site in my portfolio, those buttons will have meaning to portfolio
viewers.  I also want to promote compliant coding everywhere I can.

Thank you,

Brandon Stout
http://mscis.org


More information about the UPHPU mailing list