6 replies [Last post]
tantrwm
Offline
newbie
Last seen: 13 years 26 weeks ago
Joined: 2007-03-28
Posts: 4
Points: 0

Hello,

I have discovered a strange problem with one of my CSS layouts - and for some reason only on some pages not all.

Thing is when it's offline i tested it in all my browsers, and it worked fine. As soon as i put it online, the layout messes up in the same browsers. Does anyone have the foggiest what could cause this?

I know which element is causing the problem - it's a spacer div that gives my page some extra height in a column layout - i basically have to move it from inside one other div to outside of it, to switch between the working online layout and working offline layout Tongue But what's super weird, is that when it is inside (and doesn't work online) other pages on the site with the exact same layout - down to the very last detail (checked and quintruple checked) - work absolutely fine without any change!!

I'm not in a hurry to solve this, - as for the time being i just have an online version and an offline one, but i can't figure it out at all! Anyone experienced similar problem or have any idea why going online would make a difference?

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 1 year 46 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Put the page up as a

Put the page up as a temporary page so we can see it and provide screenshots as to what and where it is going wrong.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 37 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

No code , No link Please

No code , No link :shrug:

Please supply something for us to help you with (as per the posting guidelines)

However this isn't a CSS problem as such, but we may be able to help.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Desdinova
Desdinova's picture
Offline
Enthusiast
Last seen: 7 years 41 weeks ago
Timezone: GMT+1
Joined: 2006-03-28
Posts: 341
Points: 4

try reuploading the files.

try reuploading the files. maybe something got damaged. happened to me. I once lost 20kb of stylesheet Sad

As a rule, I never touch anything more sophisticated and delicate than myself

tantrwm
Offline
newbie
Last seen: 13 years 26 weeks ago
Joined: 2007-03-28
Posts: 4
Points: 0

site's already online

site's already online www.oncommonground.co.uk, have attached a couple of screenshots of it viewed through web dev extension in firefox also. Grifscreenshot is a page that works both online and offline and which i've never had any problems with, the div has always been here - inside. The evalscreenshot is the evaluation page where i had to move the div to outside of the submenu to make it work online - but offline is absolutely fine if inside...

It's the evaluation pages where the problem occurs. My submenu div is relatively positioned and stretches the height of the page but it's only on a few where the text has been longer than the menu that i've actually included this div. When the layout messes up - i have no screenshot of this at the mo sorry - the text goes behind the footer and you can see with web dev that no matter how long my submenu is that also goes behind the footer. I have a common stylesheet for the whole site, and the layout and order of the html is exactly the same... i've been crawling through the cod looking for open tags and whatnot, but maybe it needs fresh eyes Smile

AttachmentSize
evalscreenshot.jpg 120.63 KB
grifscreenshot.jpg 106.85 KB
tantrwm
Offline
newbie
Last seen: 13 years 26 weeks ago
Joined: 2007-03-28
Posts: 4
Points: 0

sorry, wasn't expecting

sorry, wasn't expecting replies so soon, link is up as is some screenshots.

desdinova, i don't think i've lost my stylesheet because all the pages are using the same one but it's only a few that are not working, and i've uploaded and reuploaded the pages a few times to test the differences - happens everytime that the page screws up when the div is moved inside my submenu div.

tantrwm
Offline
newbie
Last seen: 13 years 26 weeks ago
Joined: 2007-03-28
Posts: 4
Points: 0

false alarm, found the hole

false alarm, found the hole in my code - in a completely other div that was missing a : in it's dimensions... and all of a sudden it works...