Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Tumblr ruins my html


  • Please log in to reply
1 reply to this topic

#1 maimee

maimee

  • Members
  • 29 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Birmingham
  • Local time:04:37 AM

Posted 24 June 2011 - 06:21 AM

Basically, I created a webpage using css divs and when I load the page in Internet Explorer it works fine, but when I load the page in Tumblr, all the divs are seemingly placed randomly.

Does anyone know how to fix this?

EDIT: It looks like it's Chrome doing it, not Tumblr. Does anyone know why?

Edited by maimee, 24 June 2011 - 06:21 AM.


BC AdBot (Login to Remove)

 


#2 petewills

petewills

  • Members
  • 1,377 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Birmingham, UK
  • Local time:04:37 AM

Posted 24 June 2011 - 10:42 AM

Post your code for the affected page. Someone here may be able to tell you where improvements need to be made (if any).

It's a nuisance, but not unknown for pages to display in one browser and not in another and there never seems to be one simple answer.
----------------------------------------------------------------------
Through Google:

"First, you may have incorrect HTML or CSS syntax. Browsers vary in their ability to guess what you meant, and different browsers recover differently from syntax errors.

Second, you may have valid HTML and CSS that different browsers interpret differently. For example, the CSS specifications allow conforming browsers to ignore certain properties and property values. Also, it is not clear from the specifications what should be done with a string of   characters. Some browsers will collapse them for rendering as a single space; others will render one space per  .

Third, your server may be sending incorrect MIME types for some of your files. Internet Explorer incorrectly ignores server-provided MIME types, so it sometimes "does the right thing" when the server is misconfigured. Other browsers correctly heed the server-provided MIME types, so they will reveal server misconfigurations. This includes external style sheets, which should be sent as "text/css".

Fourth, you may have encountered a browser bug. For example, many common browsers handle CSS better when HTML documents include optional closing tags like </p>, </li>, and </td>.

Another possibility is different user option settings in the browsers. "
--------------------------------------------------------------------------------

Validators and Checkers - take your pick.

May be worth a look:

W3C CSS Validation Service
A free, easy-to-use CSS checker.

http://www.htmlhelp.com/links/validators.htm




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users