• 0

Strange Layout?


Question

Good Morning People,

I have a problem that has been troubling me the last couple of days and I was wondering if you can help me. Our schools website is www.weydonschool.surrey.sch.uk .

It was recently updated to include our new school results (new page added) but since then the layout of the site has gone all wrong - it's as though the CSS file is not being rendered properly. See below.

post-59651-1219913732_thumb.jpg

However, if you force refresh the page with CTRL + F5 it displays fine! I've cleared the cache and all IE settings and I have stopped and restarted the webserver but it's still doing it. This also happens in FF. Here is how the site should look:

post-59651-1219913815_thumb.jpg

If anyone has any suggestions I would be really greatful.

Thank you,

Edited by minkcar
Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/
Share on other sites

Recommended Posts

  • 0

Install IE8 Beta 2 and you'll see a button at the top that forces "compatibility mode" that website (like Neowin) is not fully compatible with IE8, see the news story and my paragraph on Neowins troubles with IE8 b2 here: https://www.neowin.net/news/main/08/08/28/m...se-ie8-beta-2-2

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589708896
Share on other sites

  • 0
Install IE8 Beta 2 and you'll see a button at the top that forces "compatibility mode" that website (like Neowin) is not fully compatible with IE8, see the news story and my paragraph on Neowins troubles with IE8 b2 here: https://www.neowin.net/news/main/08/08/28/m...se-ie8-beta-2-2

But this is IE7 still, I have not installed the IE8 beta.

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589708902
Share on other sites

  • 0

Yea I know it's written pretty poorly, it had to be put up quickly, but the point it it was rendering completly fine up until a few days ago and now it doesn't render until you refresh the page for some reason. It's as if the css file isn't being read the first time around but the link to it is in there.

Yea it went wrong after a link was added into the latest news part on the left hand side.

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589708944
Share on other sites

  • 0

your css seems to be missing bits and has random sections as well

body

{

background-image: url(Images/Global_Images/BG_Gradient.jpg);

background-color: #630063;

background-position: top;

background-repeat: repeat-x;

margin-top: 0px;

}

.logo

{

position: absolute;

top: 30px;

width: 355px;

left: 30px;

}

ol

{

list-style-image: url(Images/Global_Images/Latest_News.png);

vertical-align: middle;

margin-left: 17px;

}

ul

{

list-style-image: url(Images/Global_Images/Small_Arrow.png);

vertical-align: top;

}

WTF IS THIS FOR?

li

{

pad

ENDING BRACKET

li

{

padding: 3px 0px 5px 15px;

text-align: left;

}

STARTING BRACKET and NAME

width: 70%;

height: 100%;

margin-left: auto;

margin-right: auto;

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

background-color: White;

background-image: url(Images/Global_Images/Container_BG.png);

background-position: top right;

background-repeat: no-repeat;

padding: 200px 30px 30px 30px;

min-width: 600px;

max-width: 750px;

position: relative;

overflow: hidden;

}

.normaltext

{

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

}

.menuitem

{

padding: 10px 0px 10px 10px;

border-bottom: 1px solid #640064;

width: 30%;

text-transform: uppercase;

font-family: Tahoma, Arial;

color: Black;

font-size: 15px;

position: relative;

text-decoration: none;

cursor: default;

}

.menuitem:hover

{

padding: 10px 0px 10px 10px;

border-bottom: 1px solid #640064;

width: 30%;

text-transform: uppercase;

font-size: 15px;

position: relative;

text-decoration: none;

cursor: default;

background-image: url(Images/Global_Images/Menu_Item_BG_1.png);

}

#ParentInfo

{

font-family: Arial, Helvetica, sans-serif;

font-size: 24px;

background: #FFF;

color: #52004A;

width: 350px;

height: 230px;

position: absolute;

top: -1px;

left: 100%;

visibility: hidden;

border: 5px solid #52004A;

}

#StudentInfo

{

font-family: Arial, Helvetica, sans-serif;

font-size: 24px;

background: #FFF;

color: #52004A;

width: 310px;

height: 90px;

position: absolute;

top: -1px;

left: 100%;

visibility: hidden;

border: 5px solid #52004A;

}

#AboutWeydon

{

font-family: Arial, Helvetica, sans-serif;

font-size: 24px;

background: #FFF;

color: #52004A;

width: 280px;

height: 90px;

position: absolute;

top: -1px;

left: 100%;

visibility: hidden;

border: 5px solid #52004A;

}

#Media

{

font-family: Arial, Helvetica, sans-serif;

font-size: 24px;

background: #FFF;

color: #52004A;

width: 80px;

height: 70px;

position: absolute;

top: -1px;

left: 100%;

visibility: hidden;

border: 5px solid #52004A;

}

.maincontent

{

width: 67%;

height: auto;

margin-top: 25px;

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

float: right;

}

WTF THIS ONE ISN'T NEEDED

.maincontent2

{

wid

ENDING BRACKET

.maincontent2

{

width: 66%;

height: auto;

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

float: right;

text-align: justify;

}

NAME + STARTING BRACKET

%;

height: auto;

margin-top: 25px;

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

}

