dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: mikepurvis

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    2,313

    The method proposed in that article is...

    The method proposed in that article is ridiculous. Javascript, for a footer?

    Cameron Adam's approach works perfectly fine and is pure css:...
  2. Replies
    1
    Views
    2,030

    There's a definitive resource here...

    There's a definitive resource here:

    The particular hack you're referring to is this one:
    http://centricle.com/ref/css/filters/tests/sbmh/
  3. There's two ways to go about this, an easy way...

    There's two ways to go about this, an easy way and a hard way. The easy way is to simply take that /images/bg.gif strip and put it in the background of #body. That way it goes the whole vertical...
  4. Replies
    12
    Views
    1,627

    You can't put a footer on this type of layout....

    You can't put a footer on this type of layout. Please be careful recommending it to newbs.

    This is a three-column layout that uses similar principles as the Piefecta:...
  5. Replies
    3
    Views
    1,227

    It's a disaster area. Basically, you pretty much...

    It's a disaster area. Basically, you pretty much have to just go ahead and presentation style="" attributes on every single element. There's no way to include a <head> tag in an email, and even if...
  6. Replies
    0
    Views
    1,278

    prepare/execute and PEAR:DB

    Question:

    I've been recently checking out some packages like Wordpress, Textpattern, PunBB, etc. I've been really surprised to see them all running their own DB abstraction layer instead of the...
  7. Replies
    15
    Views
    2,896

    Good idea. (my brain automatically rejects...

    Good idea.

    (my brain automatically rejects solutions that I know won't work on IE5, but this is a great way to do it if you aren't worried about supporting that...)
  8. Replies
    15
    Views
    2,896

    Because the inner div will be the full width of...

    Because the inner div will be the full width of the window (display:block) and thus not appear centered at all. The only way I know of to make a div the width of its content is to float it, and I...
  9. Replies
    11
    Views
    1,610

    Cameron Adams just wrote up a solution for this...

    Cameron Adams just wrote up a solution for this problem, although the responses in the comments aren't ecstatic:

    http://www.themaninblue.com/writing/perspective/2005/08/29/

    (The demos work fine...
  10. Replies
    15
    Views
    2,896

    You should be able to make it valid xHTML by just...

    You should be able to make it valid xHTML by just wrapping two more elements around the <pre>, right?

    <table><tr><td><pre>...</pre></td></tr></table>
  11. Replies
    15
    Views
    2,896

    This is actually a really interesting problem,...

    This is actually a really interesting problem, and something I've been wrestling with recently. What you really want to do is center something of an unknown horizontal size. You have float:left the...
  12. Replies
    7
    Views
    1,466

    I don't understand what you want. If you just...

    I don't understand what you want.

    If you just want three fields in a row, then you need to set the width of label to 33%. I'm not sure if you're trying to do fixed or liquid, so here's two...
  13. Replies
    7
    Views
    1,466

    Basically, to have maximum control, I like to...

    Basically, to have maximum control, I like to have the label, the inputbox, and then a wrapper around the pair. You can do it like this:

    <div class="inputwrapper"><label></label><input /></div>
    ...
  14. Replies
    7
    Views
    1,466

    Here's an example:...

    Here's an example: http://uwmike.com/layout/forms/names.html

    I've always been a fan of wrapping your <label> around the corresponding <input>, rather than having for="" all over the place:

    ...
  15. Replies
    8
    Views
    1,598

    An alternative is to do font-size: 1px; That...

    An alternative is to do font-size: 1px;

    That allows IE to render very thin horizontal elements...
  16. Replies
    3
    Views
    1,280

    You know, it's funny... I've been doing CSS for...

    You know, it's funny... I've been doing CSS for less than a year, and except in some very weird situations, I've stopped being troubled by IE. There's just a short mental list of things that I...
  17. Replies
    9
    Views
    1,437

    Ouch. But the man is right. You document...

    Ouch.

    But the man is right. You document should look like this:


    <!DOCTYPE >
    <html>
    <head>
    </head>
    <body>
  18. Replies
    3
    Views
    1,280

    I believe this is the three-pixel jog. ...

    I believe this is the three-pixel jog.

    http://positioniseverything.net/explorer/threepxtest.html

    It seems you can just holly-hack it and that clears everything up.
  19. Replies
    4
    Views
    1,458

    Just to clarify-- it doesn't have to be a size in...

    Just to clarify-- it doesn't have to be a size in pixels, it just has to be some size, in ems, %, whatever.


    #two { margin: 0 auto 0 auto; }

    That's the proper way to center in IE6 and Moz. To...
  20. Replies
    5
    Views
    1,992

    No quite sure I understand your question... ...

    No quite sure I understand your question...

    Are you meaning "How can I make the content not run over the edges of my site at narrow widths?"

    If so, there's a quirky trick involving overflow...
  21. Replies
    5
    Views
    1,992

    What you've got is this: #header { ...

    What you've got is this:


    #header {
    background-image: url(/images/clipart/knobs.jpg);
    background-repeat: no-repeat;
    height: 113px;
    width: 742px;
    }
  22. Replies
    7
    Views
    1,705

    If you read the article I linked, he explains...

    If you read the article I linked, he explains that his solution gives the correct behaviour in Safari, IE5/mac, IE/win, Moz, and Opera.


    If you only need to support IE, then yes, the one line is...
  23. Thread: CSS layout

    by mikepurvis
    Replies
    12
    Views
    2,324

    There's three-column layouts like this all over....

    There's three-column layouts like this all over.

    Examples:
    http://www.ground.cz/luci/css/my3cols.html
    http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean.html...
  24. Replies
    2
    Views
    1,999

    The most basic approach you probably want to use...

    The most basic approach you probably want to use is "opposing floats"

    It's basically like this:

    <wrapper div>

    <one column>
    </one column>

    <other column>
  25. Replies
    5
    Views
    1,352

    I just noticed that the original poster was...

    I just noticed that the original poster was asking for a left-side sidebar. Well, here's the identical markup, with two slightly altered sets of styles depending on where you want the sidebar:
    ...
Results 1 to 25 of 143
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles