Jump to content

sfdower

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by sfdower

  1. How do you cause an item, positioned via a position:absolute, to not reformat when the browser window is shrunk? Using an example from W3Schools: <!DOCTYPE html><html><head><style type="text/css">h2{position:absolute;left:100px;top:150px;}</style></head><body><h2>This is a heading with an absolute position</h2><p>With absolute positioning, an element can be placed anywhere on a page. The heading below is placed 100px from the left of the page and 150px from the top of the page.</p></body></html> The H2 string goes from occupying 1 line on the web page to multiple lines if the window is shrunk smaller than the size that the text would normally occupy in 1 line. Additional info: Occurs with IE and FF. Thanks in advance for any suggestions.
×
×
  • Create New...