.addcontent

{

width: 30%;

height: auto;

margin-top: 25px;

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

}

.mainheading

{

color: #00573C;

font-size: 25px;

margin-bottom: 10px;

letter-spacing: 2px;

}

.footer

{

width: 70%;

margin-left: auto;

margin-right: auto;

font-family: Tahoma, Arial;

font-size: 13px;

color: Black;

border-top: 1px solid #640064;

background-color: #FFFFFF;

padding: 20px 30px 20px 30px;

min-width: 600px;

max-width: 750px;

}

a

{

color: #00573C;

text-decoration: none;

}

a:hover

{

color: #00573C;

text-decoration: none;

}

a:visited

{

color: #00573C;

text-decoration: none;

}

img

{

border-width: 0px;

}

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589708978
Share on other sites

  • 0

You have the header section in there 3 times, lmao. :D

Yea i know its a complete mess we are in the process of cleaning it up, but it still does not explain why it renders wrong, but then displays fine when you CTRL + F5 the page.

The reason for it is purely academic, you still need to fix that mess.

Here's a good starting point:

http://validator.w3.org/check?verbose=1&am...urrey.sch.uk%2F

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589709066
Share on other sites

  • 0
Yea i know its a complete mess we are in the process of cleaning it up, but it still does not explain why it renders wrong, but then displays fine when you CTRL + F5 the page.
Because your code is incorrect (and missing in some cases)

And under any circumstances a business/school/company should not let anyone access a non-working website and "because people need to access it" is no excuse.

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589709248
Share on other sites

  • 0

BUT IT WAS WORKING, thats what you dont understand, and it works fine if you refresh the page, it just doesnt when you initally load it and thats what i dont understand. how can it not render ok but then render fine when you refresh it? its as though the CSS file isnt being read correctly the first time to position everything correctly.

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589709588
Share on other sites

  • 0
BUT IT WAS WORKING, thats what you dont understand, and it works fine if you refresh the page, it just doesnt when you initally load it and thats what i dont understand. how can it not render ok but then render fine when you refresh it? its as though the CSS file isnt being read correctly the first time to position everything correctly.

what are you talking about... i'm using firefox and even if i do a complete refresh, it looks the same.

please understand, the ONLY way for the page to look correct the first time, you need to clean up the mess/errors found in the css file. instead of wondering why it used to work, you should wonder how to make it work again. dwelling in the past solves nothing.

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589709874
Share on other sites

  • 0
BUT IT WAS WORKING, thats what you dont understand, and it works fine if you refresh the page, it just doesnt when you initally load it and thats what i dont understand. how can it not render ok but then render fine when you refresh it? its as though the CSS file isnt being read correctly the first time to position everything correctly.

It is a mystery :iiam: lmao

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589710972
Share on other sites

  • 0
BUT IT WAS WORKING, thats what you dont understand, and it works fine if you refresh the page, it just doesnt when you initally load it and thats what i dont understand. how can it not render ok but then render fine when you refresh it? its as though the CSS file isnt being read correctly the first time to position everything correctly.

I've tried in multipul browsers and has never worked properly, even with forced refreshes.

