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!
fixing my text in place..
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
minuland



Joined: 27 May 2006
Posts: 1

PostPosted: Sat May 27, 2006 10:20 pm     fixing my text in place.. Reply with quote

i entered the style like the following

div.index {
position: absolute;
top: 40px;
left: 240px;
width: 400px;
height: 50px;
}
div.index a {
color: #FFFFFF;
text-decoration: none;
}
div.index a:hover {
color: #000000;
text-decoration: none;


but when i minimize the window, the text starts getting out of place...
what should i do?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8259
Location: Castle Rock CO USA

PostPosted: Sun May 28, 2006 3:10 am     Reply with quote



Don't use absolute positioning. Using this, it will be placed exactly where you want it, no matter the size of the browser.

_________________
Corey
Loud Info | Loud Worx | Merchant Account Blog
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS 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
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

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