Jul 24, 2008

Firefox Script Problem

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Firefox Script Problem

sinmin
Why Firefox can't scripting on below script:-

CODE
<center><a href='http://www.yahoo.com'>Yahoo!</a></center>


If correct, the webpage should run "Yahoo!" at the center.

When I using Internet Explorer, it run correctly, but when I using Firefox, the "Yahoo!" will go to the left side. Who know this, please explain to me and show me the introdution to make "Yahoo!" to center by using Firefox and Internet Explorer browser.

Reply

jlhaslip
This should be in the HTML sub-forum. Ill move it.
Works fine for me in IE, NN7, Mozilla 1.7.3, and Opera 8.5.

The link shows up on the top line centred on the display.

Reply

Tyssen
Do this instead:

CODE
<p style="text-align: center;"><a href="http://www.yahoo.com">Yahoo!</a></p>

Reply

Albus Dumbledore
the best you can do is try what Tyssen said, but i use that code all the time and it works fine for me, unless you have it typed differently in the file but correct on ehre >_< a link to the site might help..next time laugh.gif

Reply

sinmin
Thank you. But it seem same. Is there any solution or the problem is on my computer?

Reply

Inspiron
There might be some plugins in your Firefox browser that is causing this.. Everyone knows that the script will definately put Yahoo.com in the middle of the page, so it can't be the script error. Tyssen has provided a CSS type alternative but the HTML code from yours should work as well.

You may like to reinstall your version of Firefox, or go find out which plugin is causing this matter and remove them.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. firefox scriptek - 10.39 hr back. (2)
  2. firefox script problems - 23.41 hr back. (1)
  3. script problem firefox - 36.70 hr back. (1)
  4. firefox fromelement.contains - 89.26 hr back. (1)
  5. run explorer script on firefox - 106.85 hr back. (1)
  6. firefox scripting - 119.15 hr back. (1)
  7. firefox script - 18.07 hr back. (5)
Similar Topics

Keywords : firefox script

  1. Help With Website Layout Correction For All Browsers - Page gets larger on Firefox 2 (4)
  2. Help Aligning My Site Into The Centre In Firefox - site aligns to the centre in ie but not in firefox (5)
    I'm developing a new layout and so far, in my opinion, everything's going fine except for
    one thing. That's the way in which the whole layout is aligned. In IE6, the entire thing aligns
    beautifully in the centre whereas in firefox, it aligns leftwards. To get around this so far I'm
    using this java script: CODE   <script type="text/javascript">      if
    (screen.width > 880 && navigator.appName !== "Microsoft Internet
    Explorer")  {        window.resizeTo(880,window.screen.availHeight);     }
      </...
  3. In Need For A Rotating Ad Banner Script - (5)
    Im looking for a rotaing ad banner script. any omne here have one.. that will work with just simple
    html coding. ...
  4. Anti-hotlink Script ..... - (4)
    Does anyone know if/where I can get a free script for tracking direct/hot linkers? ..... so I can
    leave a "theft" graphic in place of the image they've hot linked .... ...
  5. Looping Script - (1)
    I'm making a script for making images animate while a link is "OnMouseOver". I've made 20
    images for the anim. The reason for not just making an gifanim and replacing the still
    image(original image) is that when the mouse leaves the link it should stop in the middle of tha
    anim and begin from the place it sstopped at the next time the link is "OnMouseOver" ...
  6. Anchor Tag Compliance Issue? - Firefox is tiny, IE and Opera okay (5)
    I have a string of anchor tags arranged as a menu bar horizontally on a page. Pretty basic stuff is
    included in the css to give some colour and rollover colour change. The page links have been in
    place in the Html code and all are tested and confirmed accurate. This topic has to do with the
    browser only,( I think). I mention this in case there might be concerns about the anchor tags being
    correctly coded. Yes, they are good. So I modified the css to get it looking the way I thought was
    correct for the page in terms of placement, Background colour, rollover effect, etc....
  7. Highlight Tables On Mouseover - Example Script (3)
    Heare is a good trick: Copy and paste the code below, into the of your html document: CODE
    <script> function changeto(highlightcolor){ source=event.srcElement if
    (source.tagName=="TR"||source.tagName=="TABLE") return
    while(source.tagName!="TD") source=source.parentElement if
    (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
    source.style.backgroundColor=highlightcolor } function changeback(originalcolor){ if
    (event.fromElement.contains(event.toEleme...



Looking for firefox, script, problem

Searching Video's for firefox, script, problem
advertisement



Firefox Script Problem



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE