This content has been marked as final. Show 11 replies
On Mon, 6 Aug 2007 19:36:44 +0000 (UTC), "~Billy~"
>I have a Div on my site for content, at the moment there are two lines of plain
>text inside it. When I click Refresh in IE7 the div vanishes. If I have another
>Tab open in IE7 and click to view that, then click back to my page the Div
There are a few problems with the page. First, you seem to be
over-engineering it. Why so many <div> tags? You have 25 opening <div>
tags and 27 closing </div> tags. That cannot be right. You need to
figure out which two are the extras and remove them. Personally, I'd try
to simplify it considerably.
You also have some mixed html and xhtml. Change this:
<link rel="shortcut icon" href="/images/favicon.ico" />
<link rel="shortcut icon" href="/images/favicon.ico">
<br style="clear: both;" />
<br style="clear: both;">
You have a style sheet link inside the body of the page:
<link href="/Templates/main_site_template_css.css" rel="stylesheet"
That duplicates a link that is properly located in the head of the
document. Delete the above link.
On a side note, it appears that you have your style sheet located inside
your Templates folder. That will cause you problems later on with things
not updating correctly. You should move it out of the Templates folder.
The ONLY thing that should be located in the Templates folder are the
actual .dwt template files.
Hi thanks for those tips and advice, I will make the changes you have mentioned tomorrow and let you know how they went.
I dont see where the style sheet css file is located inside the body tag however, It is in the opening Head tag.
I have created the site using divs, so to get the positionings I want I guess that is why there is so many div tags. I have used some as "wrappers" around other divs. I have remove a couple of them, if u can spot any more let me know!
On Mon, 6 Aug 2007 20:56:50 +0000 (UTC), "~Billy~"
>Hi thanks for those tips and advise, I will make the changes you have
>mentioned tomorrow and let you know how they went. Excellent tips!
You're welcome. Hope it helps.
Ive made the changes you suggested but the div is still dissapearing and its wrapper div is appearing, but there is a break, then it re-appears. BlueDiv, HiddenDiv and ContentDiv.
I have everything positioned as I want, just have this issue with these divs.
hey billy. its jack
The page has been passed as This Page Is Valid HTML 4.01 Transitional!
And I do not know who Jack is :s
On Thu, 9 Aug 2007 15:45:01 +0000 (UTC), "franticnomad"
>try running your page through the w3c validator to see if you get any helpful error messages...
better go straight to w3 site:
On Thu, 9 Aug 2007 15:40:52 +0000 (UTC), "~Billy~"
>Ive made the changes you suggested but the div is still dissapearing and its
>wrapper div is appearing, but there is a break, then it re-appears. BlueDiv,
>HiddenDiv and ContentDiv.
You still have a couple of errors in your CSS:
border 1px solid;
border: 2px solid #BBB;
Note that you have no color specified for the border property.
Note the typo psdding should be padding.
Ive sorted it.
On Thu, 9 Aug 2007 21:46:59 +0000 (UTC), "~Billy~"
> Is anyone else seeing it in IE7? I have checked it on two computers and both
>are having the same problem.
No IE7 on this machine.