Solved

Problem with overlapping css sheets...

Posted on 2011-09-12
25
294 Views
Last Modified: 2012-05-12
So here is the link to the problem page http://www.billsprice.com/index2.php

I added two jquery things, the autosuggest and the scroller with graphics.

They are running on two versions of jquery and i tried to change the scrollers css to different classes so it would look, however, this did not work.

Here is the reverted version, any thoughts on exactly what i need to change to make the scroller thing not look all screwed up?
0
Comment
Question by:blink10
  • 11
  • 8
  • 2
  • +2
25 Comments
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
ID: 36528222
I just changed your css of myaccountdontdelete.css line no 1063 to like below :

#featured2 .ui2-tabs-panel {
    background: none ;
    height: 250px;
    margin-left: -20px;
    margin-top: -15px;
    position: relative;
    width: 390px;
}

Open in new window


So it seems ok in firefox please check in your
0
 

Author Comment

by:blink10
ID: 36530038
i just tried this but no luck.
0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531319
To class .#featured2 UL.ui2-tabs-nav LI SPAN in file myaccountdontdelete.css
Add the following
width:95px;
word-wrap:break-word;
float:left;
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

Author Comment

by:blink10
ID: 36531472
i just added it, no luck
0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531476
I just browser tested it and it did work.
What browser are u using?
0
 

Author Comment

by:blink10
ID: 36531481
all browsers, firefox, chrome, etc.
0
 

Author Comment

by:blink10
ID: 36531497
For reference I just changed it back to without the competting style sheet. It is almost back to how its suppose to long, minus, it suppose to highlight gray option on the right.
0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531503
What stylesheet did u remove?
0
 

Author Comment

by:blink10
ID: 36531508
<link href="css/start/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531525
The options are gray on hover, what am I missing?
0
 
LVL 18

Expert Comment

by:nap0leon
ID: 36531528
Page looks fine to me in IE8, FF 6, Chrome 13, and Opera 11.5
(positioning is waaay off in IE6).

What is broken?
0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531542
IE6 does not hold to the normal browser standards, I would not expect the page to look correct in IE6, that is why Microsoft is trying to get rid of it...
http://www.ie6countdown.com/
0
 

Author Comment

by:blink10
ID: 36531544
@ melmc It was suppose to be gray on selected two

@ nap0leon I removed the competing stylesheet, which is why it looks normal
0
 

Author Comment

by:blink10
ID: 36531547
This isnt a IE issue, this is an all browser issue.
0
 
LVL 18

Expert Comment

by:nap0leon
ID: 36531578
Again.. what is broken?  The page looks fine and you did not really describe the error condition.
(you mentioned "autosuggest" and "scroller with graphics", which perhaps you already removed these.)

(and yes, the IE6 broken thing was in parenthesis b/c of course no one *should* be running IE6, but it is one that I happen to have to support at my company so I habitually look at it in that browser anyway)
0
 

Author Comment

by:blink10
ID: 36531587
Sorry, now i added the jquery style sheet back in. Now you can see how it messes up the scroller.
0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531591
What does that mean? Do you mean the content is behind the scrollbar?
0
 

Author Comment

by:blink10
ID: 36531616
I mean it isnt using the original stylesheet, the jquery sheet is overwriting it and messing it up. Let me show u screenshots.

Before adding stylesheet http://www.billsprice.com/177.png
After adding http://www.billsprice.com/277.png

0
 
LVL 8

Expert Comment

by:MelMc
ID: 36531623
U need the original style sheet to load after the one that is messing it up. Change the order of your link tags.
0
 

Author Comment

by:blink10
ID: 36531648
ok now the original style sheet loads last, no luck however.
0
 
LVL 8

Accepted Solution

by:
MelMc earned 500 total points
ID: 36531738
Make sure that you keep the original style sheet loading after the jquery one.
In the myaccountdontdelete.css do the following:
1. For Class #feature Delete height:245px;
2. Add class .ui-tabs .ui-tabs-panel{padding:0px;}
3. Add class .ui-tabs{padding:0px;}

Please put that in place, still working on the right column.
0
 

Author Comment

by:blink10
ID: 36531913
can you tell me what classes are overlapping and then ill just change the class names? Thats what I was trying to do orignally and couldnt determine.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36546960
There appears to be confusion surrounding what "scroller" that you are referring to.  My suggestion would be to attach a .png screen shot that highlights what you are referring to, in order to provide a reasonable answer.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hide un-named HTML Label with CSS 14 36
binding event to form in window.open 9 39
ASP.NET Content Page 3 31
javascript - insert into js doc help 2 25
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question