943,175 Members | Top Members by Rank

Ad:
Sep 2nd, 2010
0

Landing Page Issues

Expand Post »
Hey,

Just having a few problems with a few of my landing pages and was wondering if anyone knows how to fix them or can help me find a link with the solutions.

1. How do I make the landing pages work in all browsers. For example, my pages work in firefox perfectly but as soon as you open them in chrome they are off by about 2px (this includes all images, tables, etc). If I open it in IE, the page is all over the place (for example the table is at bottom instead of top). Is there a code to fix this or do I have to create a css file for each. If so, what type of code is needed to tell the page to read the css file that is needed depending on which brower is used by the user.

2. I have two landing pages and want to use both to determine which one is better by the amount of people that view it. To determine this I want to have one page open when the user clicks the link and then the next time a user clicks the link the second landing page will open. Basically I want each of the two pages to open up 50 percent of the time. How do I do this.

Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Naesar is offline Offline
2 posts
since Sep 2010
Sep 5th, 2010
0
Re: Landing Page Issues
There is a way in javascript to identify what browser your user is using and may load a different css for it. But that's not a good idea. That's a lot of work and basically it would consume much space in your storage. So what you must do is to try to test your codes in different browsers while doing the development of your site so that you are pretty sure that your codes are standard. Friendster website doesn't use different css file for a particular browser. And I too doesn't use different styles for a particular browser, I make sure that my codes work in all browsers.

Thanks,
- lambing
Reputation Points: 10
Solved Threads: 5
Light Poster
lambing is offline Offline
30 posts
since Feb 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: page completely loaded
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: QUERY: This simple program not working, Plz Help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC