Browsers Shifting Elements -- Ugh!

This is a discussion on "Browsers Shifting Elements -- Ugh!" within the Web Page Design section. This forum, and the thread "Browsers Shifting Elements -- Ugh! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 22nd, 2006, 01:55
New Member
Join Date: Sep 2006
Location: Missouri
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Browsers Shifting Elements -- Ugh!

Alright -- attempting to put together this page for my business partner and I'm having some problems.

www.dedaananwarmbloods.com/Joie/SavanaPed.html

Anytime a "favorites" menu is opened, all of my JS elements shift off the table. If it is closed, they shift back. I am assuming that this is going to happen with browsers/monitors that are smaller than my own (and lemmie tell ya, I thought 17" was pretty standard these days!!)

It seems to be only the things that I have in an actual element. The straight HTML graphics / text are not shifting out of proportion.

I can't figure if this is a full-page problem, an element problem, or a table problem.

Can anyone recommend a fix, please?

Thanks!
Reply With Quote

  #2 (permalink)  
Old Sep 22nd, 2006, 01:58
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers Shifting Elements -- Ugh!

Yikes! The code on this page is a nightmare. Why do you have all of that absolute positioning? It's hard to say what's wrong with such muddled HTML.
Reply With Quote
  #3 (permalink)  
Old Sep 22nd, 2006, 02:09
New Member
Join Date: Sep 2006
Location: Missouri
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers Shifting Elements -- Ugh!

That's a particularly positive way to help troubleshoot.

The code is that way because it makes sense to ME. However, I am MORE than willing to listen to some constructive, helpful remarks to make it more easy to navigate through and get to the bottom of whether shifting elements is an element-based, table-based, or page-based issue.
Reply With Quote
  #4 (permalink)  
Old Sep 22nd, 2006, 02:10
New Member
Join Date: Sep 2006
Location: Missouri
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers Shifting Elements -- Ugh!

Apologies for smarting off in response. However, that was particularly offensive and not exactly conducive to encouraging new designers to modify their techniques and learn more effective, condensed, ways of coding.
Reply With Quote
  #5 (permalink)  
Old Sep 22nd, 2006, 02:45
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Browsers Shifting Elements -- Ugh!

Er, sorry. I didn't really mean it to be rude, but it's just not very neat and tidy HTML.

Here's a few things you should do with the page in general terms:
  • Add doctype to the page.
  • You've got inline CSS strewn about through your pages. Take it an put it all in an external file. Take this: style="position: absolute; top: 434px; left: 239px; width: 118px; height: 195px; z-index: 15" id="element41" and make it just this id="element41". Then make a CSS file with this in it:
    Code: Select all
    #element41 {
        position: absolute;
        top: 434px;
        left: 239px;
        width: 118px;
        height: 195px;
        z-index: 15
    }
  • The <font> tag has been depreciated. Use <p> with CSS styling. This <font face="Arial, Helvetica, sans-serif" class="size10" color="#2F4F4F"> becomes this:
    Code: Select all
    p {
        color: #2f4f4f;
        font-family: arial,helvetica,sans-serif;
        font-size: 1em;
    }
    All text wrapped in <p> tags would then be in arial with a font size of 1 em in that color.
  • This is a poor method of alignment when used so many times: <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
  • On a more extreme note, a solid XHTML and CSS driven website would allow you to drop the tables and run a more accessible website.

There are several more things, but take care of these and you'll be on your way.
Reply With Quote
Reply

Tags
browsers, shifting, elements, ugh

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New elements in HTML 5 dcpweb Webforumz Cafe 1 Aug 9th, 2007 22:02
IE6 page shifting down the screen konnor5092 Web Page Design 7 Aug 2nd, 2007 12:01
help - shifting div tags! redspiral Web Page Design 5 May 3rd, 2006 11:45
PHP XML Counting Elements Don Logan PHP Forum 1 Mar 18th, 2006 03:03
Selecting certain XML elements fogofogo Other Programming Languages 3 Dec 5th, 2005 12:49


All times are GMT. The time now is 18:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43