www.webdeveloper.com
Results 1 to 4 of 4

Thread: Website has weird bug after I edited some html

  1. #1
    Join Date
    Oct 2013
    Posts
    3

    Website has weird bug after I edited some html

    I'm hoping someone could help me with this. This is the site: http://hotwokscoolsushi.com/

    I was trying to replace one pdf with another on my website, and ended up not going through with it and reverting all the changes. Or so I thought. I'm pretty sure I ended up not changing any code, but now when I go on my website, it stays normal for a few moments, with a black background, and then suddenly it changes to white and the page shifts to the left. Can any tell me what's wrong with it?

    http://hotwokscoolsushi.com/

  2. #2
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,208
    Didn't notice problem in Fx, but might correct following:

    CSS [Ignore any properly formed CSS3 rules if flagged]

    HTML

  3. #3
    Join Date
    Oct 2013
    Location
    Utah
    Posts
    13
    Works fine for me also on Chrome.

  4. #4
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,325
    Unless this is a piece of shameless advertising, your PDF that you want to change...

    This
    HTML Code:
    <td width="369" align="right" valign="top"><a href="Hot-Woks-Cool-Sushi-catering-menu-2013.pdf"><img src="images/featured/hot-woks-catering.jpg" alt="a cultural evolution of taste" width="369" height="413" /></a></td>
    the element you need to alter is simple.

    HTML Code:
    <a href="Hot-Woks-Cool-Sushi-catering-menu-2013.pdf">
    which should according to the W3C have at the minimum the title element as well.

    HTML Code:
    <a href="Hot-Woks-Cool-Sushi-catering-menu-2013.pdf" title="Our Hot Woks Cool Sushi Menu">
    and that helps your users with accessibility devices.

    To get the item to download...
    HTML Code:
    <a href="Hot-Woks-Cool-Sushi-catering-menu-2013.pdf" title="Our Hot Woks Cool Sushi Menu" target="self">
    If you have updated your menu called "Hot-Woks-Cool-Sushi-catering-menu-2013.pdf" then your new menu must be in the same folder as the page that loads, so if this in the site root, the new PDF has to be in the site root. you only need to change the href information to point to the new file.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles