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 03-03-2011, 06:26 PM Search bar shift
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
My search bar is not in the right place when a search is made but aligns itself correctly when the user makes a search.

Any suggestions,

The Site is see24.co.uk
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-04-2011, 06:43 AM Re: Search bar shift
cbeaudin's Avatar
Extreme Talker

Posts: 158
Name: cbeaudin
Location: Proud to be Canadian
Trades: 1
The allignment looks the same to me before and after search in firefox 4 and IE 9. What browser are you using?
__________________
- cbeaudin
cbeaudin is offline
Reply With Quote
View Public Profile
 
Old 03-04-2011, 03:15 PM Re: Search bar shift
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
I have now got the bar to stay in the right place.

How can I get the bar to be in the middle of the page vertically before a search is made and then when the results are displayed put it to the top.

ie how can I alway vertically center the page??
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
Old 03-05-2011, 01:31 PM Re: Search bar shift
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
how can I alway vertically center the page?
I would suggest you try reading our stickies, there are methods there for centering of all types.
__________________
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 03-05-2011, 04:05 PM Re: Search bar shift
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
They work fine when the page is a static size. But when a search is made the page length grows and I cant seem to get those to work in this case.
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
Old 03-05-2011, 04:23 PM Re: Search bar shift
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
It is now centered and stays in the center but you need to scrol down on each page, even when the page is not longer than the window.

How can I stop this?
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
Old 03-05-2011, 04:35 PM Re: Search bar shift
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
I have tried many different ways now, none work. I have settled with this, it doesnt work though, obviously;

Code:
body {
	margin:0px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:75%;
	background-color:#ffffff;
	color:#000000;
}


/* page layout */
#pageSurround {
	position:absolute;
	margin:0px auto 0px auto;
	width:970px;	
	top-margin: 50%;		
}

#page {
	position:relative;
	float:left;
	background-color:#ffffff;
	display:block;
	background-repeat:repeat-y;
	padding:0px 10px 0px 10px;
	
	margin: 0px auto;
	top-margin:50%;
	
}
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Search bar shift
 

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