• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Div Tag Width Changing si Undesireable

 
Ranch Hand
Posts: 2045
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a DIV tag set at a certain width. I have an UL that I use as a dynamic menu using $.hover(). The hover event displays an embeded DIV tag that is set to a third of the width of the parent DIV tag. However, when the embeded DIV tag loads the parent DIV tag widens for some reason.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you looked at the CSS is and see if it is padding, margins, etc?
Have you added borders to all the elements to ee what space they really take up.

Sounds like to me you have an element that is wider than you think it is.

Also if I were you, I would dump hover and move to hoverIntent.

Eric
reply
    Bookmark Topic Watch Topic
  • New Topic