Link to comment
https://www.neowin.net/forum/topic/662676-strange-layout/#findComment-589712026
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • PDF4QT 1.6.0.0 by Razvan Serea PDF4QT is a free and open-source application created to provide a complete solution for working with PDF documents in a simple, flexible, and effective way. It offers all the essential tools you need to handle your files: you can view PDFs with smooth navigation, edit content, annotate pages, and highlight key sections for better collaboration. It also allows you to compare two versions of a document, making it easy to spot changes. Built-in security features give you control over protecting sensitive information and managing access. Applications PDF4QT Viewer Profi: Advanced PDF browsing with encryption, digital signature verification, annotation editing, regex text search, page-to-image conversion, and plugin support. PDF4QT Viewer Lite: Lightweight viewer with essential, user-friendly PDF viewing functions. PDF4QT DocPage Organizer: Merge, split, move, clone, or add pages easily with an intuitive interface. PDF4QT DocDiff: Compare two PDFs, highlight differences page-to-page, and export results to XML. Key Features Multithreading Support for faster PDF processing Hardware Accelerated Rendering for smooth, high-quality display Encryption to secure documents Color Management to preserve accurate color profiles Optional Content Handling to control visibility of content Text Layout Analysis for better text extraction and editing Signature Validation for verifying digital signatures Annotations and Form Filling for interactivity Text-to-Speech Conversion to listen to PDFs Advanced Annotation Tools (images, text, etc.) File Attachments Management to view and save attachments Optimization to reduce file size without losing quality Command Line Tool for automation Audio Book Conversion from PDFs Internal Structure Inspector to explore PDF structure Compare Documents to detect differences Redaction to remove sensitive information Document Signing for digital authentication PDF4QT 1.6.0.0 release notes: PDF4QT 1.6.0.0 brings a major image compression and optimization update, especially for PageMaster and assembled output documents. Image compression is now integrated into the assembly/export workflow, backed by new optimizer infrastructure, UI controls, feedback fixes, and tests. This should make PageMaster much more useful for producing smaller output PDFs directly from assembled or reorganized documents. The release also contains a large PageMaster refresh with improved drag and drop, recent files, crop pages, save/restore functionality, rotation and size indicators, a reworked icon set, and faster output preview rendering. Viewer and Editor workflows were improved with wildcard Advanced Find, Enter-to-search behavior, better outline keyboard selection, startup settings, fullscreen support, side-to-side scrolling, smoother scrolling, text selection, snapping, and expanded annotation controls. Compatibility and platform behavior were improved as well, including fixes for embedded files, fonts, checkboxes, invisible text, menu colors, highlights, XMP metadata, Windows color management, AppImage packaging, MSIX generation, installer behavior, translations, and newer compiler/Qt warnings. The commit history also includes a new scan-and-edit plugin foundation and color management performance work. Changelog: Highlights Image compression for PageMaster / DocPage Organizer and assembled output documents (#92) Major PageMaster UX refresh, including drag and drop, recent files, crop pages, save/restore, icons, and output preview performance (#383, #18) Improved image optimization feedback, including final resolution and DPI updates (#384) Better Viewer and Editor navigation: fullscreen, side-to-side scrolling, smoother scrolling, text selection, snapping, and outline keyboard selection (#242, #368, #136, #321, #250, #373) Advanced Find wildcard mode and Enter-to-search behavior (#379, #378) PDF compatibility fixes for embedded files, fonts, checkboxes, invisible text, form content suppression, and Windows color management (#225, #356, #256, #230, #326, #224, #385, #388) Startup settings, custom settings directory support, Linux double-click viewer separation, and packaging/build fixes (#382, #380, #381) Scan-and-edit plugin foundation and broader translation updates from the 1.6.0.0 development cycle Resolved Issues Issue #389: Adding hyperlink to internal object in PDF Issue #388: Update Windows color management system Issue #385: PDFTextLayoutGenerator::isContentKindSuppressed(ContentKind kind) is missing ContentKind::Form Issue #384: In the "Optimize Images" dialog, the info on the final image resolution and final DPI does not update Issue #383: UX improvements for PDF4QT PageMaster tool (v1.5.3.1) (ex. DocPage Organizer) Issue #382: Startup Settings Issue #381: Separated apps for double-click viewer in Linux Issue #380: Ability to run app with custom settings directory - executable parameter with path Issue #379: Advanced Find - Wildcard Mode Issue #378: Advanced Find - Should start searching if Enter key is pressed Issue #376: Deleting a note jumps to Outline Issue #375: Not enough maximum compiled page cache Issue #373: Ctrl/Shift keyboard selection for Outline Issue #372: Option to not color images Issue #370: Extracting pages within a range Issue #369: Keeping redact box on Issue #368: Side-to-side scrolling Issue #357: Bulk delete/add/edit of page labels Issue #356: Compatibility issues - font problems Issue #354: Color blend mode for highlights Issue #352: Icon size of the sidebar Issue #349: Add inherit zoom to bookmark zoom options Issue #338: Editor toolbox higher than editor window Issue #334: Impossible to set French language Issue #326: Checkboxes don't render in PDF4QT Issue #324: Menu text not rendered with correct color Issue #321: Select text in Viewer Issue #291: Support for editing XMP metadata or exporting to PDF/UA format Issue #282: Editor outline view: always zooms to around 50% Issue #256: PDF4QT cannot show some specific fonts correctly Issue #253: Undo/redo doesn't work in "edit page content" mode Issue #250: Snapping Issue #242: Full screen Issue #234: Setting font, font size and area of text annotations Issue #230: Garbled characters when opening PDF files with PDF4QT Issue #225: PDF4QT cannot open PDF files with embedded files Issue #224: Option to remove invisible text Issue #194: Change page size Issue #160: Color | Custom (green/black) does not work Issue #136: Smooth scrolling of document with mouse middle wheel - flywheel Issue #92: Add image compression to PDF DocPage Organizer Issue #18: Performance optimization - OutputPreview Renderer Download: PDF4QT 1.6.0.0 | Portable | ~30.0 MB (Open Source) Download: PDF4QT MSIX | 29.4 MB Links: PDF4QT Home Page | PDF4QT @GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Same here or that Opera Max was not a thing anymore. Nothing lost... Who the hell would be considering Opera or Samsung when needing a VPN? LOL
    • If you go to the game developer website you can see that indeed Cyril Paciullo is the game director and developer https://www.pluralys.ca/about-us/ and when clicking on his name it lists Messenger Plus! as part of his CV. In case you wondered what happened to Patchou
    • A difficult position to be in. Either they cater to us users or they cater to news curators to potentially increase traffic. Personally, I wasn't being sarcastic. Hosting a website isn't free, so without traffic this site stops existing, and if you want traffic you have to play the game. I legitimately thought the title was good. Not because I like it, but because it's the kind of title people will click on. This site needs that.
    • Wtf happened to Barron Trump!  
  • Recent Achievements

    • Veteran
      branfont went up a rank
      Veteran
    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      472
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      120
    4. 4
      Steven P.
      85
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!