XFileSharing Pro - Css overwriting problem Please help.

Message
Author
crownin
Posts: 47
Joined: Dec 26, 2010 12:23 pm

Css overwriting problem Please help.

#1 Postby crownin » Mar 28, 2011 4:49 pm

Hello,

I'd like to have a login popup on my website, when I upload the files of the login popup to the server, upload form etc. changes because of the css file of the login popup.. I think it overwrites other css files, How could I fix this?

Thanks.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#2 Postby komi » Mar 28, 2011 6:53 pm

You can change the order of your stylesheets.

Code: Select all

<link type="text/css" rel="stylesheet" href="/css/style1.css" />
<link type="text/css" rel="stylesheet" href="/css/style2.css" />
to

Code: Select all

<link type="text/css" rel="stylesheet" href="/css/style2.css" />
<link type="text/css" rel="stylesheet" href="/css/style1.css" />
However, if you want to do it correctly, merge the two together and remove the duplicates that interfere.

glumbo
Posts: 211
Joined: Mar 11, 2011 6:26 am

#3 Postby glumbo » Mar 29, 2011 3:20 am

Or you can use the !important tag

crownin
Posts: 47
Joined: Dec 26, 2010 12:23 pm

#4 Postby crownin » Mar 29, 2011 6:44 pm

Hello,

Komi, I've tried what you've told me but it didn't work any more solutions?

crownin
Posts: 47
Joined: Dec 26, 2010 12:23 pm

#5 Postby crownin » Mar 29, 2011 7:08 pm

Glumbo could you please be more specific, Thank you.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#6 Postby komi » Mar 29, 2011 9:50 pm

crownin wrote:Hello,

Komi, I've tried what you've told me but it didn't work any more solutions?
It should work. What is your website?

Glumbo's method should work too, Google it.

crownin
Posts: 47
Joined: Dec 26, 2010 12:23 pm

#7 Postby crownin » Mar 30, 2011 1:30 pm

I've tried to google it but didn't found the answer could you please explain it here for me?

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#8 Postby komi » Mar 30, 2011 6:01 pm

I suggest you hire someone to manage your website OR take a basic HTML/CSS course. You obviously have no knownledge in this field at all.

You cannot expect to get help from us if you do not provide a link, this makes it impossible for us to determinate the exact problem.

If your problem is what I think it is, then both methods should work. And again, if you want to do it correctly, merge the two stylesheets together and remove the interfering duplicates.