Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xhtml help. site only looks proper after refresh

Status
Not open for further replies.

thedommer

Programmer
Jan 5, 2007
8
CA
Hi,

Im working on a site right now. and in IE everything is slightly shifted until I refresh then it looks fine.. This makes no sense to me. I had this problem with another site before and simply gave up. Im fairly new to xhtml and css so I could have missed something. any help would be great!

this is the page:
 
I don't know what to say but your page looks severely mangled in FF and all versions of IE that I could get my hands on -- reloading the content or not. I think you will have to rework the whole thing to make it behave the way it should. I would suggest making it look ok in FF and then following with the rest.
 
I forgot to mention that the part "missing" background isnt really missing it. I havent finished that part yet. or the wierd bottom thing that sits wrong. Im just worried about hte refresh error in firefox.

thanks for your reply though!
 
hmm. I think i may have solved it. no idea how though.

to continue this thread I do have one other question. Could some one look at my coding and tell me if im doing anything redundant and stupid? if it is proper xhtml?

Thanks so much. Im a designer at heart. not a coder and I always struggle with code. Your help is greatily appreciated.

dommer
 
Check with one of the standard validators - you may be surprised to find 153 errors:

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
wow. I never knew those programs existed. thanks so much! I'm going to fix it all up nice!

dom
 
I would:

1. Fix validation errors.
2. Get rid of the table.
3. Replace the <br /> elements by putting text in paragraphs.

That seems a good way to start...
 
I agree!

The thing is. I dont know how to get rid of the table....
can I center a div with a forced width? and then put those other divs inside? I couldnt figure out how to do that so I just left the one table.
 
To center a div with fixed width (all styles should be in a separate stylesheet eventually):
Code:
<div style="width: 100px; margin: 0 auto; background: red; height: 100px;"></div>
Height and background added for visual effect.
 
awesome. thanks so much! If I get it done today Ill post the final. youve been a great help
 

ok so I fixed most of the errors except for a few alt tags and a flash tag. no idea how to code that one "properly".

Now im having this annoying dilemma where some parts of the page are shifting in firefox. I think I'm doing everything right. any ideas?

Thanks again!
 
alright!!! I got it. I just kept messing around. Thanks alot once again for all your help.

dom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top