We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Formatting Problem & Sire Review


OTT_Buzzard

Likes # 0

I've been working on a website (not my normal thing to do!) and am basically happy with it, apart from one intermittent problem.

When the page (thecellar-bar.co.uk/wine) is generated, 9 times out of 10 it comes up and is displayed fine. But every few refreshes, the formatting is chucked out. As far as I can work out it is only a problem in Internet Explorer. Chrome and Firefox don't seem to be an issue.

Does anyone have any ideas what could be causing this? The page is generated from a table in a mySQL database.

Also, if anyone wants to share some brutal criticisms about the site, that's all good! There are a couple of picture isues on a couple of pages (images haven't been resized) which I'll fix in due course.

click here

Like this post
OTT_Buzzard

Likes # 0

Constructive feedback as always!

Thanks for the link - i wasn't aware such a facility existed. I'll start ploghing through the code and make the relevant corrections.

For a first effort at a website from scratch and 'only' 23 errors....on one page....i've got a lot to learn!

Like this post
OTT_Buzzard

Likes # 0

ploghing = ploughing

Like this post
OTT_Buzzard

Likes # 0

The 'Wine' page now validates through the W3C markup validation service, however the formatting issue is still there. Any thoughts appreciated.

Although the validation service reported back well over 1000 errors on the page, in reality there were actually only about 20 - a single piece of code loops through.

Like this post
Ansolan

Likes # 0

Just lost a more detailed reply again (I forgot to copy log in again and paste)

In brief, there are a number of inline style tags in that page:

<td style='vertical-align:text-top; rowspan=3'>

Likely to cause problems and no guarantee but try:

<td rowspan=3 style='vertical-align:text-top;>

As for the site, agree this isn't ideal for visitors and neither is the look/layout.

There are plenty of reputable sites that offer free XHTML/CSS templates. Should look better, eliminate layout issues and allow you to use a more efficient free WYSIWYG editor that creates more rational code.

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

5 reasons not to wait for the Apple Watch: Why you shouldn't buy the iWatch

IDG UK Sites

Why local multiplayer gaming is rapidly vanishing: we look at the demise of split-screen and LAN...

IDG UK Sites

How Emotional Debt is damaging digital design

IDG UK Sites

How to update your iPhone or iPad to iOS 8: including how to install iOS 8 if you don't have room