This content has been marked as final.
Show 15 replies
-
1. Re: Blank index page
samismynickname Oct 9, 2008 8:09 AM (in response to Stuart Haiz)i dont know what is causing the issue, but i know how i would solve it.
copy the page and create a new one.
start with the basics of the page and gradually add code in pieces. this way you can figure out what section of your code is causing the issue. -
2. Re: Blank index page
Stuart Haiz Oct 9, 2008 8:16 AM (in response to Stuart Haiz)Good idea - thanks. I'll give that a go. -
3. Re: Blank index page
Newsgroup_User Oct 9, 2008 9:21 AM (in response to Stuart Haiz)On Thu, 9 Oct 2008 14:48:19 +0000 (UTC), "Siriunson"
<webforumsuser@macromedia.com> wrote:
> This happens erratically on all browsers & I don't seem to be able to find the
>solution. My doc type is OK so I would appreciate an expert eye.
You have 28 opening <div> tags (why so many?) and 29 closing </div>
tags. I would guess that could be confusing browsers.
Gary -
4. Re: Blank index page
Stuart Haiz Oct 9, 2008 9:56 AM (in response to Stuart Haiz)Thank you Gary - I'll look into that. I have a lot of <divs> because I have a lot of nested elements such as my buttons.
The idea was that I have built them hoping to be able to swap stylesheets at a later date so the page can be customized on the fly... -
5. Re: Blank index page
Newsgroup_User Oct 9, 2008 10:26 AM (in response to Stuart Haiz)On Thu, 9 Oct 2008 16:56:23 +0000 (UTC), "Siriunson"
<webforumsuser@macromedia.com> wrote:
>Thank you Gary - I'll look into that. I have a lot of <divs> because I have a
>lot of nested elements such as my buttons.
>
> The idea was that I have built them hoping to be able to swap stylesheets at a
>later date so the page can be customized on the fly...
It just looks like what we commonly refer to as <div> soup. Putting
each button inside a separate <div> tag just doesn't make sense. Using
something with some semantic meaning is usually more productive.
Good luck!
Gary -
6. Re: Blank index page
Stuart Haiz Oct 9, 2008 11:56 AM (in response to Stuart Haiz)Fair enough! Without asking for you to rebuild my page, can you give me any pointers to tutorials or best practices that would help me avoid the div-fest.
At the moment, I'm using a basic header, side-bar, main content & footer arrangement (in a wrapper), with some nesting for buttons etc.
Back to my original query, if I enter the site at another point I don't get the blank page issue, even though the structure is essentially the same. -
7. Re: Blank index page
Newsgroup_User Oct 9, 2008 3:42 PM (in response to Stuart Haiz)On Thu, 9 Oct 2008 18:56:42 +0000 (UTC), "Siriunson"
<webforumsuser@macromedia.com> wrote:
>Fair enough! Without asking for you to rebuild my page, can you give me any
>pointers to tutorials or best practices that would help me avoid the div-fest.
>
> At the moment, I'm using a basic header, side-bar, main content & footer
>arrangement (in a wrapper), with some nesting for buttons etc.
How about something like changing the <div> soup nav bar from 10 <div>
tags to a simple <ul>?
> Back to my original query, if I enter the site at another point I don't get
>the blank page issue, even though the structure is essentially the same.
Did you find and remove the extra closing </div>?
Gary -
8. Re: Blank index page
Newsgroup_User Oct 9, 2008 3:59 PM (in response to Stuart Haiz)
"Gary White" <reply@newsgroup.please> wrote in message
news:rqbse45ue8q46vdcshsbq174cj01b44ekm@4ax.com...
> You have 28 opening <div> tags ...
Okay, but thank God, at least there aren't any tables. :-) I sometimes
use as many as 1 of them on a page.
--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--
-
9. Re: Blank index page
Newsgroup_User Oct 9, 2008 4:22 PM (in response to Stuart Haiz)> Did you find and remove the extra closing </div>?
Yet another reason to avoid <div> soup. When a page has that many divs
tracing down a missing open or close tag can be painful.
--
Walt
"Gary White" <reply@newsgroup.please> wrote in message
news:g12te4heqhk1sttorghne257u83jcg89rl@4ax.com...
> On Thu, 9 Oct 2008 18:56:42 +0000 (UTC), "Siriunson"
> <webforumsuser@macromedia.com> wrote:
>
>>Fair enough! Without asking for you to rebuild my page, can you give me
>>any
>>pointers to tutorials or best practices that would help me avoid the
>>div-fest.
>>
>> At the moment, I'm using a basic header, side-bar, main content & footer
>>arrangement (in a wrapper), with some nesting for buttons etc.
>
> How about something like changing the <div> soup nav bar from 10 <div>
> tags to a simple <ul>?
>
>
>> Back to my original query, if I enter the site at another point I don't
>> get
>>the blank page issue, even though the structure is essentially the same.
>
> Did you find and remove the extra closing </div>?
>
> Gary
-
10. Re: Blank index page
Stuart Haiz Oct 10, 2008 5:14 AM (in response to Stuart Haiz)I found an entire <div> that I didn't need! Didn't find the extra closing div though. I used the parent tag selector in code view but still couldn't see the extra one. I think my problem was due to a script in my Flash movie. Have gone over to using FLVPlayback component instead of NetConnection & it seems to be OK.
The Spry Accordion added 7 extra <div>s, plus my nested buttons all added up to a bigger collection than originally intended. I'm on clean-up mode now - maybe I'll find the missing <div>.
Thanks for all the help. -
11. Re: Blank index page
Stuart Haiz Oct 10, 2008 5:18 AM (in response to Stuart Haiz)Gary
> How about something like changing the <div> soup nav bar from 10 <div>
tags to a simple <ul>
Good thinking. I may have to reslice my header buttons as some may be a pixel different due to my Photoshop slicing. -
12. Re: Blank index page
Newsgroup_User Oct 10, 2008 5:35 AM (in response to Stuart Haiz)On Thu, 9 Oct 2008 18:58:13 -0400, "P@tty Ayers ~ACE"
<signup1REMOVE@ayersvirtualREMOVE.com> wrote:
>
>"Gary White" <reply@newsgroup.please> wrote in message
>news:rqbse45ue8q46vdcshsbq174cj01b44ekm@4ax.com...
>
>> You have 28 opening <div> tags ...
>
>Okay, but thank God, at least there aren't any tables. :-) I sometimes
>use as many as 1 of them on a page.
<LOL> And there are also no <font> tags!
Gary -
13. Re: Blank index page
Newsgroup_User Oct 10, 2008 5:36 AM (in response to Stuart Haiz)On Thu, 9 Oct 2008 16:22:55 -0700, "Walt F. Schaefer"
<walt@waltswebworx.com> wrote:
>> Did you find and remove the extra closing </div>?
>Yet another reason to avoid <div> soup. When a page has that many divs
>tracing down a missing open or close tag can be painful.
Exactly. I started to look for where the extra might be, but there
were just too many to even begin to find it.
Gary -
14. Re: Blank index page
Stuart Haiz Oct 10, 2008 6:17 AM (in response to Stuart Haiz)This is where the embarrassed smiley is needed... -
15. Re: Blank index page
Newsgroup_User Oct 10, 2008 8:16 AM (in response to Stuart Haiz)On Fri, 10 Oct 2008 12:18:16 +0000 (UTC), "Siriunson"
<webforumsuser@macromedia.com> wrote:
>Gary
>
> > How about something like changing the <div> soup nav bar from 10 <div>
> tags to a simple
>
> Good thinking. I may have to reslice my header buttons as some may be a pixel
>different due to my Photoshop slicing.
Good luck!
Gary


