Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Screen resolution & page alignment issues. WTF?
Old 10-30-2008, 07:30 PM Screen resolution & page alignment issues. WTF?
Junior Talker

Posts: 4
Name: Anthony
Trades: 0
I need to know why this website is aligned different when viewed on a monitor with a resolution of 1600x1200 and monitor with a resolution of 1024x768, 1152x864, etc.

I'm concerned with text, and image alignment, as well as getting the page so there is ZERO horizontal scroll. I want it directly in the middle, regardless of what size monitor you're viewing the site on.

Here's the site in reference: http://anthony-lane.com

Here's the page source:

PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>.:anthony lane:.</title>
<
style type="text/css">
.
style7 {
    
color#CCCCCC;
    
font-family"Century Gothic";
    
    

}
.
style14 {
    
color#CCCCCC;
    
font-sizex-small;
}
-->
</
style>
</
head>
<
body>
<
div style="position:absolute; top:10px; left:200px; width:395px; height:25px"><img src="main_page_mock.jpg" width="1024" height="768" />
<
p><!-- saved from url=(0014)about:internet --> 
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>SimpleViewer</title>
<!-- 
Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->
<
script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
    /* hide from ie on mac \*/
    html {
        height: 100%;
        
    }

    #flashcontent {
        height: 100%;
    }
    /* end hide */

    body {
        height: 100%;
        margin: 0;
        padding: 0;
        background-color:ffffff;
        color:#ffffff;
    }
</style>
</p>
<div style="position:absolute; top:170px; left:198px; width:640px; height:480px">
<div id="flashcontent">SimpleViewer requires Macromedia Flash. <a href="http://www.macromedia.com/go/getflashplayer/">Get Macromedia Flash.</a> If you have Flash installed, <a href="index.html?detectflash=false">click to view gallery</a></div>
<p>&nbsp;</p>
<script type="text/javascript"><!--
        var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "#ffffff");
        fo.addParam("wmode", "transparent");
                fo.addVariable("preloaderColor", "0xffffff");
        fo.addVariable("xmlDataPath", "gallery.xml");
        fo.write("flashcontent");
// --></script>
<p>&nbsp;</p>
</div>
<p>&nbsp;</p>
<div style="position:absolute; top:760px; left:221px; width:602px; height:25px"><center class="style7 style14"><a href="mailto:anthonylanestudios@gmail.com" style="TEXT-DECORATION: NONE"><span style="color: #cccccc;">::anthonylanestudios@gmail.com::</span></a></center></div>
</div>
</body>
<div style="position:absolute; top:767px; left:1150px; width:395px; height:25px"><img src="blocks.png" width="69" height="37" />

</html> 
Please help, thanks!
anokabball24 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2008, 07:43 PM Re: Screen resolution & page alignment issues. WTF?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
just two words is what is wrong.

absolute positioning
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-30-2008, 08:07 PM Re: Screen resolution & page alignment issues. WTF?
Junior Talker

Posts: 4
Name: Anthony
Trades: 0
Quote:
Originally Posted by chrishirst View Post
just two words is what is wrong.

absolute positioning

Ok, interesting. I tried switching it to center, but it didn't center.

What do you suggest I set my positioning to, relative?

Last edited by anokabball24; 10-30-2008 at 11:28 PM..
anokabball24 is offline
Reply With Quote
View Public Profile
 
Old 10-30-2008, 08:42 PM Re: Screen resolution & page alignment issues. WTF?
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Sticky: How To Center Your Website

Don't use positioning except as a last resort. Use the document flow. Also, for accessibility's sake (especially important if you're in the UK) have a top-level link to an HTML alternative to that Flash based stuff.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 10-30-2008, 11:24 PM Re: Screen resolution & page alignment issues. WTF?
Junior Talker

Posts: 4
Name: Anthony
Trades: 0
Where in that source would I plug in the correct CSS code???
anokabball24 is offline
Reply With Quote
View Public Profile
 
Old 10-31-2008, 02:21 AM Re: Screen resolution & page alignment issues. WTF?
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
Quote:
Originally Posted by anokabball24 View Post
Where in that source would I plug in the correct CSS code???
Your CSS should all be in an external stylesheet...Including all of that div style stuff you did in the HTML.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by TripleMoons; 10-31-2008 at 02:22 AM..
TripleMoons is offline
Reply With Quote
View Public Profile Visit TripleMoons's homepage!
 
Reply     « Reply to Screen resolution & page alignment issues. WTF?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29152 seconds with 12 queries