link ref is not working (i think) as the results look different on my pc and on the web after posting

goodk
goodk used Ask the Experts™
on
<link href="Styles/Site.css" rel="stylesheet" type="text/css" />

on RCPAFIRM.COM
seems like the link style is not working..
I am using godaddy.com and aspx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Armand GSenior Programmer
Commented:
Your link to the stylesheet might be an outdated one. From what I've seen, the stylesheet is loaded from this link: "rcpafirm09232012/Styles/Site.css".

Solution would be to overwrite that directory file in your server from the file you're running in your local. It helps to check also the location of the Site.css file from your local by using the View Page Source in the browser to locate your local files.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:
You have a number of Mac fonts listed first in your CSS.  I can guarantee that your page will look different on Macs and PCs when you do that.  Looks like "Helvetica Neue" on my MacBook Pro and Arial on my PC.  Fairly close but not the same.  Looks like you just got started on this.

Author

Commented:
To DaveBaldwin: I am using the same pc to view the pages (local and host)

To ArmChang: I compare the contents of the css file on the host and the local, they are same
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:
Then you must tell us exactly what you mean by 'not working'.

Author

Commented:
http://rcpafirm.com/rcpafirm09232012/Styles/Site.css
http://localhost:50647/Styles/Site.css

The files at above locations are identical

But the look of the website specially the menu buttons appearance is totally different
Armand GSenior Programmer
Commented:
In that case then may I ask what browser are you using? If it's IE8 then you need to add "X-UA-Compatible" header or META to force full IE8 standards mode. As Microsoft introduced different rendering modes for local and Internet servers.

Let me know how it goes.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:
There are no menu buttons in the code at http://rcpafirm.com/ .   If I try http://www.rcpafirm.com/ , I get a 'redirection' error.  You must have a lot going on that isn't showing on the site yet because it takes a long time to load from here.

Maybe you should post a screen shot because I don't see anything that is actually wrong.

Author

Commented:
Please see the menus are different
cpainternet.jpg
cpalocal.jpg
Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:
There is nothing in your online code to create that look.  It simply isn't there.  There is something different between the codes for the two versions.  You'll have to find it since you are the only one who can see both versions.

I suggest you start with the "View Source" of both versions to eliminate any ASP.NET differences.  Remember the browser only sees the HTML.  Anything that includes runat="server" includes things not seen by the browser.

Author

Commented:
asp.net puts the compiled version; There may be a difference with the version which decodes and pulls the contents on the local server and the posted server.  That is highly unlikely. So very confused
Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:
Like I said, look at the "View Source" for both versions.  For the browser to display something different there must Be something different.
Senior Programmer
Commented:
could you post also the contents of the source asp.net page? i would like to follow something from there.

Author

Commented:
thanks for trying - really I could not find the reason for the difference

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial