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.

CSS Forum


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



Reply
Old 09-18-2009, 06:37 AM Full width site
Extreme Talker

Posts: 161
Trades: 0
I am design a site where it looks better full width so want it full width on all screen widths but when viewing in firefox and you minimize the windows the login box moves.

Code:
* {
padding: 0px;
margin: 0px;
}

html, body, #wrapper {height: 100%;}

body > #wrapper {height: auto; min-height: 100%; width: 100%; margin: 0 auto;}

#header {
	background-image:url(images/header-1.jpg);
	background-repeat:repeat-x;
	height:146px;
}

#logo {
	background-image:url(images/logo.jpg);
	background-repeat:no-repeat;
	height:146px;
	width:200px;
	float:left;
	margin-left:50px;	
}

#login {
	background-image:url(images/header-3.jpg);
	background-repeat:no-repeat;
	height:146px;
	width:407px;
	float:right;
	margin-right:50px;
}

#menu {
	background-image:url(images/menu-1.jpg);
	background-repeat:repeat-x;
	height:69px;
}

#mid {
	background-image:url(images/mid-1.jpg);
	background-repeat:repeat-x;
	height:438px;
}
Think to design http://www.scottishreefer.co.uk/other/design3.htm
afcbob is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-18-2009, 03:01 PM Re: Full width site
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Of course the login box is going to move, you've got it floated with a 50px right margin (which IE6 will DOUBLE by the way). So, the login box is floating just like you told it to when the browser window is resized. If it didn't move, it might move OFF the screen and force people to scroll horizontally to get to it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-18-2009, 05:31 PM Re: Full width site
Extreme Talker

Posts: 161
Trades: 0
So what is the best way to do it to get it the way i want it.
afcbob is offline
Reply With Quote
View Public Profile
 
Old 09-19-2009, 10:56 AM Re: Full width site
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
And... exactly what is the way you want it ???
If you make the window smaller, but keep everything fixed, you're going to wind up hiding some things. If you want everything to be visible at different screen sizes, you need a liquid layout.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-19-2009, 12:51 PM Re: Full width site
Extreme Talker

Posts: 161
Trades: 0
What my aim is to keep the design full screen so in 800 x 600 it will be full screen and if someone has a bigger screen it will still be full screen.

Or do yo think i should just design it for one screen size if so what size?

Last edited by afcbob; 09-19-2009 at 01:00 PM..
afcbob is offline
Reply With Quote
View Public Profile
 
Old 09-19-2009, 02:49 PM Re: Full width site
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
In order to accomplish what you want, you need a liquid layout. That means defining widths in percentages, among other things.
http://www.maxdesign.com.au/presentation/liquid/
http://www.cssliquid.com/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Full width site
 

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 1.92052 seconds with 12 queries