Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-25-2010, 11:45 PM   PM User | #1
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
Question unexpected styling being added to my page causing it to appear incorrectly?

Hi All,

firstly merry christmas hope you have all had a great day!

i have a little problem with my search feature for some reason when trying to search for a product it adds a left position of 717.5px??? but im not sure why so the ul appears in the middle of the search bar and not at the beginning also its adding scroll bars to my header div instead of just appearing over the top of everything?

here is my header css
Code:
#header {
	margin:0 auto;
	width:982px;
	/*height:210px;
	z-index:1;*/
	padding:5px;
	background-color:#FFFFFF;
	overflow:auto;
	position:relative;
}
and here is my page
Code:
http://www.kernow-connect.com/
if anyone can please shed some light on this id really appreciate it.

many thanks
Luke
__________________
Kernow Connect: Online Shopping, Price Comparison, Maximum Savings On Top UK Stores
Follow Us On: Twitter | Facebook
LJackson is offline   Reply With Quote
Old 12-26-2010, 12:55 PM   PM User | #2
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
ok i have managed to sort out the added scroll bars when the search results are being shown, had to change the overflow from auto to visable in my #header css but im still having the problem of the additional left styling which im not sure how or why its being applied.

anyone have any ideas?
thanks
__________________
Kernow Connect: Online Shopping, Price Comparison, Maximum Savings On Top UK Stores
Follow Us On: Twitter | Facebook
LJackson is offline   Reply With Quote
Old 12-26-2010, 01:44 PM   PM User | #3
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,689
Thanks: 158
Thanked 2,184 Times in 2,171 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
i have a little problem with my search feature for some reason when trying to search for a product it adds a left position of 717.5px??? but im not sure why so the ul appears in the middle of the search bar and not at the beginning also its adding scroll bars to my header div instead of just appearing over the top of everything?
Which is your browser?

and FYI: There's no such thing like a 0.5px
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 12-26-2010, 01:50 PM   PM User | #4
LJackson
Senior Coder

 
Join Date: Jun 2008
Location: Cornwall
Posts: 1,973
Thanks: 289
Thanked 12 Times in 12 Posts
LJackson is on a distinguished road
hi mate

its happening in firefox 3.6.13 and IE8 not sure about any others, but i assume that if its wrong in these twoo it will be incorrect in all others
ive attached two screenshots

this shows the mis location of the results


and this shows the added left position


any ideas?
thank you
Luke
__________________
Kernow Connect: Online Shopping, Price Comparison, Maximum Savings On Top UK Stores
Follow Us On: Twitter | Facebook
LJackson is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 12:13 PM.


Advertisement
Log in to turn off these ads.