HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Someone help please
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
livelove



Joined: 06 Nov 2004
Posts: 1

PostPosted: Sat Nov 06, 2004 9:00 pm     Someone help please Reply with quote

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?
kanenas



Joined: 14 Dec 2004
Posts: 191

PostPosted: Tue Jan 04, 2005 12:29 am     Do it with style! Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial