Help - Search - Members - Calendar
Full Version: Div tag moving with page
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Under_v3
When I put Div tags into my site they always align with the browser.

The usual attributes I attach are (absolute, width 100%, etc). Would having the width at 100% account for this error? It makes sence because 100% being the browser width, and as you shrink the browser window (resize it) the div tag will align with the browser.

Is there a way I can align the div tag with a container div tag? Or is there another way to fix the div tag's content?

Thank you.
pandy
You have to show us a sample page, me thinks. But it sounds like you use CSS and 'position: absolute' and get exactly what you are asking for. 'absolute' isn't a HTML attribute. It's CSS, and it definitely isn't the first thing you do usually. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.