Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Weird! It's fine in my IE but ***** up in FF

  2. #12
    Join Date
    Aug 2006
    Location
    London
    Posts
    1,907
    Tokens
    0

    Latest Awards:

    Default

    Yep, people who say it isnt vaild I ran a vaildity check on w3.org and the results where valid so In my eyes its valid.
    it doesnt show in ff because they dont except content box resize

  3. #13
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by :Liam View Post
    Yep, people who say it isnt vaild I ran a vaildity check on w3.org and the results where valid so In my eyes its valid.
    it doesnt show in ff because they dont except content box resize

    Firefox does accept content box resize? Every layout I make, I have resizing boxes.



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  4. #14
    Join Date
    Feb 2005
    Location
    Sheffield
    Posts
    2,288
    Tokens
    1,686

    Latest Awards:

    Default

    Quote Originally Posted by :Liam View Post
    it doesnt show in ff because they dont except content box resize
    What? That's not true at all :S

  5. #15
    Join Date
    Aug 2006
    Location
    London
    Posts
    1,907
    Tokens
    0

    Latest Awards:

    Default

    Well I learnt to code from a book called html and css in easy steps by mike mcgrath according to that firefox doest accept content box resizes.

  6. #16
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    My eyes feel like theyve been raped after looking at the horrible code.

    <style type="text/css"> #div1 {border: solid 1 px purple width: 300; Height: 300;} </style>
    <div id="div1">This box will be purple and will expand when you add more text </div>
    Above is your code.
    Heres an expanding <div>stuff in div</div>

    That div will expand when you add content, it already is as wide as whatever its contained in (if nothing the page)

    To stop a div expanding, you add a width or hight css attribute, that locks the size.
    If your going to make an expanding div, the obvious thing to do then is NOT add them. Yet you stupidly do add then, which stopping it from working in a valid browser, and only works in IE because of it useing an INVALID overflow.

    If you were useing w3 standards and you wanted an expandable div with a hight that didnt go below a certain amount you would use min-height (not supported by IE)

    Secondly, look at your css, its a miracle it works. The ; aint just there for decoration. Also if your going to be valid you shouldn't be changing your Casing. And all Pixel widths should be defined as so.

    #div1 {border: solid 1px purple; width: 300px; height: 300px;}

    Hence that like the rest of your codes is INVALID, aka NOT W3 compliant. So advertising this as Valid i pretty misleading IMO. Learn css , then go write a tutorial on it.

    Aside from that im guessing the concept of a liquid layout is new to you?

  7. #17
    Join Date
    Aug 2006
    Location
    London
    Posts
    1,907
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor View Post
    My eyes feel like theyve been raped after looking at the horrible code.


    Above is your code.
    Heres an expanding <div>stuff in div</div>

    That div will expand when you add content, it already is as wide as whatever its contained in (if nothing the page)

    To stop a div expanding, you add a width or hight css attribute, that locks the size.
    If your going to make an expanding div, the obvious thing to do then is NOT add them. Yet you stupidly do add then, which stopping it from working in a valid browser, and only works in IE because of it useing an INVALID overflow.

    If you were useing w3 standards and you wanted an expandable div with a hight that didnt go below a certain amount you would use min-height (not supported by IE)

    Secondly, look at your css, its a miracle it works. The ; aint just there for decoration. Also if your going to be valid you shouldn't be changing your Casing. And all Pixel widths should be defined as so.

    #div1 {border: solid 1px purple; width: 300px; height: 300px;}

    Hence that like the rest of your codes is INVALID, aka NOT W3 compliant. So advertising this as Valid i pretty misleading IMO. Learn css , then go write a tutorial on it.

    Aside from that im guessing the concept of a liquid layout is new to you?
    Sorry :| When I tested it on w3.org it said It was valid so I class it as valid? I only added the widths and heights so that it would fit in the width and to set a minimum width/height for when theres no text in it.
    Last edited by :Liam; 10-05-2007 at 06:12 PM.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •