Thread: Cgi.pm and CSS

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    1
    Rep Power
    0

    Cgi.pm and CSS


    I am using CGI Perl on Windows and trying the following code

    print start_html(-title=>'Secrets of the Pyramids',
    -author=>'fred@capricorn.org',
    -base=>'true',
    -target=>'_blank',
    -style=>{'src'=>'/css/bootstrap.min.css'},


    Problem : it is not getting linked to the .css file. I have already tried changing the syntax of path but it did not work.

    Any kind of help will be appreciated.

    Thank you !!!!
  2. #2
  3. !~ /m$/
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    May 2004
    Location
    Reno, NV
    Posts
    4,261
    Rep Power
    1810
    Try with the key as -src rather than 'src'

IMN logo majestic logo threadwatch logo seochat tools logo