• 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

    • qBittorrent 5.2.2 by Razvan Serea The qBittorrent project aims to provide a Free Software alternative to µtorrent. qBittorrent is an advanced and multi-platform BitTorrent client with a nice user interface as well as a Web UI for remote control and an integrated search engine. qBittorrent aims to meet the needs of most users while using as little CPU and memory as possible. qBittorrent is a truly Open Source project, and as such, anyone can and should contribute to it. qBittorrent features: Polished µTorrent-like User Interface Well-integrated and extensible Search Engine Simultaneous search in most famous BitTorrent search sites Per-category-specific search requests (e.g. Books, Music, Movies) All Bittorrent extensions DHT, Peer Exchange, Full encryption, Magnet/BitComet URIs, ... Remote control through a Web user interface Nearly identical to the regular UI, all in Ajax Advanced control over trackers, peers and torrents Torrents queueing and prioritizing Torrent content selection and prioritizing UPnP / NAT-PMP port forwarding support Available in ~25 languages (Unicode support) Torrent creation tool Advanced RSS support with download filters (inc. regex) Bandwidth scheduler IP Filtering (eMule and PeerGuardian compatible) IPv6 compliant Available on most platforms: Linux, Mac OS X, Windows, OS/2, FreeBSD qBittorrent 5.2.2 changelog: FEATURE: Use D-Bus to show file in file managers (Chocobo1) #24340 BUGFIX: Fix friendlyUnitCompact precision calculation (vafada) #24323 BUGFIX: Remove all top-level folders (glassez) #24333 BUGFIX: Use proper API for checking exit status (Chocobo1) #24349 BUGFIX: Delete stale lockfile when hostname mismatch (TurboTheTurtle, glassez) #24363 BUGFIX: Fix wrong removal procedure of watched folder paths (Chocobo1) #24413 BUGFIX: Don't reannounce before interface changes are applied (glassez) #24447 BUGFIX: Use Latin script for Bosnian locale name (Andy Ye) #24342 WEBUI: Fix performance of global checkbox toggling (tehcneko) #24316 WEBUI: Fix Safari transfer list header misalignment (Piccirello) #24377 WEBUI: Fix error when submitting magnet before metadata loads (Piccirello) #24378 WEBUI: Use correct row id when updating Rss Downloader feed selection (Chocobo1) #24402 WEBUI: Use SameSite=Lax for session cookie to fix cross-site login (Piccirello) #24422 WEBUI: Bring back properties panel expand/collapse button (vafada) #24430 WEBAPI: Only use X-Forwarded-Host header when reverse proxy support is enabled (Chocobo1) #24457 RSSS: Fix "RSS Smart Episode Filter" RegEx (nathanon-akk, glassez) #24398 RSS: Fix previously matched episode format (glassez) #24452 WINDOWS: Fix Python fallback search path (TurboTheTurtle) #24325 WINDOWS: NSIS: Allow to install x64 binary on ARM64 (Chocobo1) #24358 Download: qBittorrent 5.2.2 | 41.1 MB (Open Source) Download: qBittorrent 64-bit installer (qt6) | 43.3 MB Links: qBittorrent Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Weechat. https://weechat.org/
    • they should stop making bad games that no one asked for
    • Nice rant! Expletive after expletive after expletive. Poor petal, I've touched a nerve. Would you like a tissue to wipe those tears away. Btw, nice one calling Neowin trash. Why would you stick around when you disrespect this site and the people behind it? Just go away if you feel that way.
  • 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
      482
    2. 2
      +Edouard
      183
    3. 3
      PsYcHoKiLLa
      123
    4. 4
      Steven P.
      87
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!