Alignment issues >< |
Alignment issues >< |
![]()
Post
#1
|
|
![]() (: ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 461 Joined: Jul 2005 Member No: 184,978 ![]() |
How is this aligning for you?
It's perfectly aligned on my 1280x960 res, it's a little bit off on my laptop, and a lot off in 1024x768. I'm using the position:absolute;, left:50%; and margin-left attributes, but it still isn't aligning in other resolutions. Any way to fix this? Also, textareas are not working for me... :/ is it because freewebs doesn't allow that or something? |
|
|
![]() |
![]()
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 7,063 Joined: Jul 2008 Member No: 670,288 ![]() |
The content and navigation were all the way at the top to the right. I adjusted your coding, checked it in Internet Explorer and Safari (you'll have to check in Firefox because Firefox doesn't work on my computer). What I did was positioned the template in the center. When it's in the center, you won't run into problems with positioning because people have different resolutions so if you tried all the way to the left on your computer, someone with a different resolution might have part of the template cut off or the content would be over more than it's supposed to.
Here is a preview: http://tmarshdesign.webs.com/webmasterscor...ectionistx.html If things look good, replace your codes with this: CODE <html>
<head> <title>E S T H E T I C A | designs</title> <style type="text/css"> .positioning {Positions all DIV layers} .content {position:absolute; overflow:auto; top:284px; left:50%; margin-left:-63px; _margin-left:-63px; width:362px; height:500px; background-color:transparent; border-color:222222; border-style:solid; border-width:0px;} .navigation {position:absolute; overflow:hidden; top:284px; left:50%; margin-left:-305px; _margin-left:-305px; width:192px; height:184px; background-color:transparent; border-color:222222; border-style:solid; border-width:0px;} .image {position:absolute; overflow:hidden; top:40px; left:50%; margin-left:-325px; _margin-left:-325px; width:650px; height:778px;} body { background-color:FFFFFF; scrollbar-arrow-color: #000000; scrollbar-darkshadow-color: #ffffff; scrollbar-track-color:#ffffff; scrollbar-face-color: #ffffff; scrollbar-shadow-color:#ffffff; scrollbar-highlight-color:#ffffff; scrollbar-3dlight-color: #ffffff; margin:0px; cursor: help; } div { scrollbar-arrow-color: #B5E901; scrollbar-face-color: #000000; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #000000; scrollbar-highlight-color: #000000; scrollbar-shadow-color: #000000; scrollbar-track-color: #000000; base-color: #000000; } body, div, p, strong, td, .text { color:FFFFFF; font-size:11px; font-weight:normal; font-style:normal; text-decoration:none; text-transform:none; font-family:Arial; letter-spacing:0px; } textarea { width: 200px; height: 50px; background-color:222222 !important; border: 1px solid #111111 !important; font-family: arial !important; color: #B5E901 !important; } b { color:FD3987; letter-spacing:-1px; line-height:14px; font-size:14px; font-weight:bold; font-style:normal; text-decoration:none; text-transform:uppercase; font-family:Georgia; } strong { color:FD3987; letter-spacing:-1px; line-height:14px; font-size:14px; font-weight:bold; font-style:normal; text-decoration:none; text-transform:none; font-family:Georgia; } a { color: B5E901 !important; font-family: Arial !important; text-transform: none !important; font-weight: normal !important; text-decoration: none !important; } a:hover { color: 7777777 !important; font-family: Arial !important; text-transform: none !important; font-weight: normal !important; text-decoration: none !important; cursor:crosshair; } .c {Customizes Custom Links} a.linkies:link, a.linkies:active, a.linkies:visited { background-image:url(""); background-repeat: no-repeat; background-position: left; background-color:111111; color:ffffff !important; font-family:small fonts; font-size:7px; text-align:left; border-left-style:solid; border-left-width:5px; border-left-color:#FD3987; padding-left:10px; line-height:12px; text-decoration:none; width:192px; text-transform:uppercase; font-weight:normal; letter-spacing:1px; margin-bottom:0px; cursor:crosshair; } a.linkies:hover{ background-image:url(""); background-repeat: no-repeat; background-position: left; background-color:222222; color:ffffff !important; font-family:small fonts; font-size:7px; text-align:left; border-left-style:solid; border-left-width:5px; border-left-color:#FD3987; padding-left:10px; line-height:12px; text-decoration:none; width:192px; text-transform:uppercase; font-weight:normal; letter-spacing:1px; margin-bottom:0px; } a.linkies2:link, a.linkies2:active, a.linkies2:visited { background-image:url(""); background-repeat: no-repeat; background-position: left; background-color:111111; color:ffffff !important; font-family:small fonts; font-size:7px; text-align:left; border-left-style:solid; border-left-width:5px; border-left-color:#B5E901; padding-left:10px; line-height:12px; text-decoration:none; width:192px; text-transform:uppercase; font-weight:normal; letter-spacing:1px; margin-bottom:0px; } a.linkies2:hover { background-image:url(""); background-repeat: no-repeat; background-position: left; background-color:222222; color:ffffff !important; font-family:small fonts; font-size:7px; text-align:left; border-left-style:solid; border-left-width:5px; border-left-color:#B5E901; padding-left:10px; line-height:12px; text-decoration:none; width:192px; text-transform:uppercase; font-weight:normal; letter-spacing:1px; cursor:crosshair; margin-bottom:0px; } </style> <div class="image"> <IMG src="http://i41.tinypic.com/1491m9z.gif"> </div> <div class="navigation"> <a href="http://esthetica.webs.com/index.htm" class="linkies">HOME</a> <br /><a href="http://esthetica.webs.com/MySpace%20content.htm" class="linkies2">MYSPACE CONTENT</a> <br /><a href="http://esthetica.webs.com/Website%20content.htm" class="linkies">WEBSITE CONTENT</a> <br /><a href="http://esthetica.webs.com/Tutorials.htm" class="linkies2">TUTORIALS</a> <br /><a href="http://esthetica.webs.com/Services.htm" class="linkies">SERVICES</a> <br /><a href="http://esthetica.webs.com/Contact.htm" class="linkies2">CONTACT</a> <br /><a href="http://esthetica.webs.com/Site%20info.htm" class="linkies">SITE INFO</a><br> </div> <div class="content"> UNDER CONSTRUCTION.<p> textarea<p> <textarea>sample</textarea><br /> <center><!-- Freewebs Sticker --> <noscript></noscript><!-- --><script type="text/javascript" src="http://www.freewebs.com/p.js"></script><script language="JavaScript" src="http://images.freewebs.com/JS/Freebar/btn_mirrorblack.js"> </script></center> </div> <!-- --><script type="text/javascript" src="http://staticthumbs.freewebs.com/i.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script> <script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script> <script type="text/javascript">_qacct="p-44naSaXtNJt26";quantserve();</script> </body> </html> |
|
|
![]()
Post
#3
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
The content and navigation were all the way at the top to the right. I adjusted your coding, checked it in Internet Explorer and Safari (you'll have to check in Firefox because Firefox doesn't work on my computer). What I did was positioned the template in the center. When it's in the center, you won't run into problems with positioning because people have different resolutions so if you tried all the way to the left on your computer, someone with a different resolution might have part of the template cut off or the content would be over more than it's supposed to. Here is a preview: http://tmarshdesign.webs.com/webmasterscor...ectionistx.html The preview works perfectly in Firefox. I just checked. Good layout, btw. |
|
|
![]() ![]() |