Posted: Sat Nov 06, 2004 9:00 pm Someone help please
so lets say i have a bunch of text that I only want to show up in a area, like a 200 x 500 pixel box that's 100 pixels from the left side of the page and 400 pixels away from the top of the page. I know there was a way to do this cause ive done it before, but i can't remember now... can someone please help me?
Posted: Tue Jan 04, 2005 12:29 am Do it with style!
What you've described doesn't sound friendly to people running at a lower (e.g. 800x600) resolution. A better course would be to change the design and apply screen-relative style attributes to a DIV so that its dimensions fit itself to the screen.
If you really need to do what you've described, you use an absolutely positioned DIV element (in the style sheet, set 'position' to 'absolute', 'margin-left' to '100px' and 'margin-top' to '400px'). Try a google search or see the CSS and HTML specs for details.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum