Results 1 to 4 of 4

Thread: Change the css file loaded after the resolution

  1. #1
    Join Date
    Apr 2009
    Posts
    36

    Change the css file loaded after the resolution

    hi,
    I would like to modify the css file loaded after the resolution of the visitor.
    I already found her:
    Code:
    	  if ((screen. width> = 1900) & & (screen. height> = 1200)) 
      ( 
    
      )
    My problem is that I can not implement the html (<link href=""/>) between the brackets.

    Thank you in advance

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: Change the css file loaded after the resolution

    HTML
    Code:
    <link href= "ton/style/par/defaut.css" rel= "stylesheet" id= "style" />
    JavaScript
    Code:
     document. getElementById ( 'style'). href = 'path / to / stylsheet.css';

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Re: Change the css file loaded after the resolution

    Thank you very much!
    That is to change the size of certain images. the JS disabled make any less harmonious but not dramatic.
    I will see if the precise size is recovered each time.
    thank you again.

  4. #4
    Join Date
    Dec 2008
    Posts
    177

    Re: Change the css file loaded after the resolution

    My problem is that I can not implement the html (<link href=""/>) between the brackets.
    You can put a width and height as a% to your images ...

Similar Threads

  1. File\i386\biosinfo.inf could not be loaded
    By Vineeta in forum Operating Systems
    Replies: 3
    Last Post: 17-08-2009, 02:17 PM
  2. Replies: 3
    Last Post: 06-08-2009, 09:34 AM
  3. Screen Resolution Won't Change
    By Doran in forum Windows XP Support
    Replies: 1
    Last Post: 07-04-2009, 06:56 AM
  4. Replies: 10
    Last Post: 09-01-2008, 08:28 PM
  5. Replies: 1
    Last Post: 06-11-2005, 12:37 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,546,239.12990 seconds with 16 queries