SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jun 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question working in div elements

    can anyone tell me why my div elements stop expanding when i input text? i'm using a 3 column css layout and after i do some resizing of the divs, the page content, side bars and footer stop expanding when i type. for eg. i position curser in the div, insert a paragraph, begin typing a sentence, hit enter to start a new paragraph as usual but when i highlight the div, it's still the original size of 19px. why didn't the div expand automatically? and why does seem to happen after i begin adding content to the page?

    this is really frustrating, i wish divs acted just like tables. you might wonder why i don't just set the div size to fit the content but the pages i'm designing will be updated by others, and i'm afraid i'll have to costantly editing the template to fit the new content.

    please help, is it something i'm doing or is this just the way divs are?

    thanx

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you post your complete HTML and CSS code here? Or link to a demo page (but without the http:// and www. parts - like example.com for instance)?

  3. #3
    SitePoint Wizard
    Join Date
    Jul 2003
    Location
    Kent
    Posts
    1,921
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It's the software you are using.

  4. #4
    SitePoint Member
    Join Date
    Jun 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm using expression web 2, but i'll see.


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
  •