www.webdeveloper.com

Search:

Type: Posts; User: Gabarieko

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    9,107

    Thanks, my mistake... Works fine now Made it...

    Thanks, my mistake... Works fine now

    Made it so that the initial values are not change.
    The function should only get (and not change) the element's properties.

    So here is the final result:
    ...
  2. Replies
    10
    Views
    9,107

    You got it correct. However, min-width won't...

    You got it correct.

    However, min-width won't do because it is ,yet again, ignored when applied to a span...

    About the last solution, works fine and really answers the topic.
    But I can't use...
  3. Replies
    10
    Views
    9,107

    Sorry for double posting... I found a...

    Sorry for double posting...

    I found a workaround, using the properties of spans.


    <html>
    <head>
    <title>Test</title>
    <script type="text/javascript">
    function getContentSize(ele){
  4. Replies
    10
    Views
    9,107

    If you'd really like to see what I've done I can...

    If you'd really like to see what I've done I can send you the source (it's about some decorations - effects via javascript)

    An element
    (which can be any but I'd like to make all usable (the...
  5. Replies
    10
    Views
    9,107

    Well, this works as intended and is really what I...

    Well, this works as intended and is really what I needed (thank you for which)
    but there seems to be a problem -
    div's width remains unchanged although content goes out.

    Try it with a...
  6. Replies
    10
    Views
    9,107

    Get the size of div's content

    My question is, can I get the actual size of a div's content when div's width is 'auto' and the content is small enough to fit without resizing.


    I know there is a way to find the div's actual...
Results 1 to 6 of 6
HTML5 Development Center



Recent Articles