Results 1 to 2 of 2

Change part of the CSS iwth an <input> box?

This is a discussion on Change part of the CSS iwth an <input> box? within the Web Design forums, part of the Web Designing & Development category; Hi, I'm trying to make a resizable DIV, where you can type in the width and height, and it'll change ...

  1. #1
    Senior Member Array
    Join Date
    Feb 2011
    Posts
    289

    Default Change part of the CSS iwth an <input> box?

    Hi,

    I'm trying to make a resizable DIV, where you can type in the width and height, and it'll change automatically, before your eyes (without having to reload the page)

    Is there a way to do this? Let's just say I have a square that is 100 x 100px. There are two text boxes below it, one showing the height, the other, the width. In the height box, you delete 100 and put in 200. Now the box is 100 x 200px. It does this by changing the box's (the DIV) CSS, because my box has a CSS property that shows how big it is. This CSS file is external, so it's something.css.

    Is this possible? I think it is, but I've searched and found nothing.

    Thanks!

  2. #2
    Member Array
    Join Date
    Sep 2011
    Posts
    90

    Default Re: Change part of the CSS iwth an <input> box?

    oh its very good article thanks for that



Similar Threads

  1. Replies: 3
    Last Post: 05-18-2011, 01:12 PM
  2. JavaScript Form Input
    By akash in forum Programming
    Replies: 3
    Last Post: 03-28-2011, 12:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO Forum | Web Hosting Forum | Websites For Sale |